Access a Point Label Using the API
To access a point label, call the getLabel() method on its series point. This method returns an object whose members are described in the Label section of the API reference. Note that for Range Series, the getLabel() method returns an array of two Label objects.
var series = $("#chartContainer").dxChart("getSeriesByName", "Series 1"); var seriesPoints = series.getAllPoints(); var label = seriesPoints.getLabel();
Once you access a label, you can, for example, hide or show it by calling the hide() or show() method.
label.hide(); // label.show();