CDLegendBoxMBS class
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
CDLegendBoxMBS class
Super class: CDTextBoxMBS
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)
- 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)
This class has no sub classes.
Some methods using this class:
Some examples using this class:
Blog Entries
Xojo Developer Magazine
- 7.5, page 32: Easy Charts and Graphs Part 2, Using the ChartDirector Plugin
- 7.4, page 34: Easy Charts and Graphs, Using the ChartDirector Plugin
- 20.4, page 40: PDF Pie Charts, Adding Xojo Charts to Your PDFs by Stefanie Juchmes
- 20.1, page 46: Cool Charts and Heatmaps, Using Monkeybread Software's ChartDirector Plugin by Stefanie Juchmes
- 18.5, page 71: Xojo Charts, Charts in Xojo with the MBS Xojo ChartDirector plugin by Stefanie Juchmes
The items on this page are in the following plugins: MBS ChartDirector Plugin.
CDLayerMBS
-
CDLinearMeterMBS