Hi,
Has anybody got any idea on how to change the color of a column in an MSChart graph in runtime (not designtime!).
Thanks in advance
Shaun
Printable View
Hi,
Has anybody got any idea on how to change the color of a column in an MSChart graph in runtime (not designtime!).
Thanks in advance
Shaun
Add a MSChart control to a form, and a button
then add this code:
'change the color of series 1 to white
Private Sub Command1_Click()
MSChart1.Plot.SeriesCollection(1).DataPoints(-1).Brush.FillColor.Set 255, 255, 255
End Sub
Hope this help
TheBao