ASP.NET Core MVC Controls | ComponentOne
Working with Controls / FlexChart / Work with FlexChart / Labels
In This Topic
    Labels
    In This Topic

    You can add labels to display the value of each data point by using the DataLabel property. You can even specify the position where you want to display your labels by setting the LabelPosition property.

    The image below shows how labels appear on each data point on the FlexChart.

    The following code example demonstrates how to add labels to the FlexChart. This example uses the sample created in the Quick Start section.

    HTML
    Copy Code
    <c1-flex-chart-datalabel position="LabelPosition.Top" content="{y}"></c1-flex-chart-datalabel>