|
-
Jul 11th, 2000, 09:53 AM
#1
Thread Starter
New Member
I have an app that uses the MS Chart control. How can I programmatically change the color of the series?
Thanks for any help
JP
-
Mar 14th, 2001, 06:14 AM
#2
Hyperactive Member
This code will change the series color. Replace 1 with what ever row you are changing. Keep the -1. This example creates a blue fill color.
MSChart.Plot.SeriesCollection(1).DataPoints(-1). Brush.FillColor.Red = 152
MSChart.Plot.SeriesCollection(1).DataPoints(-1). Brush.FillColor.Green = 173
MSChart.Plot.SeriesCollection(1).DataPoints(-1). Brush.FillColor.Blue = 199
DKCK
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|