How to fix the grid width by inches or pixels, not the numbers of points?
So when the Tchart resized, the grid width will be kept fixed.
How to fix grid width by inches or pixels
How to fix grid width by inches or pixels
- Attachments
-
- Grid Width by Pixels.png (67.16 KiB) Viewed 5770 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: How to fix grid width by inches or pixels
Hi elmec,
You could calculate the axis range (Maximum minus Minimum) and then divide it for the number of grid lines you'd like to get and set Increment property accordingly.
You could calculate the axis range (Maximum minus Minimum) and then divide it for the number of grid lines you'd like to get and set Increment property accordingly.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: How to fix grid width by inches or pixels
Hello Narcís,
I meant that how to fix the grid width without changing Increment
when TChart resized.
I meant that how to fix the grid width without changing Increment
when TChart resized.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: How to fix grid width by inches or pixels
Hi elmec,
Use custom labels instead then. You'll find an example at All Features\Welcome!\Axes\Labels\Custom Labels in the features demo.
Use custom labels instead then. You'll find an example at All Features\Welcome!\Axes\Labels\Custom Labels in the features demo.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |