If I render a chart where all of its datasets are empty, or if I empty the dataset of a chart already rendered, the chart will bork and no longer allow itself to be modified. This only occurs when trendlineLinear is included in the options. The browser console spits out:
Uncaught TypeError: t.data[0] is undefined
It would be nice if, on such an occasion, the trendline simply didn't render.
If I render a chart where all of its datasets are empty, or if I empty the dataset of a chart already rendered, the chart will bork and no longer allow itself to be modified. This only occurs when
trendlineLinear
is included in the options. The browser console spits out:It would be nice if, on such an occasion, the trendline simply didn't render.