ChartView¶
Chart view used in ChartContent and ObjectHeaderChart.
ChartView Properties¶
Property | Type | Required | Default |
---|---|---|---|
CategoryAxisTitle | string |
Optional | |
CategoryTitles | string[] |
Optional | |
ChartHeight | integer |
Optional | 650 |
ChartType | enum |
Optional | "Line" |
Data | integer[][] |
Optional | |
NoDataText | string |
Optional | |
SeriesColor | string[] |
Optional | |
SeriesTitles | string[] |
Optional | |
TrendItems | object[] |
Optional | |
ValueAxisTitle | string |
Optional |
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 equal to one of the known values below.
ChartType Known Values¶
Value | Description |
---|---|
Line |
|
Column |
|
Bar |
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 |
Optional | |
TrendTitle |
string | Optional |
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