How to set length of axis in pixels?
Posted: Wed Jul 09, 2008 1:02 pm
Hello,
what's the right way to set the length or height of an axis in pixels by code?
In my case I've the following situation:
The chart axis should appear in a fixed relation of length. For example when the bottom axis (X) has a length of 500px the left axis (Y) should have a ratio of 0.5 that is a length of 250px. When I change the chart width and the X-axis has now a length of 300px the Y-axis should be set to a length of 150px by code.
Thanks for your help.
Best regards
what's the right way to set the length or height of an axis in pixels by code?
In my case I've the following situation:
The chart axis should appear in a fixed relation of length. For example when the bottom axis (X) has a length of 500px the left axis (Y) should have a ratio of 0.5 that is a length of 250px. When I change the chart width and the X-axis has now a length of 300px the Y-axis should be set to a length of 150px by code.
Thanks for your help.
Best regards