Platforms to show: All Mac Windows Linux Cross-Platform

Back to CDMultiChartMBS class.

CDMultiChartMBS.addChart(x as Integer, y as Integer, c as CDBaseChartMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a BaseChart object (or its subclass such as PieChart, XYChart, PolarChart, AngularMeter or LinearMeter) into the multi-chart.

ArgumentDefaultDescription
x(Mandatory)The x coordinate of a point in the multi-chart that is to align with the top-left corner of the added BaseChart.
y(Mandatory)The y coordinate of a point in the multi-chart that is to align with the top-left corner of the added BaseChart.
c(Mandatory)The BaseChart object to be added to the multi-chart.

Some examples using this method:

CDMultiChartMBS.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 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a new MultiChart object.

ArgumentDefaultDescription
width(Mandatory)The width of the chart in pixels.
height(Mandatory)The height of the chart in pixels.
bgColorBackgroundColorThe background color of the chart.
edgeColorTransparentThe edge color of the chart.
raisedEffect0The 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:

CDMultiChartMBS.getChart(index as Integer) as CDBaseChartMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 12.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets the specified chart in the MultiChart.

ArgumentDefaultDescription
i0The index of the chart. The index of the first chart set added to the MultiChart is 0. The index of the Nth data set added to the MultiChart is N - 1.

CDMultiChartMBS.getChartCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 12.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Gets the number of charts in the MultiChart.

Returns the number of charts in the MultiChart.

CDMultiChartMBS.setMainChart(c as CDBaseChartMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the chart that receives view port mouse actions (for zooming and scrolling support).

ArgumentDefaultDescription
c(Mandatory)The chart that is to receive view port mouse actions.

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


The biggest plugin in space...