How to have one common Y-axis for two values in xy chart?

Hello,

I have a dataset being returned from a database query. The first value is the X-axis and the second and third axis are Y values. How to make the Y-axis common?

Thanks in advance

  • Make sure you have a y-axis defined and that the name is defined. e.g.
    props.yAxes.0.name : temperature
  • Make the following settings:
series.0.yAxis : temperature
series.1.yAxis : temperature
series.2.yAxis : temperature

Give each series a name as well for good documentation.