Defines the set of display and computation options for the chart axis. This property allows you to make the chart axis calculate the
Minimum and
Maximum values automatically, display labels and titles, and other options. Please see RSChartConsts|TAxisOption for more information.
Namespace: RSChartPanel
Delphi
|
published
property Options: TAxisOptions read FOptions write SetOptions;
|
Property Value
Type: TAxisOptions
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;
|
|
Reference
• | RSChartConsts|TAxisOption |
|