Home › Forums › Chart Support › Error chart indexLabel › Reply To: Error chart indexLabel
Is it possible to show text near only one whisker and pick near left/right/top/bottom to show?
You can show a specific indexLabel by checking its index parameter within indexLabelFormatter as shown in the code snippet below –
if(e.index === 0)
return e.dataSeries.name + " - " + e.dataPoint.y;
return " ";
In your case, you can use indexLabelPlacement to postion the indexLabel to left or right of whisker but positioning to it to top or bottom is not available as of now.
Please take a look at this JSFiddle for a working example with complete code.
Ideally would be awesome if this text can be shown at the tick side (inside bar if it fits, or outside if not).
Can you please brief us more on the above requirement?
Indranil Singh Deo