× Discussions for CodeTyphon Object Pascal Programming Language

Solved Logarithmic scale in TAChart

  • Premysl Beran
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
3 years 4 months ago - 3 years 4 months ago #10590 by Premysl Beran
Logarithmic scale in TAChart was created by Premysl Beran
Hello there,
I just tried to use the logarithmic scale on Y axis for one of my project. In the design-time the setting of the transformation works quite fine. I see the changes on the axis. But when I load the data and then turn on logarithmic scale I get error saying Floating Point Overload.
In attachment you will find simple test with code and also compiled executable.
Thanks for help
With best regards
Premek

File Attachment:

File Name: ChartLogTest.zip
File Size:1,583 KB
Attachments:
Last edit: 3 years 4 months ago by Premysl Beran.

Please Log in or Create an account to join the conversation.

  • Premysl Beran
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
3 years 4 months ago #10591 by Premysl Beran
Replied by Premysl Beran on topic Logarithmic scale in TAChart
My mistake. It was not completely clear to me. Each serie in the chart have to have parameter AxisIndexX and AxisIndexY adjusted (default is -1) when you want to use the transformational. So it works now. B)

Please Log in or Create an account to join the conversation.