Secondary axis for combo charts in Cloud.Highcharts
In the cloud.highcharts interface, give the user the ability to assign a secondary access to a combo chart. Example: http://www.highcharts.com/demo/combo-multi-axes
As off November 24th of last year, this is supported natively in the cloud through the “Advanced”-pane in the customizer (i.e. custom code is no longer required).
Axis can be added by clicking the plus sign next to them: https://wordpress.highcharts.com/blog/wp-content/uploads/2017/11/15112357/How-to-add-more-Y-or-X-axes.png
After adding an additional axis, go to the series you want to attach to the new axis (also in the “Advanced”-pane), and scroll down to “X Axis”/“Y Axis”. The value here is a number corresponding to the order of appearance of the axis – counting zero. So if you want to attach the series to the first axis, set it to 0, 1 for the second, 2 for the third and so on. (a simpler UI for the axis-to-series assignment stage is coming in the future).
-
Audrey commented
Would someone be able to provide the code for the dual axis here? I don't have permission to view this chart:
-
Bryce commented
Where is the code in the example chart?
-
This is currently doable using custom code, see this chart for an example: https://cloud.highcharts.com/charts/ufitex