Defines the style of the chart axes' labels, e.g., whether the labels are numeric or FMX.RS.ChartPanel.TRSChartValue
Captions.
Namespace: FMX.RS.ChartPanel
Delphi
|
published
property LabelStyle: TAxisLabelStyle read FLabelStyle write SetLabelStyle default alsAutomatic;
|
Property Value
Type: TAxisLabelStyle
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;
|