ChartView¶
Chart view used in ChartContent and ObjectHeaderChart.
When assigning a rule to a property of ChartView, the rule will be passed an instance of the following proxy class as an argument:
ChartView Properties¶
| Property | Type | Required | Default |
|---|---|---|---|
| CategoryAxisTitle | string |
No | |
| CategoryTitles | string[] |
No | |
| ChartHeight | integer |
No | 650 |
| ChartType | enum |
No | "Line" |
| Data | integer[][] |
No | |
| NoDataText | string |
No | |
| SeriesColor | string[] |
No | |
| SeriesTitles | string[] |
No | |
| TrendItems | object[] |
No | |
| ValueAxisTitle | string |
No |
CategoryAxisTitle¶
The title for X-Axis
- type:
string
CategoryTitles¶
- type:
string[]
All items must be of the type: string
ChartHeight¶
Provide chart height in dp. Only for android.
- type:
integer - default:
650
ChartType¶
- type:
enum - default:
"Line"
The value of this property must be one of the known values listed below.
ChartType Known Values¶
| Value | Description |
|---|---|
Line |
|
Column |
|
Bar |
|
Donut |
Data¶
Data contains the values for each series. It expect an array that contains integer arrays. Each array element represents data for a series.
- type:
integer[][](nested array)
Nested array type: integer[]
All items must be of the type: integer
NoDataText¶
Placeholder text when chart data is not available. If this is absent, no text will be displayed when chart data is empty.
- type:
string
SeriesColor¶
Each string must represent hex-code of color. iOS only, it is not configurable in Android.
- type:
string[]
All items must be of the type: string
SeriesTitles¶
- type:
string[]
All items must be of the type: string
TrendItems¶
Can be used to display trends of data. This is only for iOS and only when the chart content is interactive.
- type:
object[]
All items must be of the type: object with following properties:
| Property | Type | Required |
|---|---|---|
TrendImage |
No | |
TrendTitle |
string | No |
TrendImage¶
This is only for iOS, not supported in Android.
- type: Image
TrendTitle¶
This is only for iOS, not supported in Android.
- type:
string
ValueAxisTitle¶
The title for Y-Axis
- type:
string