ChartDirector 5.1 (.NET Edition)

Layer.setLineWidth


Usage

[VB] Public Sub setLineWidth(w As Integer)
[C#] public void setLineWidth(int w);

Description

Sets the default line width of lines when drawing data sets on the layer.

This method only applies to layers that employ lines to represent data (e.g. line layer).

This method affect all data sets. To set the line width of one particular data set, use DataSet.setLineWidth.

Arguments

ArgumentDefaultDescription
w(Mandatory)The width of the line in pixels.

Return Value

None