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

Percentage stacked area with negative values is incorrect #2197

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

Percentage stacked area with negative values is incorrect #2197

TorsteinHonsi opened this issue Aug 28, 2013 · 2 comments

Comments

@TorsteinHonsi
Copy link
Collaborator

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

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
Copy link
Collaborator Author

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
Projects
None yet
Development

No branches or pull requests

2 participants