the scale on the right side is wrong (compared to the y value). Any help is highly appreciated. Thanks in advance!
Code: Select all
var chart = new Highcharts.Chart(
{
chart: {
renderTo: 'container',
defaultSeriesType: 'line'
},
xAxis: {
type: 'datetime'
},
yAxis: [
{ // primary yAxis
},
{ // secondary yAxis
linkedTo: 0,
opposite: true
}
],
plotOptions: {
series: {
dataLabels: {
enabled: true
}
}
},
series: [
{
animation: false,
// data: [{x:1275049200000,y:1},{x:1275563559000,y:51}] // right
data: [{x:1275049200000,y:2},{x:1275563559000,y:51}] // wrong
}
]
}
);