Platforms to show: All Mac Windows Linux Cross-Platform

Back to CDHLOCLayerMBS class.

CDHLOCLayerMBS.setColorMethod(colorMethod as Integer, riseColor as color, fallColor as color, leadValue as Double = -1.7E308)

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 setColorMethod method, but uses color instead of integer data type for passing color values.

See also:

CDHLOCLayerMBS.setColorMethod(colorMethod as Integer, riseColor as Integer, fallColor as Integer = -1, leadValue as Double = -1.7E308)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the coloring method for the HLOC symbols.

See XYChart.addHLOCLayer for the supported coloring methods for HLOC symbols.
ArgumentDefaultDescription
colorMethod(Mandatory)The method to color the HLOC layer. Please refer to XYChart.addHLOCLayer3 for the supported coloring methods.
riseColor(Mandatory)The color to be used on an "up" day.
fallColor-1The color to be used on a "down" day. The default value of -1 means it is the same as the riseColor.
leadValue[-Infinity]The lead value to act as the closing pricing before the first day, so as to determine if the first day is an "up" or "down" day.

See also:

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


The biggest plugin in space...