Platforms to show: All Mac Windows Linux Cross-Platform
Back to CDDiscreteHeatMapLayerMBS class.
CDDiscreteHeatMapLayerMBS.colorAxis as CDColorAxisMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 21.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
CDDiscreteHeatMapLayerMBS.setCellGap(gap as integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 21.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
By default, the cells will touch each others with no gap in between.
Argument | Default | Description |
gap | (Mandatory) | The gap between cells in pixels. |
Some examples using this method:
CDDiscreteHeatMapLayerMBS.setColorAxis(x as integer, y as integer, alignment as integer, length as integer, orientation as integer) as CDColorAxisMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 21.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Argument | Default | Description |
x | (Mandatory) | The x-coordinate of the reference point used to position the color axis. |
y | (Mandatory) | The y-coordinate of the reference point used to position the color axis. |
alignment | (Mandatory) | The alignment of the color axis with respect to the reference point. For example, a value of TopLeft means the reference point is the top- left corner of the color axis. See Alignment Specification for supported alignment types. |
length | (Mandatory) | The length of the color axis in pixels. |
orientation | (Mandatory) | The orientation of the color axis. A value of Top/Bottom means the axis is horizontal, and the axis labels are at top/bottom side of the axis. A value of Left/Right means the axis is vertical, and the axis labels are at the left/right side of the axis. |
CDDiscreteHeatMapLayerMBS.setDirectColoring(b as boolean = true)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 21.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
By default, a ColorAxis will be used to map the data values to colors. The setDirectColoring method allows directly specifying the colors of the cells without going through the CDColorAxisMBS.
Argument | Default | Description |
b | true | A true value means the data values of the cells are their colors. A false value means a CDColorAxisMBS will be used to map the data values to colors. |
The items on this page are in the following plugins: MBS ChartDirector Plugin.