Version

Axis Tickmarks

Tick marks display points on the axes. They represent a certain numeric point on a scale or the value of the underlying data item in a category axis.

In this topic

This topic contains the following sections:

Property Settings

In the XamCategoryChart control, you can change the length, thickness, and color of the x-axis and y-axis tickmarks using the following properties:

Property Name Property Type Description

double

Determines the length of the tickmark along the x-axis or y-axis.

Brush

Determines the color of the tickmark along the x-axis or y-axis

double

Determines the thickness of of the tickmark along the x-axis or y-axis

Code Snippet

The following code snippet demonstrates how to set the color, length and thickness of the tickmark on the x-axis.

In XAML:

<ig:XamCategoryChart ItemsSource="{Binding EnergySampleData}"
                     ChartType="Column"
                     XAxisTickLength = "7"
                     XAxisTickStrokeThickness = "2"
                     XAxisTickStroke = "Red"
/>
categorychart configuring axis tickmarks 01.png

Related Content

Topic Purpose

This article will get you up and running with the Category Chart control.

This article describes the available chart types.