chartjs-plugin-trendline icon indicating copy to clipboard operation
chartjs-plugin-trendline copied to clipboard

Line jumps when toggling dataset

Open Elschnuppero opened this issue 5 years ago • 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

Elschnuppero avatar Dec 31 '19 11:12 Elschnuppero

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

Makanz avatar Nov 04 '20 21:11 Makanz