Smart Labels

This sample illustrates the Rio Olympic’s gold medal count by using smart labels in the chart. The smart label placement for a series can be shown, when it contains more of points.

More Details...


In this example, you can see how to arrange the labels smartly without overlapping with each other. You can use enableSmartLabels property to enable or disable the action. Legend with paging is enabled in this sample.

Injecting Module

Accumulation chart component features are segregated into individual feature-wise modules. To use AccumulationDataLabel, we need to inject AccumulationDataLabel into services.