Platforms to show: All Mac Windows Linux Cross-Platform

CDLegendBoxMBS class

Super class: CDTextBoxMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class ChartDirector MBS ChartDirector Plugin 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The class LegendBox represents legend boxes.

Subclass of the CDTextBoxMBS class.
This is a subclass of an abstract class. You can't create an instance, but you can get one from various plugin functions.

  • 15 methods
    • method addKey(pos as Integer, text as string, colorvalue as color, lineWidth as Integer = -1, drawarea as CDDrawAreaMBS=nil)
    • method addKey(pos as Integer, text as string, colorvalue as Integer, lineWidth as Integer = -1, drawarea as CDDrawAreaMBS=nil)
    • method addKey(text as string, colorvalue as color, lineWidth as Integer = -1, drawarea as CDDrawAreaMBS=nil)
    • method addKey(text as string, colorvalue as Integer, lineWidth as Integer = -1, drawarea as CDDrawAreaMBS=nil)
    • method addText(pos as Integer, text as string)
    • method addText(text as string)
    • method getHTMLImageMap(url as string, queryFormat as string = "", extraAttr as string = "", offsetX as Integer = 0, offsetY as Integer = 0) as string
    • method getImageCoor(dataItem as Integer, offsetX as Integer = 0, offsetY as Integer = 0) as string
    • method setCols(noOfCols as Integer)
    • method setKeyBorder(edgeColor as color, raisedEffect as Integer = 0)
    • method setKeyBorder(edgeColor as Integer, raisedEffect as Integer = 0)
    • method setKeySize(width as Integer = -1, height as Integer = -1, gap as Integer = -1)
    • method setKeySpacing(keySpacing as Integer, lineSpacing as Integer = -1)
    • method setLineStyleKey(b as boolean=true)
    • method setReverse(b as boolean=true)

Super class CDTextBoxMBS

Super class CDBoxMBS

  • 11 methods
    • method Constructor   Private
    • method getHeight as Integer
    • method getImageCoor(OffsetX as Integer = 0, OffsetY as Integer = 0) as string
    • method getLeftX as Integer
    • method getTopY as Integer
    • method getWidth as Integer
    • method setBackground(colorvalue as color, edgeColor as color, raisedEffect as Integer = 0)
    • method setBackground(colorvalue as Integer, edgeColor as Integer = -1, raisedEffect as Integer = 0)
    • method setPos(x as Integer, y as Integer)
    • method setRoundedCorners(r1 as Integer = 10, r2 as Integer = -1, r3 as Integer = -1, r4 as Integer = -1)
    • method setSize(w as Integer, h as Integer)

Super class CDDrawObjMBS

This class has no sub classes.

Some methods using this class:

Some examples using this class:

Blog Entries

Xojo Developer Magazine


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


CDLayerMBS   -   CDLinearMeterMBS


The biggest plugin in space...