Page 1 of 1

How to fix grid width by inches or pixels

Posted: Sat Nov 16, 2013 7:42 am
by 16566869
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.

Re: How to fix grid width by inches or pixels

Posted: Mon Nov 18, 2013 8:31 am
by narcis
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.

Re: How to fix grid width by inches or pixels

Posted: Mon Nov 18, 2013 9:56 am
by 16566869
Hello NarcĂ­s,

I meant that how to fix the grid width without changing Increment
when TChart resized.

Re: How to fix grid width by inches or pixels

Posted: Mon Nov 18, 2013 10:42 am
by narcis
Hi elmec,

Use custom labels instead then. You'll find an example at All Features\Welcome!\Axes\Labels\Custom Labels in the features demo.