Highlight Segment in WPF Sparkline (SfSparkline)

18 Nov 20181 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