Defines the label and display properties of the chart axis Title. The title is the caption that describes what the axis' value labels mean, e.g., 'Temperature (C)' is a title for an axis that has values running from 0 to 100
Namespace: FMX.RS.ChartPanel
Delphi
|
published
property Title: TRSChartLabel read FTitle write SetTitle;
|
Property Value
Type: TRSChartLabel
The following code sets up an axis for a temperature:
Delphi
|
begin
RSChartPanel1.BottomAxis.Title.Text := 'Temperature (C)';
RSChartPanel1.BottomAxis.Minimum := 0;
RSChartPanel1.BottomAxis.Maximum := 100;
RSChartPanel1.BottomAxis.MinStepIncrement := 5;
RSChartPanel1.BottomAxis.Format := '##.00 C';
RSChartPanel1.BottomAxis.LabelStyle := alsValue;
RSChartPanel1.BottomAxis.Options := [axShowLabels, axShowGrid, axShowTitle];
end;
|
|