Highlight Segment in WPF Sparkline (SfSparkline)

7 May 20211 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

};

Following is the snapshot for highlight segment,

Highlight-Segment_img1