Combining Charts with Different Axes in Highcharts

Hello everyone!
based on the example from the demo 17. Adding reference lines and bands I am trying to create a bar chart with multiple categories, but with the line being a percentage axis. How can I make the bar have a nominal axis and the line graph a percentage axis on the same chart?

Hello @lary_andr !

Could you try applying the following to your second y-axis code?

"labels": {
            "formatter": function() {
                return (this.value * 100) + "%"; 
            }
        }

I was able to recreate this using HighCharts visual simulator and it seemed to work:

Let me know if this works for you!

Are the highcharts functions supported? I read the functions, drilldowns are not supported

Hello @duncan thank for your answer but @ramravin is right, highcharts don’t support functions :frowning:

Hey @lary_andr & @lary_andr ,

That’s interesting, I’m surprised I was able to get the Highcharts demo environment to allow it but that the functionality doesn’t transfer to QS.

Hi @lary_andr,
I’ll mark this as a feature request since this would be a nice addition.

Thank you!

1 Like