New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling `setData` on a chart with `xAxis.type = category` strips dataLabels from chart #5768

Closed
hjnilsson opened this Issue Oct 3, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@hjnilsson

hjnilsson commented Oct 3, 2016

Expected behaviour

Calling setData on a series with a data array with more points than earlier should update the series with more points and still display the category labels.

Actual behaviour

The category labels are removed and replaced with the index of the series.

Live demo with steps to reproduce

http://jsfiddle.net/fu6xabxw/

Click the button, the dataLabels will change to the index of the point rather than the name of the point.

This broke in 4.2.7, Highcharts 4.2.6 behavior here: http://jsfiddle.net/fu6xabxw/1/

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Oct 3, 2016

Collaborator

Thanks for reporting! Related to #5720.

Collaborator

TorsteinHonsi commented Oct 3, 2016

Thanks for reporting! Related to #5720.

@hjnilsson

This comment has been minimized.

Show comment
Hide comment
@hjnilsson

hjnilsson Oct 4, 2016

Excellent, when is the next version scheduled to be released?

hjnilsson commented Oct 4, 2016

Excellent, when is the next version scheduled to be released?

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Oct 5, 2016

Collaborator

It will probably be out within a week or two.

Collaborator

TorsteinHonsi commented Oct 5, 2016

It will probably be out within a week or two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment