How to customize series markers.
Environment
Product | Progress® Telerik® Reporting |
Report Items | Graph |
Description
By default, the Graph's series markers can be set to one of the shapes available in MarkerType property of the series. This article demonstrates how to customize series markers and use a different shape.
Solution
You can display a custom image as a marker. For that, set this image in Graph's Series.DataPointStyle.BackgroundImage property. Depending on the shape and the size of the custom marker, adjust MarkerType and MarkerSize properties of the series.
Custom markers can also be displayed based on a certain condition. For that, set the required condition and the image in Series.DataPointConditionalFormatting property.
Only the marker types that form a closed contour support BackgroundImage. The markers that consist only of lines (i.e. X, Plus, Minus) will not render a background image if set.