How To Set the FillColor in the MS Chart Control at Run- time (177997)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q177997 SUMMARY
With the Microsoft Chart control, the FillColor property allows you to
change the color of different objects in the chart such as data points,
shadows, walls, and markers. The FillColor property has a Red, Blue, and
Green property that you set to an integer value to control the value of
that color component.
This article illustrates how you can set the FillColor property at run-time
by showing you how to create a project that will change the bar colors of
chart. This information can be applied to other chart objects that support
the FillColor property.
REFERENCESFor additional information on the MS Chart control, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
175212 SAMPLE: CHRTSAMP.EXE Visual Basic 5.0 MSChart Sample
275649 SAMPLE: ChrtSmpl.exe Demonstrates Use of the Visual Basic 6.0 MSChart Control
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbGrpDSVB kbhowto KB177997 kbAudDeveloper |
---|
|