Example of undefined in React Chart Component


This sample illustrates data label template support in charts. Each data label for each point is rendered using the template.

More Details...


The React Charts data label template feature allows you to change the appearance and behavior of the data label for each data point using the Template property in ChartDataLabel.

Injecting Module

Chart component features are segregated into individual feature-wise modules. To use dataLabel, we need to inject DataLabel module into services.

More information on the data label template can be found in this documentation section.