Last value label in ASP.NET Core Chart Control

18 Nov 20181 minute to read

The lastValueLabel in a chart allows you to easily display the value of the last data point in a series. This feature provides an intuitive way to highlight the most recent or last data value in a series on your chart.

Enable Last value label

To show the last value label, make sure the enable property inside the lastValueLabel settings is set to true within the series configuration.

Customization

The appearance of the last value label can be customized using style properties such as font, background, border, dashArray, lineWidth, lineColor, rx, and ry in the lastValueLabel property of the chart series. These settings allow you to tailor the label’s look to align with your desired visual presentation.