Platforms to show: All Mac Windows Linux Cross-Platform
Back to CDAreaLayerMBS class.
CDAreaLayerMBS.setGapColor(fillColor 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:
CDAreaLayerMBS.setGapColor(fillColor 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, if there are kNoValue data points, ChartDirector will interpolate using the remaining data points. The area will remain continuous.
This method can be used to set up an alternative color to represent the area at kNoValue data point positions. In particular, if the fillColor argument is set to Transparent, the kNoValue data points will result in gaps in the area.
Parameter | Default | Description |
fillColor | (Mandatory) | The color used to fill the area region at kNoValue data point positions. |
See also:
CDAreaLayerMBS.setMinLabelSize(s as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
In ChartDirector, for an area layer, data labels (Layer.setDataLabelStyle) are drawn internal to the area, while the aggregate labels (Layer.setAggregateLabelStyle) are drawn external to the area.
ChartDirector will disable data labels if the area height (or width if x and y axes are swapped) is too small to contain the data label.
By default, ChartDirector will automatically determine what is meant by "too small". The setMinLabelSize method can be used to manually defined the threshold for "too small".
Sometimes it may be desirable to display the data label even though it cannot be contained within the area. In this case, the setMinLabelSize can be used to set the threshold to 0.
Parameter | Default | Description |
s | (Mandatory) | The minimum height (or width if x and y axes are swapped) of an area below which data labels will be hidden. |
The items on this page are in the following plugins: MBS ChartDirector Plugin.