Hello,
in area series, the gradiant does not start from the bottom axis.
any idea why?
Attaching files to the news group.
thanks
Problem with gradiant charts
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Oblicore,
You can choose the area series gradient direction doing something like the code below or using the chart editor.
You can choose the area series gradient direction doing something like the code below or using the chart editor.
Code: Select all
Private Sub Form_Load()
With TChart1
.Series(0).FillSampleValues 20
.Series(0).asArea.Gradient.Direction = gdBottomTop
.Series(0).asArea.Gradient.StartColor = vbRed
.Series(0).asArea.Gradient.MidColor = vbWhite
.Series(0).asArea.Gradient.EndColor = vbBlue
.Series(0).asArea.Gradient.Visible = True
End With
End Sub
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 |