Data Markers in ASP.NET MVC Chart Component

18 Nov 20181 minute to read

Data markers are used to provide information about the data points in the series. You can add a shape to adorn each data point.

Marker

Markers can be added to points by enabling the Visible option of the marker property. By default, distinct markers will be enabled for each series in the chart.

Shape

Markers can be assigned with different shapes such as Rectangle, Circle, Diamond etc using the Shape property.

NOTE

To know more about the marker shape type refer the Shape.

Images

Apart from the shapes, you can also add custom images to mark the data point using the ImageUrl property.

Customization

Marker’s color and border can be customized using Fill and Border properties.

Customizing specific point

You can also customize the specific marker and label using PointRender event. The PointRender event allows you to change the shape, color and border for a point.

Fill marker with series color

Marker can be filled with the series color by setting the IsFilled property to true.