ChartDirector 5.1 (.NET Edition)

DataSet.setDataSymbol4


Usage

[VB] Public Sub setDataSymbol4(polygon As Integer() [, size As Integer [, fillColor As Integer [, edgeColor As Integer ]]])
[C#] public void setDataSymbol4(int[] polygon [, int size [, int fillColor [, int edgeColor ]]]);

Description

Uses a custom polygon 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
polygon(Mandatory)An array of integers representing the coordinates the polygon vertices. See Shape Specification on how the custom shape is defined.
size11The nominal width and height of the symbol in pixels.
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.

Return Value

None