ChartDirector 7.1 (.NET Edition)

DataSet.setDataSymbol


Usage

[C#]public void setDataSymbol(int symbol [, int size [, int fillColor [, int edgeColor [, int lineWidth ]]]]);
[VB]Public Sub setDataSymbol(symbol As Integer [, size As Integer [, fillColor As Integer [, edgeColor As Integer [, lineWidth As Integer ]]]])

Description

Uses one of the built-in symbols as the graphics symbol to plot the data points.

In the current version of ChartDirector, data symbols are supported only in LineLayer, SplineLayer, StepLineLayer and ScatterLayer. To use data symbols in other layer types, add a ScatterLayer on top of that layer.

Arguments

ArgumentDefaultDescription
symbol(Mandatory)One of the predefined shape constants representing the symbol shape. See Shape Specification for the available built-in shapes.
size5The size of the symbol in pixels. By default, the width and height will be of the same size. If you want to use different size for width and height, you can pass the width and height to Chart.xySize and use the return value as the size.
fillColor-1The color used to fill the symbol. -1 means the color of the data set will be used.
edgeColor-1The edge color used to draw the edge of the symbol. -1 means the edge color of the data set will be used.
lineWidth1The line width used for drawing the symbols.

Return Value

None