startPoint and showInLegend don't always work well together #7933
Comments
Hi @pulp260 Thank you for reporting this issue. It looks like Workaround: chart.series[0].update({data: data, showInLegend: true, pointStart: chart.series[0].options.pointStart}); Internal note: highcharts/js/parts/Dynamics.js Lines 878 to 882 in de2d28a |
Hi @pawelfus Thank you for your swift answer and the workaround you suggested.
I would expect then to have to pass Anyway, that was just an additional note from my side, which might help you debug. |
Expected behaviour
The data is really displayed starting from pointStart on the x-axis
Actual behaviour
The pointStart set once is ignored and the default (i.e. zero) is applied. The data is actually displayed starting from 0 on the x-axis.
Live demo with steps to reproduce
https://jsfiddle.net/gaddini/Ljtvm4vp/13/
Product version
Highcharts JS v6.0.7 (2018-02-16)
Affected browser(s)
Any
The text was updated successfully, but these errors were encountered: