I have problem in keeping aspect ratio whenever the size of client changes.
The attached solution works partly and I do not know what mistake I made there...
Any help will be greatly appreciated.
Keeping Aspect Ration: Going wrong
Keeping Aspect Ration: Going wrong
- Attachments
-
- TestingTeeChartScaling.zip
- (43.7 KiB) Downloaded 481 times
Re: Keeping Aspect Ration: Going wrong
Any help will be appreciated...
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Keeping Aspect Ration: Going wrong
Hello Raavi,
As an alternative, you can use one of the Series.IsoHorizAxes or Series.IsoVertAxes, e.g.
if you use both at the same time you will get the effect that your code gets - this effect is unavoidable, I'm afraid, the isoaxes can only be for horizontal or vertical directions, not both.
As an alternative, you can use one of the Series.IsoHorizAxes or Series.IsoVertAxes, e.g.
if you use both at the same time you will get the effect that your code gets - this effect is unavoidable, I'm afraid, the isoaxes can only be for horizontal or vertical directions, not both.
Best Regards,
Christopher Ireland / 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: Keeping Aspect Ration: Going wrong
Wonderful, that worked like a charm.
Re: Keeping Aspect Ratio: Going wrong
I have one more problem, that aspect ratio is not kept when I press maximize button.
Re: Keeping Aspect Ration: Going wrong
May I know whether it is possible to set IsoHorizAxes or IsoVertAxes to a Chart than a Series?
Right now, I add series with 'IsoHorizAxes = true' to a Chart and set Chart.Dock to Dockfill.
This way does not set the IsoHorizAxes until I change the size of the Chart or Pan the Chart.
Right now, I add series with 'IsoHorizAxes = true' to a Chart and set Chart.Dock to Dockfill.
This way does not set the IsoHorizAxes until I change the size of the Chart or Pan the Chart.
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Keeping Aspect Ratio: Going wrong
I've been able to reproduce this here and have added it to our bug database with id=721. I've spent some time trying to find a workaround to this problem, but unfortunately without success.Raavi wrote:I have one more problem, that aspect ratio is not kept when I press maximize button.
Best Regards,
Christopher Ireland / 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 |
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Keeping Aspect Ration: Going wrong
No, at the moment these properties only belong to the Series class, enabling some series to render "Iso" while others render normally.Raavi wrote:May I know whether it is possible to set IsoHorizAxes or IsoVertAxes to a Chart than a Series?
This problem is doubtless related to the id=721 bug I mentioned in my last post. Again, I'm afraid I haven't been able to find a workaround to this issue.Raavi wrote:Right now, I add series with 'IsoHorizAxes = true' to a Chart and set Chart.Dock to Dockfill.
This way does not set the IsoHorizAxes until I change the size of the Chart or Pan the Chart.
Best Regards,
Christopher Ireland / 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: Keeping Aspect Ration: Going wrong
Good Morning,
Thank you very much indeed.
Thank you very much indeed.