As you can see the xAxis is the same on both data and what changes are the yAxis.
Here is my code:
Code: Select all
chart = Highcharts.stockChart('container', {
rangeSelector: {
selected: 1
},
credits: {
enabled: false
},
yAxis: [{
title: {
text: 'First yAxis'
}
},
{
title: {
text: 'Second yAxis'
},
opposite: false
}
],
series: [{
name: 'One',
color: 'green',
data: data
},
{
name: 'Two',
color: 'red',
data: data2,
yAxis: 1
}
]
});
As you can see in the image below, the yAxis on both right and left side are correct from my data but the chart don't appear! If I stay with only one series it works but not with more than one.
Can someone help me? Thanks in advance!