Tinku Saini
Tinku Saini

Reputation: 460

High chart not showing accurate percentage for two curves?

I am using line chart from high charts collection having two series to show information. These list are having integer value.I am using

spline: { stacking:'percent'}

to show graph in 0% to 100%. I have a problem that i am not able to show accurate percentage for both series using this function.Only one series show data according to percentage.Other curve is always at 100%. I have created a jsfiddle for this issue :- http://jsfiddle.net/9Yjc4/ Any suggesion would be appreciable.

Upvotes: 2

Views: 76

Answers (1)

Paweł Fus
Paweł Fus

Reputation: 45079

I think you want to use compare: 'percent', not stacking. See: http://jsfiddle.net/9Yjc4/1/

Note: Highstock is required for comparing.

Upvotes: 1

Related Questions