Platforms to show: All Mac Windows Linux Cross-Platform

CDPlotAreaMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The PlotArea class represents plot areas in XY charts.

This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

  • 19 methods
    • method Constructor   Private
    • method getBottomY as Integer
    • method getHeight as Integer
    • method getLeftX as Integer
    • method getRightX as Integer
    • method getTopY as Integer
    • method getWidth as Integer
    • method moveGridBefore(layer as CDLayerMBS=nil)
    • method set4QBgColor(Q1Color as color, Q2Color as color, Q3Color as color, Q4Color as color, edgeColor as color)
    • method set4QBgColor(Q1Color as Integer, Q2Color as Integer, Q3Color as Integer, Q4Color as Integer, edgeColor as Integer = -1)
    • method setAltBgColor(horizontal as Boolean, color1 as color, color2 as color, edgeColor as color)
    • method setAltBgColor(horizontal as Boolean, color1 as Integer, color2 as Integer, edgeColor as Integer = -1)
    • method setBackground(colorvalue as color, altBgColor as color, edgeColor as color)
    • method setBackground(colorvalue as Integer, altBgColor as Integer = -1, edgeColor as Integer = -1)
    • method setBackground(file as folderitem, align as Integer = 5)
    • method setGridAxis(xGridAxis as CDAxisMBS, yGridAxis as CDAxisMBS)
    • method setGridColor(hGridColor as color, vGridColor as color, minorHGridColor as color, minorVGridColor as color)
    • method setGridColor(hGridColor as Integer, vGridColor as Integer = &hff000000, minorHGridColor as Integer = -1, minorVGridColor as Integer = -1)
    • method setGridWidth(hGridWidth as Integer, vGridWidth as Integer = -1, minorHGridWidth as Integer = -1, minorVGridWidth as Integer = -1)

This class has no sub classes.

Some methods using this class:

  • CDXYChartMBS.getPlotArea as CDPlotAreaMBS
  • CDXYChartMBS.setPlotArea(x as Integer, y as Integer, width as Integer, height as Integer, bgColor as color, altBgColor as color, edgeColor as color, hGridColor as color, vGridColor as color) as CDPlotAreaMBS
  • CDXYChartMBS.setPlotArea(x as Integer, y as Integer, width as Integer, height as Integer, bgColor as Integer = &hff000000, altBgColor as Integer = -1, edgeColor as Integer = -1, hGridColor as Integer = &hc0c0c0, vGridColor as Integer = &hff000000) as CDPlotAreaMBS

Some examples using this class:

Blog Entries

Xojo Developer Magazine


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


CDPieChartMBS   -   CDPolarAreaLayerMBS


The biggest plugin in space...