AreaSeries QML Type
Presents data in area graphs. More...
Import Statement: | import QtGraphs |
In C++: | QAreaSeries |
Inherits: |
- List of all members, including inherited members
- AreaSeries is part of Qt Graphs QML Types for 2D.
Properties
- borderColor : color
- borderWidth : real
- color : color
- lowerSeries : XYSeries
- selected : bool
- selectedBorderColor : color
- selectedColor : color
- upperSeries : XYSeries
Signals
- borderColorChanged(color newBorderColor)
- borderWidthChanged()
- colorChanged(color newColor)
- lowerSeriesChanged()
- selectedBorderColorChanged(color newSelectedBorderColor)
- selectedChanged()
- selectedColorChanged(color newSelectedColor)
- upperSeriesChanged()
Detailed Description
An area graph is used to draw an area composed by points. The points are defined by two series: upperSeries and lowerSeries. The area between the series is drawn as a graph. If only the upperSeries is defined, the area is then between the bottom of the graph and the upper series.
Property Documentation
borderColor : color |
The border color of the area. The default value is transparent
, meaning the border color is defined by the theme.
borderWidth : real |
The width of the line that encloses the area. The default value is -1
, meaning the border width is defined by the theme.
color : color |
The fill color of the area. The default value is transparent
, meaning the color is defined by the theme.
lowerSeries : XYSeries |
Sets the lower boundary of the area. If this is null, the graph bottom is considered the lower bound.
selected : bool |
Sets this area as selected. The default value is false
.
selectedBorderColor : color |
The border color of the area when selected. The default value is transparent
, meaning the selected border color is defined by the theme.
selectedColor : color |
The fill color of the area when selected. The default value is transparent
, meaning the selected color is defined by the theme.
upperSeries : XYSeries |
Sets the upper boundary of the area. No area is drawn if this is null.
Signal Documentation
borderColorChanged(color newBorderColor) |
This signal is emitted when the area border color changes to newBorderColor.
Note: The corresponding handler is onBorderColorChanged
.
borderWidthChanged() |
This signal is emitted when the width of the area border width changes.
Note: The corresponding handler is onBorderWidthChanged
.
colorChanged(color newColor) |
This signal is emitted when the area color changes to newColor.
Note: The corresponding handler is onColorChanged
.
lowerSeriesChanged() |
This signal is emitted when the lower series changes.
Note: The corresponding handler is onLowerSeriesChanged
.
selectedBorderColorChanged(color newSelectedBorderColor) |
This signal is emitted when the border color of a selected area changes to newSelectedBorderColor.
Note: The corresponding handler is onSelectedBorderColorChanged
.
selectedChanged() |
This signal is emitted when the current area is selected.
Note: The corresponding handler is onSelectedChanged
.
selectedColorChanged(color newSelectedColor) |
This signal is emitted when the color of a selected area changes to newSelectedColor.
Note: The corresponding handler is onSelectedColorChanged
.
upperSeriesChanged() |
This signal is emitted when the upper series changes.
Note: The corresponding handler is onUpperSeriesChanged
.
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.