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

Sunburst chart - Drill To Node feature is not working properly if parent node values are set explicitly in data #7517

Closed
amruta30 opened this Issue Dec 12, 2017 · 3 comments

Comments

Projects
None yet
4 participants
@amruta30

amruta30 commented Dec 12, 2017

Expected behaviour

Drill to node feature should work correctly, even if the summed values are set explicitly for the parent nodes.

Actual behaviour

Refer following JS Fiddle, that has values present at leaf level nodes only.
JS fiddle: http://jsfiddle.net/amrutaJgtp/wbfvvxc8/2/
Drill to node feature is working correctly. Here, you can observe that the sum of leaf level nodes is seen in series data labels on respective parent nodes.
Example: Click "Europe". Refer attached screenshot1.
screenshot1

However, if we explicitly set the parent values(sum of child nodes - observe the series data labels are same as above), drill to node feature does not work correctly.
JS Fiddle: http://jsfiddle.net/amrutaJgtp/wbfvvxc8/3/
Example: Click "Europe". Refer attached screenshot2.
screenshot2

NOTE: All the data values in both the fiddles are the same.

@pawelfus

This comment has been minimized.

Contributor

pawelfus commented Dec 12, 2017

Hi @amruta30

Thank you for reporting this bug.

FYI @jon-a-nygaard

@pawelfus pawelfus added the Bug label Dec 12, 2017

@arekik

This comment has been minimized.

arekik commented Dec 15, 2017

I havea similar problem when i set the value of the parent i have this chart (chart1) is ok
value1 = value2 + value3 + value4 + value5 (the white value is ok because the sum is not equals to value 1)

chart1:
cap_with_center_value

but when i access to a child element the chart is not correct i don't understand why i have a white space
cap_with_center_value_error_child

value5 = value6 + value 7

When i dont set the value of the parent element value1, i have this chart that dose not represent my data because i must have a white zone because the sum is not equals to value1

cap_without_center_value

But when i click in value5 i have a correct chart

cap_with_center_value_ok_child

@jon-a-nygaard

This comment has been minimized.

Collaborator

jon-a-nygaard commented Dec 21, 2017

A pull request with a fix for this issue has been created at #7566

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