Hi
I got another strange thing with the AxisValueFormat (and possibly others) not working as expected:
The screen-shot show Delphi with a form ("Auswertung") and the LeftAxis - valus and its "Values Formt:"
On the left there is a little tool (Form2) compiled an running to show some numbers with a certain format mask using Delphis FormatFloat - funktion.
As you can see, there are two totally different results. While the Delphi function seems to work as expected AxisValueFormat does some weird possibly mixing format specifiers and local format settings?
AxisValueFormat not working as expected
Re: AxisValueFormat not working as expected
Hello,
I've prepared a simple example project to reproduce this and it seems to work fine form me here.
Here is how it looks: Could you please modify the project so we can reproduce the problem here? Thanks in advance.
I've prepared a simple example project to reproduce this and it seems to work fine form me here.
Here is how it looks: Could you please modify the project so we can reproduce the problem here? Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: AxisValueFormat not working as expected
Hi,
thats real strange. Your example is working on my side as well, so I just did a copy and paste of my TChart. As it seems mine isn't working while yours continue to behave well...
Maybe you are able to reproduce that on your side too?
thats real strange. Your example is working on my side as well, so I just did a copy and paste of my TChart. As it seems mine isn't working while yours continue to behave well...
Maybe you are able to reproduce that on your side too?
- Attachments
-
- FormatFloat_Steema.7z
- (5.02 KiB) Downloaded 626 times
Re: AxisValueFormat not working as expected
Hello,
I see the new chart in the project but you aren't modifying the axes AxisValuesFormat when the button is clicked.
Adding this it works fine for me here:
I see the new chart in the project but you aren't modifying the axes AxisValuesFormat when the button is clicked.
Adding this it works fine for me here:
Code: Select all
procedure TForm1.Button1Click(Sender: TObject);
//...
MyFilterChart.Axes.Left.AxisValuesFormat:=Edit1.Text;
MyFilterChart.Axes.Bottom.AxisValuesFormat:=Edit1.Text;
MyFilterChart.Repaint;
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |