Home › forums › Using CanvasJS › Hide AxisY
This topic contains 1 reply, has 2 voices, and was last updated by Indranil Deo 8 months, 1 week ago.
I got a chart with 2 Y axis. It looks like the 2nd sample on this page: https://canvasjs.com/docs/charts/chart-options/axisy/ the one labeled Multiple Y axis.
I would like to hide the second Y axis with title “Axis Y 2 Title”. I only want it to hide not remove it. I can set a blank title but the tick marks are still there. Is it possible?
Edit: Looks like I ask to soon. I found the answer already
I set it to something like this
return " ";
Setting the lineThickness and tickThickness to 0 will work fine in your case. Please take a look at this jsfiddle.
You must be logged in to reply to this topic.