Markers in WPF Sparkline (SfSparkline)

7 May 20211 minute to read

Markers are used to indicate the value point for line and area series, and we can customize with different template.

<Syncfusion:SfLineSparkline 

		    ItemsSource="{Binding UsersList}" 

			MarkerVisibility="Visible"

		    YBindingPath="NoOfUsers">

</Syncfusion:SfLineSparkline >
SfLineSparkline sparkline = new SfLineSparkline()
{

	ItemsSource = new SparkViewModel().UsersList,

	YBindingPath = "NoOfUsers",

	MarkerVisibility = Visibility.Visible

};

Following is the snapshot for markers,

Markers_img1