Syncfusion.SfChart.XForms
Members  Example 
Syncfusion.SfChart.XForms Namespace : ChartDataMarker Class

ChartDataMarker Class

Represents the data markers in chart series. Data markers appearance can be customized using this class.
Object Model
ChartDataMarker ClassConnectorLineStyle ClassDataMarkerLabelStyle Class
Syntax
public class ChartDataMarker : Xamarin.Forms.Element, Xamarin.Forms.IElementController  
Example
SfChart chart = new SfChart();
LineSeries lineSeries = new LineSeries();
lineSeries.DataMarker = new ChartDataMarker();
lineSeries.DataMarker.ShowLabel = true;
lineSeries.DataMarker.LabelStyle.TextColor = Color.Blue;
lineSeries.DataMarker.LabelStyle.BorderColor = Color.Red;
lineSeries.DataMarker.LabelStyle.Margin = 5;
lineSeries.DataMarker.LabelStyle.LabelPosition = DataMarkerLabelPosition.Center;
chart.Series.Add(lineSeries)
Inheritance Hierarchy

System.Object
   Xamarin.Forms.BindableObject
      Xamarin.Forms.Element
         Syncfusion.SfChart.XForms.ChartDataMarker

AssemblyVersion

Syncfusion.SfChart.XForms: 17.2451.0.34

See Also