12-11-2004, 11:42 PM
What is the property to set the background color for the MSChart control?
I've tried Chart.Plot.Backdrop.Fill.Brush.Fillcolor.Set 0,0,0
but to no avail
12-12-2004, 01:34 AM
.Style = VtFillStyleBrush <--- You need this
.Brush.Style = VtBrushStyleSolid <--- And this
.Brush.FillColor.Set 255, 200, 200 <--- Then your color values.
P.S. 0,0,0 = black.
12-12-2004, 02:05 AM
Thanks.... oops I wasn't thinking about the 0,0,0.... :chuckle:
12-12-2004, 02:10 AM
No Biggie. There is also a border color to consider. You'll see when you change the backdrop color. :)
12-12-2004, 02:17 AM
I see it! Thanks for all the help.
What is the property for the border colour?? I've looked and cant find it... :confused: I think I need a rest
12-12-2004, 03:55 PM
Don't worry, I've got it now!! :D I just used
to set the size of the plot to the size of the control.
THanks again Gruff for all your help
12-12-2004, 04:02 PM
Glad to hear it Alt.
For future reference I just clicked on the 'Custom' property tag of the MSChart control and flipped through the tabs for setting Color, Patterns,Fill, Etc... until I saw that several things needed to be set before we saw a color change. Noted the names then went to the code window and ran down the MSChart object tree in code. You know Press Dot, see sub object property list. Select. Press Dot, Etc...