Makanz/chartjs-plugin-trendline

Trendline outside of chart area boundary

bfalchuk opened this issue · 3 comments

I'm using latest trendline with scatter chart and also using the chartjs-zoom-pan plugin. While trendline seems to be computed correctly i get anomalous behavior when i drag the chart. The trendline wants to use the white area to the left and right of the chart for drawing itself, but this is not a charting area (scatter dots do not show same behavior).
Capture

Hello, thanks for plugin. Have the same problem

Screenshot 2020-11-26 at 11 45 29

@TheRatG Is it possible for you to send me some example code that I could investigate?

@Makanz sorry for inconvenience, I used to use old version 0.1.0. Latest version works fine.