Difference between revisions of "Chart"

From Lianjapedia
Jump to: navigation, search
Line 18: Line 18:
 
!width="50%"|Description
 
!width="50%"|Description
 
|-
 
|-
|valign="top"|chartbackcolor
+
|valign="top"|ChartBackColor
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Character
 
|valign="top"|Character
|valign="top"|
+
|valign="top"|The color of the chart canvas as an html-like color.
 
|-
 
|-
|valign="top"|chartcolors
+
|valign="top"|ChartColors
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Character
 
|valign="top"|Character
|valign="top"|
+
|valign="top"|A comma separated list of html-style colors (one for each segment).
 
|-
 
|-
|valign="top"|chartdata
+
|valign="top"|ChartData
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Character
 
|valign="top"|Character
|valign="top"|
+
|valign="top"|The comma separated list of chart data. For grouped data, separate the groups with a | character.
 
|-
 
|-
|valign="top"|chartdelegate
+
|valign="top"|ChartDelegate
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Character
 
|valign="top"|Character
|valign="top"|
+
|valign="top"|An optional delegate to be called when segments of the chart are selected. By default the 'tooltip' for the segment selected will be used as a search key in any child sections.
 
|-
 
|-
|valign="top"|charteffects
+
|valign="top"|ChartEffects
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Boolean
 
|valign="top"|Boolean
|valign="top"|
+
|valign="top"|Enable or disable special effects for displaying the chart (True | False).
 
|-
 
|-
|valign="top"|chartgradient
+
|valign="top"|ChartGradient
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Boolean
 
|valign="top"|Boolean
|valign="top"|
+
|valign="top"|Enable or disable gradient colors (True | False).
 
|-
 
|-
|valign="top"|chartgradientend
+
|valign="top"|ChartGradientEnd
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Character
 
|valign="top"|Character
|valign="top"|
+
|valign="top"|The end gradient color.
 
|-
 
|-
|valign="top"|chartgradientstart
+
|valign="top"|ChartGradientStart
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Character
 
|valign="top"|Character
|valign="top"|
+
|valign="top"|The start gradient color.
 
|-
 
|-
|valign="top"|chartgutterbottom
+
|valign="top"|ChartGutterBottom
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Numeric
 
|valign="top"|Numeric
|valign="top"|
+
|valign="top"|The chart bottom gutter height in pixels.
 
|-
 
|-
|valign="top"|chartgutterleft
+
|valign="top"|ChartGutterLeft
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Numeric
 
|valign="top"|Numeric
|valign="top"|
+
|valign="top"|The chart left gutter width in pixels.
 
|-
 
|-
|valign="top"|chartgutterright
+
|valign="top"|ChartGutterRight
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Numeric
 
|valign="top"|Numeric
|valign="top"|
+
|valign="top"|The chart right gutter width in pixels.
 
|-
 
|-
|valign="top"|chartguttertop  
+
|valign="top"|ChartGutterTop  
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Numeric
 
|valign="top"|Numeric
|valign="top"|
+
|valign="top"|The chart top gutter height in pixels.
 
|-
 
|-
|valign="top"|chartheight
+
|valign="top"|ChartHeight
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Numeric
 
|valign="top"|Numeric
|valign="top"|
+
|valign="top"|The chart height.
 
|-
 
|-
|valign="top"|chartkeylabels
+
|valign="top"|ChartKeyLabels
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Character
 
|valign="top"|Character
|valign="top"|
+
|valign="top"|The chart legend labels.
 
|-
 
|-
|valign="top"|chartlabelforecolor
+
|valign="top"|ChartLabelForeColor
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Character
 
|valign="top"|Character
|valign="top"|
+
|valign="top"|The chart label foreground color.
 
|-
 
|-
|valign="top"|chartlabels
+
|valign="top"|ChartLabels
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Character
 
|valign="top"|Character
|valign="top"|
+
|valign="top"|The chart labels.
 
|-
 
|-
|valign="top"|chartlabelsabove
+
|valign="top"|ChartLabelsAbove
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Boolean
 
|valign="top"|Boolean
|valign="top"|
+
|valign="top"|Enable or disable displaying a summary label next to the segment (True | False).
 
|-
 
|-
|valign="top"|chartshadow
+
|valign="top"|ChartShadow
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Boolean
 
|valign="top"|Boolean
|valign="top"|
+
|valign="top"|Enable or disable 3D shadowing (True | False).
 
|-
 
|-
|valign="top"|charttable
+
|valign="top"|ChartTable
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Character
 
|valign="top"|Character
|valign="top"|
+
|valign="top"|The table for the chart.
 
|-
 
|-
|valign="top"|charttitle
+
|valign="top"|ChartTitle
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Character
 
|valign="top"|Character
|valign="top"|
+
|valign="top"|The chart title.
 
|-
 
|-
|valign="top"|charttitlebackcolor
+
|valign="top"|ChartTitleBackColor
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Character
 
|valign="top"|Character
|valign="top"|
+
|valign="top"|The chart title background color.
 
|-
 
|-
|valign="top"|charttitleforecolor
+
|valign="top"|ChartTitleForeColor
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Character
 
|valign="top"|Character
|valign="top"|
+
|valign="top"|The chart title foreground color.
 
|-
 
|-
|valign="top"|charttooltips
+
|valign="top"|ChartTooltips
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Character
 
|valign="top"|Character
|valign="top"|
+
|valign="top"|A comma separated list of tooltips that are passed to the delegate.
 
|-
 
|-
|valign="top"|charttype
+
|valign="top"|ChartType
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Character
 
|valign="top"|Character
|valign="top"|
+
|valign="top"|Known chart type: "Horizontal Bar" | "Vertical Bar" | "Line" | "Pie" | "Gantt" | "Bipolar" | "Funnel" | "Radar" | "Rose" | "Scatter" | "Radial Scatter" | "Thermometer" | "Waterfall" | "Vertical Progress Bar" | "Horizontal Progress Bar".
 
|-
 
|-
|valign="top"|chartwidth
+
|valign="top"|ChartWidth
 
|valign="top"|RW
 
|valign="top"|RW
 
|valign="top"|Numeric
 
|valign="top"|Numeric
|valign="top"|
+
|valign="top"|The chart width.
 
|-
 
|-
 
|}
 
|}

Revision as of 06:17, 22 November 2017

Under Construction


Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.

Description

Wraps a Chart Gadget.

Properties

This class supports the Common Properties plus the following:

Property Access (R/RW) Value Description
ChartBackColor RW Character The color of the chart canvas as an html-like color.
ChartColors RW Character A comma separated list of html-style colors (one for each segment).
ChartData RW Character The comma separated list of chart data. For grouped data, separate the groups with a | character.
ChartDelegate RW Character An optional delegate to be called when segments of the chart are selected. By default the 'tooltip' for the segment selected will be used as a search key in any child sections.
ChartEffects RW Boolean Enable or disable special effects for displaying the chart (True | False).
ChartGradient RW Boolean Enable or disable gradient colors (True | False).
ChartGradientEnd RW Character The end gradient color.
ChartGradientStart RW Character The start gradient color.
ChartGutterBottom RW Numeric The chart bottom gutter height in pixels.
ChartGutterLeft RW Numeric The chart left gutter width in pixels.
ChartGutterRight RW Numeric The chart right gutter width in pixels.
ChartGutterTop RW Numeric The chart top gutter height in pixels.
ChartHeight RW Numeric The chart height.
ChartKeyLabels RW Character The chart legend labels.
ChartLabelForeColor RW Character The chart label foreground color.
ChartLabels RW Character The chart labels.
ChartLabelsAbove RW Boolean Enable or disable displaying a summary label next to the segment (True | False).
ChartShadow RW Boolean Enable or disable 3D shadowing (True | False).
ChartTable RW Character The table for the chart.
ChartTitle RW Character The chart title.
ChartTitleBackColor RW Character The chart title background color.
ChartTitleForeColor RW Character The chart title foreground color.
ChartTooltips RW Character A comma separated list of tooltips that are passed to the delegate.
ChartType RW Character Known chart type: "Horizontal Bar" | "Vertical Bar" | "Line" | "Pie" | "Gantt" | "Bipolar" | "Funnel" | "Radar" | "Rose" | "Scatter" | "Radial Scatter" | "Thermometer" | "Waterfall" | "Vertical Progress Bar" | "Horizontal Progress Bar".
ChartWidth RW Numeric The chart width.

Methods

This class supports the Common Methods

Events

This class supports the Common Events