Chart QML Type
Abstract base class for all charts. More...
| Import Statement: | import org.kde.quickcharts |
| Inherited By: |
Properties
- colorSource : ChartDataSource
- highlight : int
- indexingMode : enumeration
- nameSource : ChartDataSource
- shortNameSource : ChartDataSource
- valueSources : list<ChartDataSource>
Detailed Description
Property Documentation
colorSource : ChartDataSource
The data source to use for colors of chart items.
highlight : int
The index of a value source to highlight.
Highlighting is dependant on Chart type, but will generally mean that other value sources are rendered with lower opacity.
By default, this is -1 which means nothing is highlighted.
indexingMode : enumeration
The indexing mode used for indexing colors and names.
The default value is Chart.IndexEachSource.
| Constant | Description |
|---|---|
Chart.IndexSourceValues | Index each value, restart indexing for each value source. |
Chart.IndexEachSource | Index each value source, never index individual values. |
Chart.IndexAllValues | Index each value, continuing with the index for each value source. |
nameSource : ChartDataSource
The data source to use for names of chart items.
shortNameSource : ChartDataSource
The data source to use for short names of chart items.
valueSources : list<ChartDataSource>
The data sources providing the data this chart needs to render.