Hide Comments
Hide Comments

Comments (0)

Sspecifies the format of the chart values when the axis represents floating point values. If the axis represents date time values, the  DateTimeFormat property specifies the format of the chart values. The two format properties are used by the FormatValue method to return the proper string representation of a chart value. Use the IsDateTime method to determine if the axis is displaying date time values.

Namespace: FMX.RS.ChartPanel

expandingSyntax

Delphi

published
  property Format: String read FFormat write SetFormat;
 

Property Value

Type: String

expandingExamples

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;

expandingSee Also

Comments (0)

RiverSoftAVG Charting Component Suite (RCCS) © 2005-2015, Thomas G. Grubb