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 |
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 |
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).
Argument | Default | Description |
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 |
Argument | Default | Description |
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 |
Argument | Default | Description |
w | (Mandatory) | The width (thickness) of the line in pixels. |
The items on this page are in the following plugins: MBS ChartDirector Plugin.