0π
β
In the first code, the option name is wrong. You are using yAxisId
but the correct one is yAxisID
(as in the second sample), id must be uppercase
Source:stackexchange.com