Platforms to show: All Mac Windows Linux Cross-Platform

Back to CDLineMBS class.

CDLineMBS.setColor(c as color)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Same as the other setColor method, but uses color instead of integer data type for passing color values.

See also:

CDLineMBS.setColor(c as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the color of the line.

By default, the color of the line is LineColor. To draw a dash line, you can use a dash line color (created using BaseChart.dashLineColor or DrawArea.dashLineColor).
ArgumentDefaultDescription
c(Mandatory)The color of the line.

See also:

CDLineMBS.setPos(x1 as Integer, y1 as Integer, x2 as Integer, y2 as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the end-points of the line..

ArgumentDefaultDescription
x1(Mandatory)The x coordinate of the first end-point of the line.
y1(Mandatory)The y coordinate of the first end-point of the line.
x2(Mandatory)The x coordinate of the second end-point of the line.
y2(Mandatory)The y coordinate of the second end-point of the line.

CDLineMBS.setWidth(w as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the width of the line in pixels.

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

The items on this page are in the following plugins: MBS ChartDirector Plugin.


The biggest plugin in space...