You must be logged in to post your query.
Home › Forums › Chart Support › Completely hide y axis for rangeArea series chart
Tagged: hide axis rangeArea
I try to display binary signals with the canvasjs chart in binary strips.
Each binary signal is presented by a rangeArea series. The y axis for each series gets customized to display each strip below the previous one.
I created a jsfiddle to demonstrate the idea
Based on the ideas of this forum topics on this web sites
Hide axis label
I try to hide the Y axis of the series completely. Unfortunately the chart still reserves space for the hidden Y axises.
My question is: Is there an additionally property to set, to prevent the chart to reserve space for the hidden Y axises?
You can prevent the chart to reserve space for the hidden axes by setting negative values to the axis margin as shown in this below code snippet
Also take a look at this updatedJSFiddle for complete code.
Hallo Ranjitha R,
thanks for your tip. The chart looks now very nice.
You must be logged in to reply to this topic. Login/Register