Version 20.1 (latest)

Axis Titles

In this topic

This topic contains the following sections:

Property Settings

You can customize the look and feel of the category chart’s x-axis and y-axis titles in many different ways such as applying different font styles, margins, and alignment. This can be achieved through the following properties:

Property Name Property Type Description

string

Determines the text to be used for the x-axis and y-axis title

enumeration

Determines the horizontal alignment of the x-axis title and the vertical alignment of the y-axis title

double

Determines the angle rotation for the x-axis and y-axis titles

double

Determines the margin to be applied around the x-axis or y-axis title

Determines the color for the x-axis or y-axis title

FontAttributes

Determines the font styles to be applied to the x-axis or y-axis title

string

Determines the font family for the x-axis or y-axis title

double

Determines the font size for the x-axis or y-axis title

Code Snippet

The following code example shows how to customize the titles on the x-axis and y-axis:

Code Snippet

The following code example shows how to customize the titles on the x-axis and y-axis:

In XAML:

<ig:XamCategoryChart x:Name="chart1"
                     XAxisTitleFontSize="16"
                     XAxisTitleMargin="14"
                     XAxisTitle="Country"
                     XAxisTitleTextColor="Blue"
                     XAxisTitleFontAttributes="Italic"
                     YAxisTitleFontSize="12"
                     YAxisTitle="Millions of People"
                     YAxisTitleAngle="90"
                     YAxisTitleTextColor="Red">
</ig:XamCategoryChart>
categorychart configuring axis title 01.png

Related Content:

Topic Purpose

This article explains how to bind data to the Category Chart control.

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