/
/
DataLabel Template

This sample illustrates datalabel template support in the chart. In this sample, images are placed as datalabel by means of templates.

More Details...

Description

Label content can be formatted by using the template option in dataLabel. Inside the template, you can add the placeholder text ${point.y}M to display corresponding data points value. Injecting Module To use dataLabel, we need to inject dataLabel module using Chart.Inject(dataLabel) method. More information on the Crosshair can be found in this   documentation section.