Color Property
Syntax
CWShape.Color
Data Type
Purpose
Specifies the color of the shape.
Remarks
This property specifies the fill color for cwShapeRectangle, cwShapePolygon, cwShapeOval, cwShapeArc, cwShapeRegion, and cwShapeMinMaxRegion.
This property is not used with cwShapeLine and cwShapeImage.
Example
'Highlight in blue all the values that are below 5 on the y axis.
CWGraph1.Annotations.Item(1).Shape.Type = cwShapeMinMaxRegion
CWGraph1.Annotations.Item(1).Shape.RegionArea = cwRegionInverted
CWGraph1.Annotations.Item(1).Shape.XCoordinates = Array()
CWGraph1.Annotations.Item(1).Shape.YCoordinates = Array(5)
CWGraph1.Annotations.Item(1).Shape.FillVisible = True
CWGraph1.Annotations.Item(1).Shape.Color = vbBlue