davins90
Posts: 9
Joined: Mon Sep 12, 2016 2:41 pm

Add double y-axis on highcharts cloud

Hello,

I'm quite new on Highcharts Cloud. I would like to know if there is a way for creating a chart with a secondary y - axis.
Thanks to all

i have an advanced account

Daniele
sdo

Re: Add double y-axis on highcharts cloud

Hi. You can add an additional yAxis through custom code.

Code: Select all

Highcharts.extend(options, Highcharts.merge(options, {
    yAxis: [{ 
      opposite:false 
    }, { 
      opposite: true 
    }] // setting two axis
}));

options.series[0].yAxis = 1; // link first series to second axis
Regards
davins90
Posts: 9
Joined: Mon Sep 12, 2016 2:41 pm

Re: Add double y-axis on highcharts cloud

Thanks very much!! extremely helpful :)
patdunne
Posts: 1
Joined: Sun Dec 04, 2016 3:47 am

Re: Add double y-axis on highcharts cloud

Thanks, very helpful. Could you tell me how to change the axes names as well?

Is there a list of other adjustments I can add to the custom code.

thanks
stpoa

Re: Add double y-axis on highcharts cloud

Hi,

You can change your axis title in Customise / Advenced / yAxis / title / text

Example below.

Regards.
Attachments
Screen Shot 2016-12-04 at 12.52.07.png
Screen Shot 2016-12-04 at 12.52.07.png (83.99 KiB) Viewed 2286 times

Return to “Highcharts Cloud”