Hello,
If you have a chart that has a label on a customAxis, it seems that the chartrect does not resize based on whether the label is visible or not, or what the text of the axis title. If I use the exact same chart, but link the series to one of the default axes, then the chartrect resizes automatically to accomodate the axis title.
Is there a way to make the chart rect resize to accomodate the axis title of custom axes, if custom axes are being used on the plot?
chartrect does not autosize based on custom axis label
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: chartrect does not autosize based on custom axis label
Hi davidnovo,
Custom axes don't calculate margins automatically. You can either set desired margin manually or for a more dynamic solution implement something as the PlaceAxes method Yeray posted here.
Custom axes don't calculate margins automatically. You can either set desired margin manually or for a more dynamic solution implement something as the PlaceAxes method Yeray posted here.
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: chartrect does not autosize based on custom axis label
Hi Narcis,
This should definitely be added as part of the standard behavior. If I have a plot use custom axes, why would I ever want TChart to only base the margin on one of the standard axes? The code that Yeray wrote should be incorporated as a standard part of the chartrect calculation!
This should definitely be added as part of the standard behavior. If I have a plot use custom axes, why would I ever want TChart to only base the margin on one of the standard axes? The code that Yeray wrote should be incorporated as a standard part of the chartrect calculation!
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: chartrect does not autosize based on custom axis label
Hello,
This is on the wish-list to be considered for inclusion in future releases.
This is on the wish-list to be considered for inclusion in future releases.
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: chartrect does not autosize based on custom axis label
Please note that I am also eagerly waiting for that "feature".
Rgds,
Christian
Rgds,
Christian
Re: chartrect does not autosize based on custom axis label
Any progress on this "feature"?
Is there an "easy" way to place a custom axis outside of the Chart rectangle without doing mad assumptions about Axis Title and Labels sizes?
Roumen
Is there an "easy" way to place a custom axis outside of the Chart rectangle without doing mad assumptions about Axis Title and Labels sizes?
Roumen
Re: chartrect does not autosize based on custom axis label
Hello,
No, I'm afraid #126 hasn't been implemented yet.
What do you consider to be "mad assumptions" in the example pointed out above?
No, I'm afraid #126 hasn't been implemented yet.
What do you consider to be "mad assumptions" in the example pointed out above?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |