Skip to content
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
Closed

Incorrect assignment in data table for donut charts #8494

emichalsky opened this issue Jun 18, 2018 · 3 comments
Assignees
Labels

Comments

@emichalsky
Copy link

@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
Copy link
Contributor

@sebastianbochan sebastianbochan commented Jun 19, 2018

Hi @emichalsky,
Thank you reporting.

@oysteinmoseng any comments?

@TorsteinHonsi
Copy link
Collaborator

@TorsteinHonsi 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
Copy link
Author

@emichalsky 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.