highstock - how do you draw two yAxis chart in highcharts -
i need build highchart 2 yaxis, 1 on left (primary) , 1 on right(secondar). not able make work. ideas doing wrong here or missing?
here jsfiddle: http://jsfiddle.net/gsaray101/kx4as/2/
i using example highcharts site this:
yaxis: [{ // primary yaxis labels: { format: '{value}ms', style: { color: '#89a54e' } }, title: { text: 'response time', style: { color: '#89a54e' } } }, { // secondary yaxis title: { text: 'volume', style: { color: '#4572a7' } }, labels: { format: '{value}', style: { color: '#4572a7' } }, opposite: true }],
axis 0 based. need (http://jsfiddle.net/zebsh/)
var data = [{ "name": "1", "yaxis": 0, "data": [ [1374019440000, 25],
[1374056640000, 43], [1374056880000, 49] ] }, { "name": "2", "yaxis":1, "data": [ [1374019440000, 33], [1374019740000, 42],
Comments
Post a Comment