LineChartControl QML Type
A line chart with legend, grid and axis labels. More...
| Import Statement: | import org.kde.quickcharts.controls |
Properties
- chart : LineChart
- color : color
- fillOpacity : real
- highlightEnabled : bool
- horizontalLinesVisible : bool
- legend : Legend
- lineWidth : real
- names : variant
- pointDelegate : Component
- stacked : bool
- valueSources : ChartDataSource
- verticalLinesVisible : bool
- xAxisSource : ChartAxisSource
- xLabels : AxisLabels
- xRange
- xRange.automatic : bool
- xRange.distance : real
- xRange.from : real
- xRange.increment : real
- xRange.minimum : real
- xRange.to : real
- yAxisSource : ChartAxisSource
- yLabels : AxisLabels
- yRange
- yRange.automatic : bool
- yRange.distance : real
- yRange.from : real
- yRange.increment : real
- yRange.minimum : real
- yRange.to : real
Detailed Description
Property Documentation
chart : LineChart
color : color
fillOpacity : real
highlightEnabled : bool
horizontalLinesVisible : bool
legend : Legend
lineWidth : real
names : variant
pointDelegate : Component
stacked : bool
valueSources : ChartDataSource
verticalLinesVisible : bool
xAxisSource : ChartAxisSource
xLabels : AxisLabels
xRange group
xRange.automatic : bool
xRange.distance : real
xRange.from : real
xRange.increment : real
xRange.minimum : real
xRange.to : real
The range of values on the X axis.
from: The start of this range. The default is 0.
to: The end of this range. The default is 100.
automatic: Whether to determine the range based on values of a chart. If true (the default), from and to are ignored and instead calculated from the minimum and maximum values of a chart's valueSources.
distance: The distance between from and to.
minimum: The minimum size of the range. This is mostly relevant when automatic is true. Setting this value will ensure that the range will never be smaller than this value. The default is std::numeric_limits<qreal>::min, which means minimum is disabled.
increment: The amount with which the range increases. The total range will be limited to a multiple of this value. This is mostly useful when automatic is true. The default is 0.0, which means do not limit the range increment.
yAxisSource : ChartAxisSource
yLabels : AxisLabels
yRange group
yRange.automatic : bool
yRange.distance : real
yRange.from : real
yRange.increment : real
yRange.minimum : real
yRange.to : real
The range of values on the Y axis.
from: The start of this range. The default is 0.
to: The end of this range. The default is 100.
automatic: Whether to determine the range based on values of a chart. If true (the default), from and to are ignored and instead calculated from the minimum and maximum values of a chart's valueSources.
distance: The distance between from and to.
minimum: The minimum size of the range. This is mostly relevant when automatic is true. Setting this value will ensure that the range will never be smaller than this value. The default is std::numeric_limits<qreal>::min, which means minimum is disabled.
increment: The amount with which the range increases. The total range will be limited to a multiple of this value. This is mostly useful when automatic is true. The default is 0.0, which means do not limit the range increment.