Hello!
Currently it does not seem to be possible to set following things for axes labels:
- Custom decimal symbol instead of . or , etc.
- Custom digit grouping instead of the default 3
- Custom digit grouping symbol instead of . or , etc.
So it is not possible to have for example decimal symbol Z and digit grouping symbol X and digit grouping of let's say 5, in which case one million would be shown as following (presuming 2 digits after decimal symbol):
10X00000Z00
If so, then I would like to request this capability to TeeChart. This is possible in other parts of our software, so our customers are asking why the charts do not use the same formatting.
Custom decimal symbol and digit grouping
Re: Custom decimal symbol and digit grouping
Hi,
Please take a look at here to understand how the floats can be formatted in delphi.
In particular, I think that what you are trying to do can be done as follows:
Please take a look at here to understand how the floats can be formatted in delphi.
In particular, I think that what you are trying to do can be done as follows:
Code: Select all
uses series;
procedure TForm1.FormCreate(Sender: TObject);
begin
Chart1.View3D:=false;
with Chart1.AddSeries(TPointSeries) do
begin
Add(500000);
Add(1000000);
Add(2000000);
end;
DecimalSeparator:='Z';
Chart1.Axes.Left.AxisValuesFormat:='#X####0.00';
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |