[Chartjs]-Chart.js – line chart with two yAxis: "TypeError: yScale is undefined"

21πŸ‘

βœ…

The yAxes should be under a property scales under options, like so

...
options: {
  scales: {
      yAxes: [{
      ..

Fiddle – http://jsfiddle.net/dahd27d7/

Leave a comment