Platforms to show: All Mac Windows Linux Cross-Platform
Back to CDThreeDScatterChartMBS class.
CDThreeDScatterChartMBS.addScatterGroup(xData() as Double, yData() as Double, zData() as Double, name as string = "", symbol as Integer = 7, symbolSize as Integer = 5, fillcolor as Integer = -1, edgeColor as Integer = -1) as CDThreeDScatterGroupMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
A scatter chart can be considered as a special configuration of a line chart, in the data symbols are enabled and the line width is set to zero. Therefore only the data symbols are visible and the chart appears as scattered.
Argument | Default | Description |
xData | (Mandatory) | An array of numbers representing the x values of the data points. |
yData | (Mandatory) | An array of numbers representing the y values of the data points. |
zData | (Mandatory) | An array of numbers representing the z values of the data points. |
name | "" | The name of the symbol group. The name will be used in the legend box, if one is available. An empty string means the symbol group has no name. |
symbol | CircleShape | One of the predefined symbol constants to specify the symbol to use. (See Shape Specification for available built-in shapes.) |
symbolSize | 5 | The width and height of the symbol in pixels. |
fillColor | -1 | The color used to fill the symbol. -1 means that the color is automatically selected from the palette. SameAsMainColor means the color is based on the z value of the symbol as according to the ColorAxis (accessible via ThreeDChart.colorAxis). |
edgeColor | -1 | The edge color used to draw the edge of the symbol. -1 means using LineColor as the edge color. |
Returns a ThreeDScatterGroup object representing the symbol group created.
See also:
Some examples using this method:
CDThreeDScatterChartMBS.addScatterGroup(xData() as Double, yData() as Double, zData() as Double, name as string, symbol as Integer, symbolSize as Integer, fillcolor as color, edgeColor as color) as CDThreeDScatterGroupMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
A scatter chart can be considered as a special configuration of a line chart, in the data symbols are enabled and the line width is set to zero. Therefore only the data symbols are visible and the chart appears as scattered.
Argument | Default | Description |
xData | (Mandatory) | An array of numbers representing the x values of the data points. |
yData | (Mandatory) | An array of numbers representing the y values of the data points. |
zData | (Mandatory) | An array of numbers representing the z values of the data points. |
name | "" | The name of the symbol group. The name will be used in the legend box, if one is available. An empty string means the symbol group has no name. |
symbol | CircleShape | One of the predefined symbol constants to specify the symbol to use. (See Shape Specification for available built-in shapes.) |
symbolSize | 5 | The width and height of the symbol in pixels. |
fillColor | -1 | The color used to fill the symbol. -1 means that the color is automatically selected from the palette. SameAsMainColor means the color is based on the z value of the symbol as according to the ColorAxis (accessible via ThreeDChart.colorAxis). |
edgeColor | -1 | The edge color used to draw the edge of the symbol. -1 means using LineColor as the edge color. |
Returns a ThreeDScatterGroup object representing the symbol group created.
See also:
CDThreeDScatterChartMBS.Constructor(width as Integer = 640, height as Integer = 480, bgColor as Integer = &hffff0000, edgeColor as Integer = &hff000000, raisedEffect as Integer = 0)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Argument | Default | Description |
width | (Mandatory) | The width of the chart in pixels. |
height | (Mandatory) | The height of the chart in pixels. |
bgColor | BackgroundColor | The background color of the chart. |
edgeColor | Transparent | The edge color of the chart. |
raisedEffect | 0 | The 3D border width. For positive values, the border will appear raised. For negative values, the border will appear depressed. A zero value means the border will appear flat. |
See also:
CDThreeDScatterChartMBS.Constructor(width as Integer, height as Integer, bgColor as color, edgeColor as color, raisedEffect as Integer = 0)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | ChartDirector | MBS ChartDirector Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Argument | Default | Description |
width | (Mandatory) | The width of the chart in pixels. |
height | (Mandatory) | The height of the chart in pixels. |
bgColor | BackgroundColor | The background color of the chart. |
edgeColor | Transparent | The edge color of the chart. |
raisedEffect | 0 | The 3D border width. For positive values, the border will appear raised. For negative values, the border will appear depressed. A zero value means the border will appear flat. |
See also:
The items on this page are in the following plugins: MBS ChartDirector Plugin.