how to make a combo chart with left and right y axis and only one x axis

melbertsim31
New Altair Community Member
I have put a data set , a filter,a decision tree , apply model and performance operator in our design. but we want to make a combo chart that displays the result.
Tagged:
0
Answers
-
Hi @melbertsim31, one way you could approach this is to use the Results tab. You'll find on some plot styles, you will have the option to 'Add new plot' on the left hand side to create a Plot 2. You'll also find further down the option to expand 'Y-Axis', and create new axes. I'd set y1 to be your left hand axis, and create a y2 for your right y-axis, with the option 'Opposite' turned on in the Axis style to achieve this. You can then change your Linked Y-Axis on Plot 2 to be y2. If you need any screenshots to visualise this, please do let me know.0