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

Percentage stacked area with negative values is incorrect #2197

Closed
TorsteinHonsi opened this Issue Aug 28, 2013 · 2 comments

Comments

Projects
None yet
2 participants
@TorsteinHonsi
Collaborator

TorsteinHonsi commented Aug 28, 2013

Demo: http://jsfiddle.net/highcharts/jBpcT/

The negative value should be substracted from the stack rather than added and displayed outside the plot area.

For reference, this is how Excel displays the same data:
2013-08-28_1259

@yulinwang

This comment has been minimized.

yulinwang commented Sep 5, 2013

Two issues remaining for stacked percentage chart after this fix:

  1. Multiple negative values on Area chart will have blank area.
    This is sample: http://jsfiddle.net/LionelWang/m59xj/6/.
  2. Negative values in Column chart are ignored.
    This is sample: http://jsfiddle.net/LionelWang/m59xj/7/
    Could you fix these as well?

Thanks

@TorsteinHonsi

This comment has been minimized.

Collaborator

TorsteinHonsi commented Sep 6, 2013

Reference images for the two cases, from Excel:
image002
image004

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