You must be logged in to post your query.
Home › Forums › Chart Support › Index Labels in Range Area Charts
Hi.
In the Range Area Chart, is it possible to hide the IndexLabel at the bottom of the display like in this JSFiddle?
supplement:
I want to hide the “test” at the bottom.
@kinokatsu,
To display indexLabel only for specific index value (in your case 1), you can check the index of the indexLabel in indexLabelFormatter function and display the same. Please take a look at the code snippet below.
indexLabelFormatter: function ( e ) { if(e.index === 1 && e.dataPoint.dataPointLabel) return e.dataPoint.dataPointLabel; else return " "; }
Also, take a look at this JSFiddle for complete code.
—- Manoj Mohan Team CanvasJS
Hi Manoj Mohan.
thanks for your reply. Thank you for JSFiddle sample.
Great!
This is what I wanted to do.
You must be logged in to reply to this topic. Login/Register