ChartDirector 7.1 (C++ Edition)

Layer.setLineWidth


Usage

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