MBS Xojo Developer Conference and Training
Join us from 11th to 14th September 2013 in Koblenz.
Join us from 11th to 14th September 2013 in Koblenz.
Platforms to show: All Mac Windows Linux Cross-Platform
CDBaseChartMBS class
class, ChartDirector,
MBS Real Studio ChartDirector Plugin
(ChartDirector5),
class CDBaseChartMBS,
Plugin version: 8.2, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: The BaseChart class is an abstract class containing methods that are common to all chart types.
Plugin version: 8.2, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: The BaseChart class is an abstract class containing methods that are common to all chart types.
- method addExtraField(numbers() as double)
- method addExtraField(paths() as folderitem)
- method addExtraField(texts() as string)
- method addLegend(x as integer, y as integer, noOfCols as integer, font as string = "", fontsize as double = 10) as CDLegendBoxMBS
- method addLegend(x as integer, y as integer, vertical as boolean=true, font as string = "", fontsize as double = 10) as CDLegendBoxMBS
- method addLine(x1 as integer, y1 as integer, x2 as integer, y2 as integer, colorvalue as color, lineWidth as integer = 1) as CDLineMBS
- method addLine(x1 as integer, y1 as integer, x2 as integer, y2 as integer, colorvalue as integer = &hffff0001, lineWidth as integer = 1) as CDLineMBS
- method addTable(x as integer, y as integer, alignment as integer, col as integer, row as integer) as CDMLTableMBS
- method addText(x as integer, y as integer, text as string, font as string = "", fontsize as double = 8, fontcolor as integer = &hffff0002, alignment as integer = 7, angle as double = 0, vertical as boolean=false) as CDTextBoxMBS
- method addText(x as integer, y as integer, text as string, font as string, fontsize as double, fontcolor as color, alignment as integer = 7, angle as double = 0, vertical as boolean=false) as CDTextBoxMBS
- method addTitle(alignment as integer, text as string, font as string = "", fontsize as double = 12, fontColor as integer = &hffff0002, bgColor as integer = &hff000000, edgeColor as integer = &hff000000) as CDTextBoxMBS
- method addTitle(alignment as integer, text as string, font as string, fontsize as double, fontColor as color, bgColor as color, edgeColor as color) as CDTextBoxMBS
- method addTitle(text as string, font as string = "", fontsize as double = 12, fontColor as integer = &hffff0002, bgColor as integer = &hff000000, edgeColor as integer = &hff000000) as CDTextBoxMBS
- method addTitle(text as string, font as string, fontsize as double, fontColor as color, bgColor as color, edgeColor as color) as CDTextBoxMBS
- method adjustBrightness(ColorValue as color, brightness as double) as integer
- method adjustBrightness(ColorValue as integer, brightness as double) as integer
- shared method AllPassFilter as integer
- shared method barLighting(startBrightness as double = 0.75, endBrightness as double = 1.5) as integer
- shared method blueMetalGradient as integer()
- shared method brushedGoldColor(texture as integer = 2, angle as integer = 90) as integer
- shared method brushedMetalColor(c as integer, texture as integer = 2, angle as integer = 90) as integer
- shared method brushedSilverColor(texture as integer = 2, angle as integer = 90) as integer
- shared method bSearch(values() as double, value as double) as double
- shared method chartTime(t as integer) as double
- shared method chartTime(year as integer, month as integer, day as integer, hour as integer = 0, minute as integer = 0, second as integer = 0) as double
- shared method ClearTypeColor(gamma as double = 0) as integer
- shared method ClearTypeMono(gamma as double = 0) as integer
- shared method ColorToInteger(c as color, alpha as integer = 0) as integer
- shared method Cross2Shape(width as double = 0.5) as integer
- shared method CrossShape(width as double = 0.5) as integer
- shared method cylinderEffect(orientation as integer = 5, ambientIntensity as double = 0.5, diffuseIntensity as double = 0.5, specularIntensity as double = 0.75, shininess as integer = 8) as integer
- method dashLineColor(colorvalue as color, patternCode as integer = &h0505) as integer
- method dashLineColor(colorvalue as integer, patternCode as integer = &h0505) as integer
- shared method defaultPalette as integer()
- method Destructor
- method enableVectorOutput
- method formatValue(value as double, formatstring as string) as string
- method getAbsOffsetX as integer
- method getAbsOffsetY as integer
- method getChartMetrics as string
- shared method getChartWeekDay(t as double) as integer
- shared method getChartYMD(t as double) as integer
- method getColor(index as integer) as integer
- shared method getCopyright as string
- shared method getDescription as string
- method getDrawArea as CDDrawAreaMBS
- method getHeight as integer
- method getHTMLImageMap(url as string, queryFormat as string = "", extraAttr as string = "", offsetX as integer = 0, offsetY as integer = 0) as string
- method getLegend as CDLegendBoxMBS
- shared method GetPath(path as folderitem) as string
- shared method getVersion as integer
- method getWidth as integer
- shared method glassEffect(glareSize as integer = 3, glareDirection as integer = 8, raisedEffect as integer = 5) as integer
- shared method goldColor(angle as integer = 90) as integer
- shared method goldGradient as integer()
- method gradientColor(colors() as color, angle as double = 90, scale as double = 1.0, startX as integer = 0, startY as integer = 0) as integer
- method gradientColor(colors() as integer, angle as double = 90, scale as double = 1.0, startX as integer = 0, startY as integer = 0) as integer
- method gradientColor(startX as integer, startY as integer, endX as integer, endY as integer, startColor as color, endColor as color) as integer
- method gradientColor(startX as integer, startY as integer, endX as integer, endY as integer, startColor as integer, endColor as integer) as integer
- shared method greenMetalGradient as integer()
- method halfColor(c as integer) as integer
- method initDynamicLayer as CDDrawAreaMBS
- shared method kDataBound as double
- shared method kLinearTick as double
- shared method kLogTick as double
- shared method kMicroTickOnly as double
- shared method kMinorTickOnly as double
- shared method kNoValue as double
- shared method kTickInc as double
- shared method kTouchBar as double
- method layout
- method layoutLegend as CDLegendBoxMBS
- method linearGradientColor(startX as integer, startY as integer, endX as integer, endY as integer, colors() as color, periodic as boolean=false) as integer
- method linearGradientColor(startX as integer, startY as integer, endX as integer, endY as integer, colors() as integer, periodic as boolean=false) as integer
- method linearGradientColor(startX as integer, startY as integer, endX as integer, endY as integer, startColor as color, endColor as color, periodic as boolean=false) as integer
- method linearGradientColor(startX as integer, startY as integer, endX as integer, endY as integer, startColor as integer, endColor as integer, periodic as boolean=false) as integer
- method makeChart as CDDrawAreaMBS
- method makeChart(format as integer) as string
- method makeChart(path as folderitem) as boolean
- method makeChartPicture as picture
- shared method metalColor(c as integer, angle as integer = 90) as integer
- shared method NonePassFilter as integer
- method patternColor(colorvalues() as color, height as integer, startX as integer = 0, startY as integer = 0) as integer
- method patternColor(colorvalues() as integer, height as integer, startX as integer = 0, startY as integer = 0) as integer
- method patternColor(file as folderitem, startX as integer = 0, startY as integer = 0) as integer
- method patternColor(pic as picture, startX as integer = 0, startY as integer = 0) as integer
- shared method phongLighting(ambientIntensity as double = 0.5, diffuseIntensity as double = 0.5, specularIntensity as double = 0.75, shininess as integer = 8) as integer
- shared method Polygon2Shape(slide as integer) as integer
- shared method PolygonShape(slide as integer) as integer
- shared method PolynomialRegression(n as integer) as integer
- method radialGradientColor(cx as integer, cy as integer, rx as integer, ry as integer, data() as integer, periodic as boolean=false) as integer
- method radialGradientColor(cx as integer, cy as integer, rx as integer, ry as integer, startColor as color, endColor as color, periodic as boolean=false) as integer
- method radialGradientColor(cx as integer, cy as integer, rx as integer, ry as integer, startColor as integer, endColor as integer, periodic as boolean=false) as integer
- shared method redMetalGradient as integer()
- shared method RegularSpacingFilter(labelStep as integer = 1, initialMargin as integer = 0) as integer
- method removeDynamicLayer
- shared method RGB(r as integer, g as integer, b as integer, a as integer = 0) as integer
- shared method SelectItemFilter(item as integer) as integer
- method setAMPM(am as string, pm as string)
- method setAntiAlias(shapeAntiAlias as Boolean, textAntiAlias as integer)
- method setBackground(colorvalue as color, edgeColor as color, raisedEffect as integer = 0)
- method setBackground(colorvalue as integer, edgeColor as integer = &hff000000, raisedEffect as integer = 0)
- method setBgImage(img as string, align as integer = 5)
- method setBorder(colorvalue as color)
- method setBorder(colorvalue as integer)
- method setColor(paletteEntry as integer, colorvalue as color)
- method setColor(paletteEntry as integer, colorvalue as integer)
- method setColors(numbers() as color)
- method setColors(numbers() as integer)
- method setColors(paletteEntry as integer, numbers() as color)
- method setColors(paletteEntry as integer, numbers() as integer)
- method setDefaultColors(paletteEntry as integer = 0)
- method setDefaultFonts(normal as string, bold as string, italic as string, boldItalic as string)
- method setDropShadow(ColorValue as color, OffsetX as integer = 5, OffsetY as integer = &h7fffffff, blurRadius as integer = 5)
- method setDropShadow(ColorValue as integer = &hAAAAAA, OffsetX as integer = 5, OffsetY as integer = &h7fffffff, blurRadius as integer = 5)
- shared method SetFontSearchPath(path as string)
- method setFontTable(index as integer, font as string)
- shared method setLicenseCode(n as string, enddate as integer, v1 as integer, v2 as integer)
- method setMonthNames(names() as string)
- method setNumberFormat(thousandSeparator as string = "~", decimalPointChar as string = ".", signChar as string = "-")
- method setRoundedFrame(extColor as color, r1 as integer = 10, r2 as integer = -1, r3 as integer = -1, r4 as integer = -1)
- method setRoundedFrame(extColor as integer = &hFFFFFF, r1 as integer = 10, r2 as integer = -1, r3 as integer = -1, r4 as integer = -1)
- method setSearchPath(path as string)
- method setSize(width as integer, height as integer)
- method setTransparentColor(c as color)
- method setTransparentColor(c as integer)
- method setTransparentColors(paletteEntry as integer = 0)
- method setWallpaper(img as folderitem)
- method setWeekDayNames(names() as string)
- method setWhiteOnBlackColors(paletteEntry as integer = 0)
- shared method silverColor(angle as integer = 90) as integer
- shared method silverGradient as integer()
- shared method softLighting(direction as integer = 8, raisedEffect as integer = 4) as integer
- shared method StarShape(slide as integer) as integer
- shared method StartOfDayFilter(labelStep as integer = 1, initialMargin as double = 0.05) as integer
- shared method StartOfHourFilter(labelStep as integer = 1, initialMargin as double = 0.05) as integer
- shared method StartOfMonthFilter(labelStep as integer = 1, initialMargin as double = 0.05) as integer
- shared method StartOfWeekFilter(labelStep as integer = 1, initialMargin as double = 0.05) as integer
- shared method StartOfYearFilter(labelStep as integer = 1, initialMargin as double = 0.05) as integer
- shared method testFont(font as string, fontIndex as integer, fontHeight as double, fontWidth as double, angle as double, byref buffer as string) as boolean
- shared method transparentPalette as integer()
- shared method whiteOnBlackPalette as integer()
- const kAggregateAvg = 1
- const kAggregateCount = 9
- const kAggregateFirst = 7
- const kAggregateLast = 8
- const kAggregateMax = 5
- const kAggregateMed = 4
- const kAggregateMin = 3
- const kAggregatePercentile = 6
- const kAggregateStdDev = 2
- const kAggregateSum = 0
- const kAltDashLine = &h0A050505
- const kAngularAxisScale = 1
- const kAntiAlias = 1
- const kArrowPointer = 2
- const kArrowPointer2 = 3
- const kAutoAntiAlias = 2
- const kAutoGrid = -2
- const kBackgroundColor = &hFFFF0000
- const kBesselFilter = 13
- const kBlackmanFilter = 12
- const kBMP = 4
- const kBottom = 2
- const kBottomCenter = 2
- const kBottomLeft = 1
- const kBottomLeft2 = 12
- const kBottomRight = 3
- const kBottomRight2 = 13
- const kBoxFilter = 0
- const kBSplineFilter = 3
- const kCatromFilter = 5
- const kCenter = 5
- const kChartBackZ = &h100
- const kChartDir_AllPassFilterTag = 7
- const kChartDir_CustomSymbol = 14
- const kChartDir_NonePassFilterTag = 8
- const kChartDir_Polygon2Symbol = 12
- const kChartDir_PolygonSymbol = 11
- const kChartDir_RegularSpacingFilterTag = 6
- const kChartDir_SelectItemFilterTag = 9
- const kChartDir_StarSymbol = 13
- const kChartDir_StartOfDayFilterTag = 2
- const kChartDir_StartOfHourFilterTag = 1
- const kChartDir_StartOfMonthFilterTag = 4
- const kChartDir_StartOfWeekFilterTag = 3
- const kChartDir_StartOfYearFilterTag = 5
- const kChartFrontZ = &hffff
- const kCircleLayout = 1
- const kCircleShape = 7
- const kCircleShapeNoShading = 10
- const kCircleSymbol = 7
- const kClearType = 3
- const kCompatAntiAlias = 6
- const kConcaveShading = 4
- const kConstrainedLinearRegression = 0
- const kCross2Symbol = 9
- const kCrossSymbol = 8
- const kDashLine = &h0505
- const kDataColor = &hFFFF0008
- const kDefaultShading = 0
- const kDepth = 2
- const kDiamondPointer = 0
- const kDiamondShape = 2
- const kDiamondSymbol = 2
- const kDirectionHorizontal = 0
- const kDirectionHorizontalVertical = 2
- const kDirectionVertical = 1
- const kDotDashLine = &h05050205
- const kDotLine = &h0202
- const kEndPoints = 3
- const kErrorDiffusion = 2
- const kExponentialRegression = -1
- const kFlatShading = 1
- const kForcePalette = 1
- const kGaussianFilter = 9
- const kGIF = 1
- const kGlassSphere2Shape = 16
- const kGlassSphereShape = 15
- const kGlobalGradientShading = 3
- const kGridLinesZ = &h2000
- const kHammingFilter = 11
- const kHanningFilter = 10
- const kHermiteFilter = 4
- const kHLOCDefault = 0
- const kHLOCOpenClose = 1
- const kHLOCUpDown = 2
- const kInvertedTriangleShape = 6
- const kInvertedTriangleSymbol = 6
- const kJPG = 2
- const kLanczosFilter = 8
- const kLeft = 4
- const kLeftTriangleShape = 5
- const kLeftTriangleSymbol = 5
- const kLinearFilter = 1
- const kLinearRegression = 1
- const kLineColor = &hFFFF0001
- const kLinePointer = 4
- const kLocalGradientShading = 2
- const kLogarithmicRegression = -2
- const kMitchellFilter = 6
- const kMonotonicAuto = 4
- const kMonotonicNone = 0
- const kMonotonicX = 1
- const kMonotonicXY = 3
- const kMonotonicY = 2
- const kNoAntiAlias = 0
- const kNoGlare = 1
- const kNoLegend = 2
- const kNoPalette = 2
- const kNormalGlare = 3
- const kNormalLegend = 0
- const kNoShape = 0
- const kNoSymbol = 0
- const kOrderedDither = 1
- const kOverlay = 0
- const kPalette = &hFFFF0000
- const kPencilPointer = 5
- const kPercentage = 4
- const kPixelScale = 0
- const kPlotAreaZ = &h1000
- const kPNG = 0
- const kQuadraticFilter = 2
- const kQuantize = 0
- const kRadialAxisScale = 2
- const kRadialShading = 7
- const kRectangularFrame = 4
- const kRectangularShading = 2
- const kReducedGlare = 2
- const kReverseLegend = 1
- const kRight = 6
- const kRightTriangleShape = 4
- const kRightTriangleSymbol = 4
- const kRingShading = 8
- const kRoundedEdgeNoGlareShading = 5
- const kRoundedEdgeShading = 6
- const kSameAsMainColor = &hFFFF0007
- const kSide = 3
- const kSideLayout = 0
- const kSincFilter = 7
- const kSmoothShading = 0
- const kSolidSphereShape = 17
- const kSquareShape = 1
- const kSquareSymbol = 1
- const kStack = 1
- const kSVG = 5
- const kSVGZ = 6
- const kTextColor = &hFFFF0002
- const kTop = 8
- const kTopCenter = 8
- const kTopLeft = 7
- const kTopLeft2 = 10
- const kTopRight = 9
- const kTopRight2 = 11
- const kTransparent = &hFF000000
- const kTriangleShape = 3
- const kTriangleSymbol = 3
- const kTriangularFrame = 3
- const kTriangularPointer = 1
- const kTriangularShading = 1
- const kTryPalette = 0
- const kWMP = 3
- const kXAxisAtOrigin = 1
- const kXAxisScale = 1
- const kXAxisSymmetric = 1
- const kXAxisSymmetricIfNeeded = 2
- const kXYAxisAtOrigin = 3
- const kXYAxisSymmetric = 16
- const kXYAxisSymmetricIfNeeded = 32
- const kYAxisAtOrigin = 2
- const kYAxisScale = 2
- const kYAxisSymmetric = 4
- const kYAxisSymmetricIfNeeded = 8
Sub classes:
- class CDBaseMeterMBS
- class CDMultiChartMBS
- class CDPieChartMBS
- class CDPolarChartMBS
- class CDPyramidChartMBS
- class CDThreeDChartMBS
- class CDXYChartMBS
Some methods using this class:
- CDMultiChartMBS.addChart(x as integer, y as integer, c as CDBaseChartMBS)
- CDMultiChartMBS.getChart(index as Integer) as CDBaseChartMBS
- CDMultiChartMBS.setMainChart(c as CDBaseChartMBS)
- CDViewPortManagerMBS.commitPendingSyncAxis(baseChart as CDBaseChartMBS)
Some examples which use this class:
- /ChartDirector/binaryseries
- /ChartDirector/ChartDirector Control
- /ChartDirector/ChartDirector Control for Web
- /ChartDirector/datatable
- /ChartDirector/finance with ChartDirector Control
- /ChartDirector/High Resolution Chart Examples/multivmeter
- /ChartDirector/High Resolution Chart Examples/squareameter
- /ChartDirector/High Resolution Chart Examples/surfaceaxis
- /ChartDirector/hlinearmeter
- /ChartDirector/linearzonemeter
- /ChartDirector/math function plot
- /ChartDirector/math function plot centered
- /ChartDirector/math function plot centered and axes
- /ChartDirector/multiameter
- /ChartDirector/multiameter with controls
- /ChartDirector/multihmeter
- /ChartDirector/multivmeter
- /ChartDirector/roundmeter
- /ChartDirector/roundmeter with control
- /ChartDirector/roundmeters with animation
- /ChartDirector/semicirclemeter
The items on this page are in the following plugins: MBS Real Studio ChartDirector Plugin.
Links
Christians Software aus Nickenich