Pages
API Documentation
On this page

Chart QML Type

Abstract base class for all charts. More...

  • Import Statement: import org.kde.quickcharts
  • Inherited By: PieChart and XYChart

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.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.