CDXYChartMBS methods
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to CDXYChartMBS class.
Previous items
Next items
CDXYChartMBS.addScatterLayer(xDate() as date, yDate() as Double, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
Adds a scatter chart layer to the XYChart.
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.
Parameter | Default | Description |
xData | (Mandatory) | An array of numbers representing the x values of the data points. If no explicit x coordinates are used in the chart (eg. using an enumerated x-axis), an empty array may be used for this argument. |
yData | (Mandatory) | An array of numbers representing the y values of the data points. |
name | "" | The name of the data set. The name will be used in the legend box, if one is available. An empty string means the data set has no name. |
symbol | SquareShape | 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. |
edgeColor | -1 | The edge color used to draw the edge of the symbol. The default value of -1 means using LineColor as the edge color. |
Return Value
A ScatterLayer object representing the scatter layer created.
See also:
- addScatterLayer(xData() as Double, yData() as Double, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xData() as Double, yData() as Double, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as date, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as date, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as Double, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as DateTime, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as double, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as Double, yDate() as date, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as Double, yDate() as date, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as double, yDate() as DateTime, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
CDXYChartMBS.addScatterLayer(xDate() as date, yDate() as Double, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
Adds a scatter chart layer to the XYChart.
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.
Parameter | Default | Description |
xData | (Mandatory) | An array of numbers representing the x values of the data points. If no explicit x coordinates are used in the chart (eg. using an enumerated x-axis), an empty array may be used for this argument. |
yData | (Mandatory) | An array of numbers representing the y values of the data points. |
name | "" | The name of the data set. The name will be used in the legend box, if one is available. An empty string means the data set has no name. |
symbol | SquareShape | 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. |
edgeColor | -1 | The edge color used to draw the edge of the symbol. The default value of -1 means using LineColor as the edge color. |
Return Value
A ScatterLayer object representing the scatter layer created.
See also:
- addScatterLayer(xData() as Double, yData() as Double, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xData() as Double, yData() as Double, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as date, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as Double, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as DateTime, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as DateTime, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as double, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as Double, yDate() as date, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as double, yDate() as DateTime, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as double, yDate() as DateTime, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
CDXYChartMBS.addScatterLayer(xDate() as DateTime, yDate() as DateTime, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
Adds an area chart layer to the XYChart, and specify the data set to use for drawing the area.
See also:
- addScatterLayer(xData() as Double, yData() as Double, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as date, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as date, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as Double, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as Double, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as double, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as double, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as Double, yDate() as date, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as Double, yDate() as date, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as double, yDate() as DateTime, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
CDXYChartMBS.addScatterLayer(xDate() as DateTime, yDate() as DateTime, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
Adds a scatter chart layer to the XYChart.
See also:
- addScatterLayer(xData() as Double, yData() as Double, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xData() as Double, yData() as Double, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as date, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as date, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as Double, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as Double, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as double, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as double, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as double, yDate() as DateTime, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as double, yDate() as DateTime, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
CDXYChartMBS.addScatterLayer(xDate() as DateTime, yDate() as double, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
Adds a scatter chart layer to the XYChart.
See also:
- addScatterLayer(xData() as Double, yData() as Double, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as date, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as date, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as Double, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as Double, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as DateTime, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as double, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as Double, yDate() as date, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as Double, yDate() as date, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as double, yDate() as DateTime, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
CDXYChartMBS.addScatterLayer(xDate() as DateTime, yDate() as double, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
Adds a scatter chart layer to the XYChart.
See also:
- addScatterLayer(xData() as Double, yData() as Double, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xData() as Double, yData() as Double, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as date, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as date, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as Double, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as DateTime, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as Double, yDate() as date, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as Double, yDate() as date, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as double, yDate() as DateTime, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as double, yDate() as DateTime, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
CDXYChartMBS.addScatterLayer(xDate() as Double, yDate() as date, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
Adds a scatter chart layer to the XYChart.
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.
Parameter | Default | Description |
xData | (Mandatory) | An array of numbers representing the x values of the data points. If no explicit x coordinates are used in the chart (eg. using an enumerated x-axis), an empty array may be used for this argument. |
yData | (Mandatory) | An array of numbers representing the y values of the data points. |
name | "" | The name of the data set. The name will be used in the legend box, if one is available. An empty string means the data set has no name. |
symbol | SquareShape | 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. |
edgeColor | -1 | The edge color used to draw the edge of the symbol. The default value of -1 means using LineColor as the edge color. |
Return Value
A ScatterLayer object representing the scatter layer created.
See also:
- addScatterLayer(xData() as Double, yData() as Double, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xData() as Double, yData() as Double, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as date, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as Double, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as DateTime, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as DateTime, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as double, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as double, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as double, yDate() as DateTime, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as double, yDate() as DateTime, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
CDXYChartMBS.addScatterLayer(xDate() as Double, yDate() as date, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
Adds a scatter chart layer to the XYChart.
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.
Parameter | Default | Description |
xData | (Mandatory) | An array of numbers representing the x values of the data points. If no explicit x coordinates are used in the chart (eg. using an enumerated x-axis), an empty array may be used for this argument. |
yData | (Mandatory) | An array of numbers representing the y values of the data points. |
name | "" | The name of the data set. The name will be used in the legend box, if one is available. An empty string means the data set has no name. |
symbol | SquareShape | 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. |
edgeColor | -1 | The edge color used to draw the edge of the symbol. The default value of -1 means using LineColor as the edge color. |
Return Value
A ScatterLayer object representing the scatter layer created.
See also:
- addScatterLayer(xData() as Double, yData() as Double, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xData() as Double, yData() as Double, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as date, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as date, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as Double, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as Double, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as DateTime, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as double, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as double, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as double, yDate() as DateTime, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
CDXYChartMBS.addScatterLayer(xDate() as double, yDate() as DateTime, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
Adds a scatter chart layer to the XYChart.
See also:
- addScatterLayer(xData() as Double, yData() as Double, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as date, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as Double, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as Double, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as DateTime, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as DateTime, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as double, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as double, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as Double, yDate() as date, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as double, yDate() as DateTime, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
CDXYChartMBS.addScatterLayer(xDate() as double, yDate() as DateTime, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
Adds a scatter chart layer to the XYChart.
See also:
- addScatterLayer(xData() as Double, yData() as Double, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xData() as Double, yData() as Double, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as date, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as Double, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as date, yDate() as Double, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as DateTime, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as DateTime, yDate() as DateTime, name as string, symbol as integer, symbolSize as integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as Double, yDate() as date, name as string = "", symbol as Integer = 1, symbolSize as Integer = 5, fillColor as Integer = -1, edgeColor as Integer = -1) as CDScatterLayerMBS
- addScatterLayer(xDate() as Double, yDate() as date, name as string, symbol as Integer, symbolSize as Integer, fillColor as color, edgeColor as color) as CDScatterLayerMBS
- addScatterLayer(xDate() as double, yDate() as DateTime, name as string = "", symbol as integer = 1, symbolSize as integer = 5, fillColor as integer = -1, edgeColor as integer = -1) as CDScatterLayerMBS
CDXYChartMBS.addSplineLayer as CDSplineLayerMBS
Adds a spline layer to the XYChart.
In a spline layer, the data points are connected together using cardinal spline curves (as opposed to straight lines). The "tension" of the curve can be configured using SplineLayer.setTension.
Parameter | Default | Description |
data | [Empty_Array] | An array of numbers representing the data set. |
color | -1 | The color to draw the spline line. -1 means that the color is automatically selected from the palette. |
name | "" | The name of the data set. The name will be used in the legend box, if one is available. An empty string means the data set has no name. |
Return Value
A SplineLayer object representing the spline layer created.
See also:
Some examples using this method:
CDXYChartMBS.addSplineLayer(data() as Double, colorvalue as Integer = -1, name as string = "") as CDSplineLayerMBS
Adds a spline layer to the XYChart.
In a spline layer, the data points are connected together using cardinal spline curves (as opposed to straight lines). The "tension" of the curve can be configured using SplineLayer.setTension.
Parameter | Default | Description |
data | [Empty_Array] | An array of numbers representing the data set. |
color | -1 | The color to draw the spline line. -1 means that the color is automatically selected from the palette. |
name | "" | The name of the data set. The name will be used in the legend box, if one is available. An empty string means the data set has no name. |
Return Value
A SplineLayer object representing the spline layer created.
See also:
CDXYChartMBS.addStepLineLayer as CDStepLineLayerMBS
Adds a step line chart layer to the XYChart.
In a step line layer, the data points are connected together using steps. The alignment of the steps relative to the data points can be configured using StepLineLayer.setAlignment.
Parameter | Default | Description |
data | [Empty_Array] | An array of numbers representing the data set. |
color | -1 | The color to draw the step line. -1 means that the color is automatically selected from the palette. |
name | "" | The name of the data set. The name will be used in the legend box, if one is available. An empty string means the data set has no name. |
Return Value
A StepLineLayer object representing the step line layer created.
See also:
Some examples using this method:
CDXYChartMBS.addStepLineLayer(data() as Double, colorvalue as Integer = -1, name as string = "") as CDStepLineLayerMBS
Adds a step line chart layer to the XYChart.
In a step line layer, the data points are connected together using steps. The alignment of the steps relative to the data points can be configured using StepLineLayer.setAlignment.
Parameter | Default | Description |
data | [Empty_Array] | An array of numbers representing the data set. |
color | -1 | The color to draw the step line. -1 means that the color is automatically selected from the palette. |
name | "" | The name of the data set. The name will be used in the legend box, if one is available. An empty string means the data set has no name. |
Return Value
A StepLineLayer object representing the step line layer created.
See also:
CDXYChartMBS.addTrendLayer(Data() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
Same as the other addTrendLayer method, but uses color instead of integer data type for passing color values.
See also:
- addTrendLayer(Data() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
Some examples using this method:
CDXYChartMBS.addTrendLayer(Data() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
Adds a trend chart layer to the XYChart, and specify the data set to use for drawing the trend line.
Parameter | Default | Description |
data | (Mandatory) | An array of numbers representing the data set. |
color | -1 | The color to draw the line. -1 means that the color is automatically selected from the palette. |
name | "" | The name of the data set. The name will be used in the legend box, if one is available. An empty string means the data set has no name. |
depth | 0 | The 3D depth of the line layer. |
Return Value
A TrendLayer object representing the trend layer created.
See also:
- addTrendLayer(Data() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
CDXYChartMBS.addTrendLayer(dates() as date, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
Adds a trend chart layer to the XYChart, and specify the data set to use for drawing the trend line.
Parameter | Default | Description |
data | (Mandatory) | An array of numbers representing the data set. |
color | -1 | The color to draw the line. -1 means that the color is automatically selected from the palette. |
name | "" | The name of the data set. The name will be used in the legend box, if one is available. An empty string means the data set has no name. |
depth | 0 | The 3D depth of the line layer. |
Return Value
A TrendLayer object representing the trend layer created.
See also:
- addTrendLayer(Data() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
CDXYChartMBS.addTrendLayer(dates() as date, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
Adds a trend chart layer to the XYChart, and specify the data set to use for drawing the trend line.
Parameter | Default | Description |
data | (Mandatory) | An array of numbers representing the data set. |
color | -1 | The color to draw the line. -1 means that the color is automatically selected from the palette. |
name | "" | The name of the data set. The name will be used in the legend box, if one is available. An empty string means the data set has no name. |
depth | 0 | The 3D depth of the line layer. |
Return Value
A TrendLayer object representing the trend layer created.
See also:
- addTrendLayer(Data() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(Data() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
CDXYChartMBS.addTrendLayer(dates() as date, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
Same as the other addTrendLayer method, but uses color instead of integer data type for passing color values.
See also:
- addTrendLayer(Data() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(Data() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
CDXYChartMBS.addTrendLayer(dates() as date, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
Adds a trend chart layer to the XYChart, and specify the x and y values for drawing the trend line.
Parameter | 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. |
color | -1 | The color to draw the line. -1 means that the color is automatically selected from the palette. |
name | "" | The name of the data set. The name will be used in the legend box, if one is available. An empty string means the data set has no name. |
depth | 0 | The 3D depth of the line layer. |
Return Value
A TrendLayer object representing the trend layer created.
See also:
- addTrendLayer(Data() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
CDXYChartMBS.addTrendLayer(dates() as DateTime, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
Adds a trend chart layer to the XYChart, and specify the data set to use for drawing the trend line.
See also:
- addTrendLayer(Data() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(Data() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
CDXYChartMBS.addTrendLayer(dates() as DateTime, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
Adds a trend chart layer to the XYChart, and specify the data set to use for drawing the trend line.
See also:
- addTrendLayer(Data() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(Data() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
CDXYChartMBS.addTrendLayer(dates() as DateTime, yData() as double, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
Adds a trend chart layer to the XYChart, and specify the data set to use for drawing the trend line.
See also:
- addTrendLayer(Data() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(Data() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
CDXYChartMBS.addTrendLayer(dates() as DateTime, yData() as double, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
Adds a trend chart layer to the XYChart, and specify the data set to use for drawing the trend line.
See also:
- addTrendLayer(Data() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(Data() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
CDXYChartMBS.addTrendLayer(xData() as Double, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
Same as the other addTrendLayer method, but uses color instead of integer data type for passing color values.
See also:
- addTrendLayer(Data() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(Data() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
CDXYChartMBS.addTrendLayer(xData() as Double, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
Adds a trend chart layer to the XYChart, and specify the x and y values for drawing the trend line.
Parameter | 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. |
color | -1 | The color to draw the line. -1 means that the color is automatically selected from the palette. |
name | "" | The name of the data set. The name will be used in the legend box, if one is available. An empty string means the data set has no name. |
depth | 0 | The 3D depth of the line layer. |
Return Value
A TrendLayer object representing the trend layer created.
See also:
- addTrendLayer(Data() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(Data() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as date, yData() as Double, colorvalue as Integer = -1, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as color, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(dates() as DateTime, yData() as double, colorvalue as integer = -1, name as string = "", depth as integer = 0) as CDTrendLayerMBS
- addTrendLayer(xData() as Double, yData() as Double, colorvalue as color, name as string = "", depth as Integer = 0) as CDTrendLayerMBS
CDXYChartMBS.addVectorLayer(dates() as date, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer = 0, colorvalue as Integer = -1, name as string = "") as CDVectorLayerMBS
Adds a vector layer to the chart.
The vectors are specified as 4 data series, representing the x and y coordinates of the reference points to put the vectors, and the lengths and directions of the vectors.
By default, the vector starts from the reference point and points away from it. You may use VectorLayer.setArrowAlignment to specify other options, such as for the vectors to point into the reference point, or to have the reference as a pivot at the mid-point of the vector.
ChartDirector supports specifying vectors lengths as pixels or in axis scale. The unit is specified by using the following predefined constants.
Constant | Value | Description |
PixelScale | 0 | The unit is measured in pixels. |
XAxisScale | 1 | The unit is measured in x-axis scale. |
YAxisScale | 2 | The unit is measured in y-axis scale. |
Parameter | Default | Description |
xData | (Mandatory) | An array of numbers representing the x coordinates for the reference points of the vectors. |
yData | (Mandatory) | An array of numbers representing the y coordinates for the reference points of the vectors. |
directions | (Mandatory) | An array of numbers representing the direction of the vectors as a clockwise angle in degrees, where 0 is upward pointing direction. |
lengths | (Mandatory) | An array of numbers representing the lengths of the vectors, in unit as specified in the lengthScale argument. |
lengthScale | PixelScale | The unit for the lengths, which must be one of the predefined constants in the table above. |
color | -1 | The color to draw the data points. -1 means that the color is automatically selected from the palette. |
name | "" | The name of the layer. The name will be used in the legend box, if one is available. An empty string means the layer has no name. |
Return Value
A VectorLayer object representing the vector layer created.
See also:
- addVectorLayer(dates() as date, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer, colorvalue as color, name as string = "") as CDVectorLayerMBS
- addVectorLayer(dates() as DateTime, yData() as double, directions() as double, lengths() as double, lengthScale as integer = 0, colorvalue as integer = -1, name as string = "") as CDVectorLayerMBS
- addVectorLayer(dates() as DateTime, yData() as double, directions() as double, lengths() as double, lengthScale as integer, colorvalue as color, name as string = "") as CDVectorLayerMBS
- addVectorLayer(xData() as Double, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer = 0, colorvalue as Integer = -1, name as string = "") as CDVectorLayerMBS
- addVectorLayer(xData() as Double, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer, colorvalue as color, name as string = "") as CDVectorLayerMBS
CDXYChartMBS.addVectorLayer(dates() as date, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer, colorvalue as color, name as string = "") as CDVectorLayerMBS
Same as the other addVectorLayer method, but uses color instead of integer data type for passing color values.
See also:
- addVectorLayer(dates() as date, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer = 0, colorvalue as Integer = -1, name as string = "") as CDVectorLayerMBS
- addVectorLayer(dates() as DateTime, yData() as double, directions() as double, lengths() as double, lengthScale as integer = 0, colorvalue as integer = -1, name as string = "") as CDVectorLayerMBS
- addVectorLayer(dates() as DateTime, yData() as double, directions() as double, lengths() as double, lengthScale as integer, colorvalue as color, name as string = "") as CDVectorLayerMBS
- addVectorLayer(xData() as Double, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer = 0, colorvalue as Integer = -1, name as string = "") as CDVectorLayerMBS
- addVectorLayer(xData() as Double, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer, colorvalue as color, name as string = "") as CDVectorLayerMBS
CDXYChartMBS.addVectorLayer(dates() as DateTime, yData() as double, directions() as double, lengths() as double, lengthScale as integer = 0, colorvalue as integer = -1, name as string = "") as CDVectorLayerMBS
Adds a vector layer to the chart.
See also:
- addVectorLayer(dates() as date, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer = 0, colorvalue as Integer = -1, name as string = "") as CDVectorLayerMBS
- addVectorLayer(dates() as date, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer, colorvalue as color, name as string = "") as CDVectorLayerMBS
- addVectorLayer(dates() as DateTime, yData() as double, directions() as double, lengths() as double, lengthScale as integer, colorvalue as color, name as string = "") as CDVectorLayerMBS
- addVectorLayer(xData() as Double, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer = 0, colorvalue as Integer = -1, name as string = "") as CDVectorLayerMBS
- addVectorLayer(xData() as Double, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer, colorvalue as color, name as string = "") as CDVectorLayerMBS
CDXYChartMBS.addVectorLayer(dates() as DateTime, yData() as double, directions() as double, lengths() as double, lengthScale as integer, colorvalue as color, name as string = "") as CDVectorLayerMBS
Adds a vector layer to the chart.
See also:
- addVectorLayer(dates() as date, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer = 0, colorvalue as Integer = -1, name as string = "") as CDVectorLayerMBS
- addVectorLayer(dates() as date, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer, colorvalue as color, name as string = "") as CDVectorLayerMBS
- addVectorLayer(dates() as DateTime, yData() as double, directions() as double, lengths() as double, lengthScale as integer = 0, colorvalue as integer = -1, name as string = "") as CDVectorLayerMBS
- addVectorLayer(xData() as Double, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer = 0, colorvalue as Integer = -1, name as string = "") as CDVectorLayerMBS
- addVectorLayer(xData() as Double, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer, colorvalue as color, name as string = "") as CDVectorLayerMBS
CDXYChartMBS.addVectorLayer(xData() as Double, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer = 0, colorvalue as Integer = -1, name as string = "") as CDVectorLayerMBS
Adds a vector layer to the chart.
The vectors are specified as 4 data series, representing the x and y coordinates of the reference points to put the vectors, and the lengths and directions of the vectors.
By default, the vector starts from the reference point and points away from it. You may use VectorLayer.setArrowAlignment to specify other options, such as for the vectors to point into the reference point, or to have the reference as a pivot at the mid-point of the vector.
ChartDirector supports specifying vectors lengths as pixels or in axis scale. The unit is specified by using the following predefined constants.
Constant | Value | Description |
PixelScale | 0 | The unit is measured in pixels. |
XAxisScale | 1 | The unit is measured in x-axis scale. |
YAxisScale | 2 | The unit is measured in y-axis scale. |
Parameter | Default | Description |
xData | (Mandatory) | An array of numbers representing the x coordinates for the reference points of the vectors. |
yData | (Mandatory) | An array of numbers representing the y coordinates for the reference points of the vectors. |
directions | (Mandatory) | An array of numbers representing the direction of the vectors as a clockwise angle in degrees, where 0 is upward pointing direction. |
lengths | (Mandatory) | An array of numbers representing the lengths of the vectors, in unit as specified in the lengthScale argument. |
lengthScale | PixelScale | The unit for the lengths, which must be one of the predefined constants in the table above. |
color | -1 | The color to draw the data points. -1 means that the color is automatically selected from the palette. |
name | "" | The name of the layer. The name will be used in the legend box, if one is available. An empty string means the layer has no name. |
Return Value
A VectorLayer object representing the vector layer created.
See also:
- addVectorLayer(dates() as date, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer = 0, colorvalue as Integer = -1, name as string = "") as CDVectorLayerMBS
- addVectorLayer(dates() as date, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer, colorvalue as color, name as string = "") as CDVectorLayerMBS
- addVectorLayer(dates() as DateTime, yData() as double, directions() as double, lengths() as double, lengthScale as integer = 0, colorvalue as integer = -1, name as string = "") as CDVectorLayerMBS
- addVectorLayer(dates() as DateTime, yData() as double, directions() as double, lengths() as double, lengthScale as integer, colorvalue as color, name as string = "") as CDVectorLayerMBS
- addVectorLayer(xData() as Double, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer, colorvalue as color, name as string = "") as CDVectorLayerMBS
CDXYChartMBS.addVectorLayer(xData() as Double, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer, colorvalue as color, name as string = "") as CDVectorLayerMBS
Same as the other addVectorLayer method, but uses color instead of integer data type for passing color values.
See also:
- addVectorLayer(dates() as date, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer = 0, colorvalue as Integer = -1, name as string = "") as CDVectorLayerMBS
- addVectorLayer(dates() as date, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer, colorvalue as color, name as string = "") as CDVectorLayerMBS
- addVectorLayer(dates() as DateTime, yData() as double, directions() as double, lengths() as double, lengthScale as integer = 0, colorvalue as integer = -1, name as string = "") as CDVectorLayerMBS
- addVectorLayer(dates() as DateTime, yData() as double, directions() as double, lengths() as double, lengthScale as integer, colorvalue as color, name as string = "") as CDVectorLayerMBS
- addVectorLayer(xData() as Double, yData() as Double, directions() as Double, lengths() as Double, lengthScale as Integer = 0, colorvalue as Integer = -1, name as string = "") as CDVectorLayerMBS
CDXYChartMBS.getLayer(i as Integer) as CDLayerMBS
Gets a Layer object based on the order in which it is being added to the chart.
Argument | Default | Description |
i | (Mandatory) | The index of the data layer. The index of the first layer added to the chart is 0. The index of the Nth layer added to the chart is N - 1. |
CDXYChartMBS.getLayerByZ(i as Integer) as CDLayerMBS
Gets a Layer object based on the order in which it is being drawn.
In ChartDirector, by default, the first layer added will stay on the top of the chart. The second layer will be added under the first layer, and so on. It means The layers will be drawn in the reverse order that they are added to the chart. The ordering can be configured with Layer.moveFront or Layer.moveBack.
Argument | Default | Description |
zIndex | (Mandatory) | The z-index of the required layer. The z-index of the first layer drawn is 0. The z-index for the Nth layer drawn is N - 1. |
Some examples using this method:
CDXYChartMBS.getNearestXValue(xCoor as Double) as Double
Gets the x data value that is nearest to the specified x pixel coordinate.
This method will search all x data values in the XYChart to look for the x data value that is nearest to the given x coordinate. If there are two x data values equally near to the specified x pixel coordinate, this method will arbitrarily return one of the values.
Argument | Default | Description |
xCoor | (Mandatory) | The x pixel coordinate to search for. |
Returns the x data value that is nearest to the specified x coordinate.
CDXYChartMBS.getXCoor(value as Double) as Integer
Gets the x pixel coordinate of a point given the x data value.
Note: You must call BaseChart.layout first before calling this method. It is because ChartDirector needs to perform auto-scaling and determine the axis scale first before it can compute the coordinates.
For a 3D chart, this method will get the pixel coordinate of the data value on the top surface of the chart. Use Layer.getXCoor to obtain the pixel coordinate of the data value on a particular chart layer.
Parameter | Default | Description |
v | (Mandatory) | The x data value. |
Return Value
The x coordinate of the x data value.
Previous items
Next items
The items on this page are in the following plugins: MBS ChartDirector Plugin.