Difference between revisions of "Chart"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 18: | Line 18: | ||
!width="50%"|Description | !width="50%"|Description | ||
|- | |- | ||
− | |valign="top"| | + | |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"| | + | |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"| | + | |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"| | + | |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"| | + | |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"| | + | |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"| | + | |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"| | + | |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"| | + | |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"| | + | |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"| | + | |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"| | + | |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"| | + | |valign="top"|ChartHeight |
|valign="top"|RW | |valign="top"|RW | ||
|valign="top"|Numeric | |valign="top"|Numeric | ||
− | |valign="top"| | + | |valign="top"|The chart height. |
|- | |- | ||
− | |valign="top"| | + | |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"| | + | |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"| | + | |valign="top"|ChartLabels |
|valign="top"|RW | |valign="top"|RW | ||
|valign="top"|Character | |valign="top"|Character | ||
− | |valign="top"| | + | |valign="top"|The chart labels. |
|- | |- | ||
− | |valign="top"| | + | |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"| | + | |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"| | + | |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"| | + | |valign="top"|ChartTitle |
|valign="top"|RW | |valign="top"|RW | ||
|valign="top"|Character | |valign="top"|Character | ||
− | |valign="top"| | + | |valign="top"|The chart title. |
|- | |- | ||
− | |valign="top"| | + | |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"| | + | |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"| | + | |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"| | + | |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"| | + | |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.
Contents
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