A title object used by the chart and chart axes to display a android.widget.TextView with appropriate text.
The look and feel of titles on the chart is managed by instances of the
TitleStyle; the look and feel of the chart title is
MainTitleStyle and the look and feel of axis titles is
TitleStyle contains the common
styling properties of all titles.
By default, the chart title is displayed above 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
setPosition(Title.Position) method. This
allows you to specify the position of the title relative to the chart.
MainTitleStyle also offers you some methods to fine-tune the title
appearance. These are:
setCentersOn(Title.CentersOn): Allows you to specify whether the title centers on the full chart view, the plot area, or the canvas.
setOverlapsChart(boolean): Allows you to specify whether the title overlaps with the chart, or whether the chart canvas makes room for it.
AxisTitleStylealso allows you to specify the orientation of the axis title to be either horizontal or vertical via the
|Title.CentersOn||Determines what the title is centered on.|
|Title.Orientation||Determines the orientation of the title is positioned, horizontal or vertical.|
|Title.Position||Determines where the title is positioned, relative to the chart or axis.|