title: Add Y-Axis dynamically Chartjs
body: <p>I am trying to add a secondary dataset to a line chart that I have. I am easily able to add the data entries however how can I dynamically add a second scale on the right of the chart?</p>
  
  <p>To add data I do: </p>
  
  <pre><code>function addDataset(){
      var dataset =  {
          label: response[0].yaxis,
          data: response.data,
          backgroundColor: color,
          borderColor: color,
          fill: false,
          borderWidth: 5
      }
  
      mychart.data.datasets.push(dataset); 
  }
  </code></pre>
  
  <p>As I said, this works for adding the actual data points, but how can I dynamically add a second Y-Axis on the right side?</p>