Add Axis at Runtime
Add Axis at Runtime
Would like to add a Right Axis to a Chart at runtime and then add a new data series that uses this Right Axis and existing Bottom Axis. How do you associate a series to the specific Axis desired?
Re: Add Axis at Runtime
Hi Roy,
You can assign a series to the right axis as follows:
Or to use both Left and Right Axis:
Or you can create a Custom axis and assign it to one or several series. You can see examples of it at "Tutorial 4 - Axis Control".
By default the series use the Bottom axis, so you shouldn't need to change it.
You can assign a series to the right axis as follows:
Code: Select all
Series1.VertAxis:=aRightAxis;
Code: Select all
Series1.VertAxis:=aBothVertAxis;
By default the series use the Bottom axis, so you shouldn't need to change it.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Add Axis at Runtime
Thanks. That should do what I need.