Makanz/chartjs-plugin-trendline

Line jumps when toggling dataset

Closed this issue · 1 comments

First of all thank you for the amazing plugin :)

But i have an issue: i have a graph with multiple datasets and only the first dataset uses the trendline. All others are hidden at the beginning and all works fine.

Screenshot_2019-12-31 Visual Charts

But when i toogle the first dataset and show another one the line jumps. I attached a screen since its hard to explain.

Screenshot_2019-12-31 Visual Charts(1)

Thank you

Sorry for my late reply. Please send me some example code to test with.