Good day, could you help me. I need to put in line several 2-D charts so that origins of charts will be in line. How can I do it?
see screenshot in attach
How to put in line origins of coordinates?
How to put in line origins of coordinates?
- Attachments
-
- scr.JPG (25.4 KiB) Viewed 6827 times
Re: How to put in line origins of coordinates?
Hi starnov,
This happens because the chart is aligned automatically depending on the maximum label width of the chart. So to align different charts, you could find the max label width for all the charts and assign it to them:
This happens because the chart is aligned automatically depending on the maximum label width of the chart. So to align different charts, you could find the max label width for all the charts and assign it to them:
Code: Select all
int maxLabelWidth = Math.Max(tChart1.Axes.Left.MaxLabelsWidth(), tChart2.Axes.Left.MaxLabelsWidth());
maxLabelWidth = Math.Max(maxLabelWidth, tChart3.Axes.Left.MaxLabelsWidth());
tChart1.Axes.Left.Labels.CustomSize = maxLabelWidth;
tChart2.Axes.Left.Labels.CustomSize = maxLabelWidth;
tChart3.Axes.Left.Labels.CustomSize = maxLabelWidth;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: How to put in line origins of coordinates?
Yeray
thank you very much
thank you very much