Platforms to show: All Mac Windows Linux Cross-Platform

Back to CDMarkMBS class.

CDMarkMBS.getLine as CDLineObjMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Retrieves an opaque LineObj representing the mark line. The opaque LineObj is to be used in XYChart.addInterLineLayer for adding coloring between lines.

Return Value
An opaque LineObj representing the mark line.

CDMarkMBS.setDrawOnTop(b as boolean)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Determine whether the mark line is drawn at the front of the chart layers, or at the back of the plot area (that is, like grid lines).

ArgumentDefaultDescription
b(Mandatory)A true value means drawing the mark line at the front of the chart layers. A false value means drawing the mark line at the back of the plot area.

CDMarkMBS.setLineWidth(width 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 line width of the mark line.

ArgumentDefaultDescription
w(Mandatory)The mark line width in pixels.

CDMarkMBS.setMarkColor(lineColor as color, textColor as color, tickColor 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 setMarkColor method, but uses color instead of integer data type for passing color values.

See also:

Some examples using this method:

CDMarkMBS.setMarkColor(lineColor as Integer, textColor as Integer = -1, tickColor as Integer = -1)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the line, text and tick colors of the mark line.

ArgumentDefaultDescription
lineColor(Mandatory)The color of the mark line.
textColor-1The color of the text label that will be shown on the axis. -1 means the text label color is the same as the line color.
tickColor-1The color of the tick that will be shown on the axis. -1 means the tick color is the same as the line color.

See also:

CDMarkMBS.setValue(value as Double)

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

ArgumentDefaultDescription
value(Mandatory)The value of the mark.

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


The biggest plugin in space...