Syncfusion AI Assistant

How can I help you?

Highlight Segment in WPF Sparkline (SfSparkline)

4 May 20261 minute to read

This feature enable to highlight the column segments on mouse move and this is applicable for column and win-loss sparkline.

<Syncfusion:SfColumnSparkline
    HighlightSegment="True"
    ItemsSource="{Binding UsersList}"
    YBindingPath="NoOfUsers">
</Syncfusion:SfColumnSparkline>
SfColumnSparkline sparkline = new SfColumnSparkline()
{
    ItemsSource = new SparkViewModel().UsersList,
    YBindingPath = "NoOfUsers",
    HighlightSegment = true
};

The following is a snapshot of the highlight segment.

Highlight-Segment_img1