<ig:XamCategoryChart ItemsSource="{Binding}" ChartType="Line" MarkerTypes=”Circle Diamond Square” />
Markers are visual elements that are displayed at the values of data points in the XamCategoryChart control’s plot area. Markers help your end-users immediately identify a data point’s value even if the value falls between major or minor grid lines. This section provides you with useful information about working with the XamCategoryChart control’s Markers.
This topic contains the following sections:
The appearance of chart markers is managed through the marker properties of the XamCategoryChart class.
The following table lists all marker appearance properties.
The code snippet below demonstrates how to change the marker type for the XamCategoryChart. In XAML:
<ig:XamCategoryChart ItemsSource="{Binding}" ChartType="Line" MarkerTypes=”Circle Diamond Square” />
The following screenshot displays the XamCategoryChart control using the Line chart type with Diamond markers.
The code snippets below demonstrate how to change the MarkerBrushes and MarkerOutlines for the XamCategoryChart. In XAML:
<ig:XamCategoryChart
MarkerBrushes=”White”
MarkerOutlines=”Red Orange Green”
Brushes=”Red Orange Green”
ChartType="Line">
</ig:XamCategoryChart>
The following screenshot displays the XamCategoryChart control using the Line chart type with customized markers.