I have a time based left axis and line graph with function curve fitting. The graph is what I want but I also want the left and right axis to be identical.
If I use:
DBChart1.Series[0].VertAxis := aBothVertAxis;
I get the right axis on a different scale to the left. It doesn't use the correct scale. I've tried Series[1], 2, 3, 4 and they all have their own scale which is not the correct scale.
How do I just show the left axis on teh right as well as the left, the way the default left axis is showing?
regards
Alan
Right Axis=Left Axis
Re: Right Axis=Left Axis
Hello,
If you want to have the same min and max in both the Left and Bottom axes, you can use the axes SetMinMax function. Ie:
If you want to have the same ticks, you can set the same Increment for both the Left and Bottom axes. Ie:
If you want to make Left and Bottom axes isometric, I'd suggest you to take a look at the "All features\Welcome !\Axes\Isometric Axis" example in the features demo to see how this function is used in it.
The features demo is shipped with the binary installation. You should find a shortcut to it in the Steema Software programs group, in the StartMenu.
This makes the first series in the chart to use both Left and Right axes; the two vertical axes provided by default.alanmcd wrote:Code: Select all
DBChart1.Series[0].VertAxis := aBothVertAxis;
If you want to have the same min and max in both the Left and Bottom axes, you can use the axes SetMinMax function. Ie:
Code: Select all
Chart1.Axes.Left.SetMinMax(0, 10);
Chart1.Axes.Bottom.SetMinMax(0, 10);
Code: Select all
Chart1.Axes.Left.Increment:=1;
Chart1.Axes.Bottom.Increment:=1;
The features demo is shipped with the binary installation. You should find a shortcut to it in the Steema Software programs group, in the StartMenu.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |