Thursday 15 September 2011

highcharts - Dual Axis in Highstock? -


Is there a way to create dual axis in the highstock in the highstock?

It seems that you can do it the same as high charts. Each series specifies yAxis: n where n is the axis that you want to plot for it, and you have to define n yAxis entries. I modified an example of the Ghoststock demo:

  $ .getJSON ('http://www.highcharts.com/samples/data/jsonp.php?filename='+name.toLowerCase ( ) {'Label: {formatter: function} () {{Value: 0, width: 2, color: 'silver'}}}, {{value: 0} '' '' ':' ') + this.value +'% ';}}, plot Lines: {contrast: true}, {contrast: true}, {contrast: true}],    

No comments:

Post a Comment