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

Incorrect assignment in data table for donut charts #8494

Closed
emichalsky opened this Issue Jun 18, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@emichalsky

emichalsky commented Jun 18, 2018

Expected behaviour

Values in the donut data table are correctly assigned to their categories.

Actual behaviour

You can see it in the Fiddle of the donut chart demo https://www.highcharts.com/demo/pie-donut.
Values in the second column ("Browsers") are all shifted to the top, such that the correct assignment gets lost. In order to avoid the misalignment, there should be spaces in the respective table cells of the second column. I tried to illustrate the correct behaviour in contrast to the actual one in a screenshot by colored arrows and boxes:
highchartsincorrectdonutdatatable_large

Live demo with steps to reproduce

https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/demo/pie-donut/

Product version

6.1.0

Affected browser(s)

all

@sebastianbochan sebastianbochan added the Bug label Jun 19, 2018

@sebastianbochan

This comment has been minimized.

Contributor

sebastianbochan commented Jun 19, 2018

Hi @emichalsky,
Thank you reporting.

@oysteinmoseng any comments?

@TorsteinHonsi

This comment has been minimized.

Collaborator

TorsteinHonsi commented Jun 19, 2018

Simplified demo: https://jsfiddle.net/highcharts/edby3r0q/4/

The top-level categories (Animals and Plants) are completely missing from the data export.

@TorsteinHonsi TorsteinHonsi self-assigned this Jun 19, 2018

@emichalsky

This comment has been minimized.

emichalsky commented Jun 19, 2018

Thank you Torstein, this was very fast!

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