SChartTitle Class Reference

Inherits from UILabel
Declared in SChartTitle.h
Availability Standard
Premium
Related samples

Overview

A title object used by the chart and chart axes to display a UILabel with appropriate text.

The look and feel of titles on the chart is managed by instances of one of the sub-classes of SChartTitleStyle. The look and feel of the chart title is managed by SChartMainTitleStyle. The look and feel of axis titles is managed by SChartAxisTitleStyle. SChartTitleStyle contains any common styling properties of all titles.

By default, the chart title is displayed below the chart, and the chart canvas makes room for the title. If you wish to update the position of the title, you can use the [SChartTitleStyle position] property. This allows you to specify the position of the title relative to the chart. SChartMainTitleStyle also offers you some properties to fine-tune the title appearance. These are:

By default, the axes titles are displayed in the center of each axis. If you wish to update the position of the title, you can use the [SChartTitleStyle position] property. SChartAxisTitleStyle also allows you to specify the orientation of the axis title, to be either horizontal or vertical.

Warning: Currently, chart titles are not supported by radial charts.