Why don't labels for my opposite yaxis appear in Highcharts?

I am puzzled why the second yaxis in my Highcharts chart shows, but without any meaning. Both of my two graphs are still attached to the first yaks. It is impossible to get one of them attributed to the second yaks. Here is the fiddle .

Thanks for any tips!

+4
source share
1 answer

Chart options are case sensitive. You specified "yaxis" when it should be "yAxis". It took me a while to notice!

series: [{ yAxis: 1, data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4] },{ yAxis: 0, data: [19.9, 21.5, 6.4, 29.2, 44.0, 76.0, 35.6, 48.5, 16.4, 94.1, 95.6, 54.4] }] 
+4
source

All Articles