Hello,
I created a chart with two y-axis.
I would like to have both the y axis on the left side (right next to each other and not one on top of another) of the chart with different colours.
Is it possible to have different colours for the two y axis?.
Can you help me?
Thanks
Mahendra
Multiple Y-Axis with different colours
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Mahendra,
Yes, this is possible. Just add one custom axis to your chart, associate one series vertical axis to the custom axis created and use:
Yes, this is possible. Just add one custom axis to your chart, associate one series vertical axis to the custom axis created and use:
Code: Select all
With TChart1.Axis
.Left.AxisPen.Color = vbRed
.Custom(0).AxisPen.Color = vbGreen
.Custom(0).PositionPercent = 10
End With
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 |