ComponentOne Chart 8.0 for ActiveX
Changing ChartStyles

 

Changing ChartStyles

The attributes that define how a series of data looks in the scatter plot are called a ChartStyle. Each series has its own ChartStyle, which you can customize. The ChartStyle object allows you to programmatically change the following properties of a series:

·      The Line property, which defines the line style for the object. This specifies the color, pattern and thickness of drop lines. This property is of type LineStyle.

·      The Symbol property, which defines the symbol style for the object. This specifies the color, size and shape of points. This property is of type SymbolStyle.

The following sets the line pattern for the second series to a dotted line:

Chart2D1.ChartGroups(1).Styles(2).Line.Pattern = oc3dLineDotted

And the following statement sets the symbol style for the third series to an unfilled circle:

Chart2D1.ChartGroups(1).Styles(3).Symbol.Shape = oc3dShapeCircle

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback