AreaSeries QML Type

Presents data in area graphs. 更多...

import 语句: import QtGraphs
在 C++: QAreaSeries
继承:

AbstractSeries

特性

信号

详细描述

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.

特性文档编制

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.

信号文档编制

borderColorChanged ( color newBorderColor )

This signal is emitted when the area border color changes to newBorderColor .

注意: 相应处理程序是 onBorderColorChanged .

borderWidthChanged ()

This signal is emitted when the width of the area border width changes.

注意: 相应处理程序是 onBorderWidthChanged .

colorChanged ( color newColor )

This signal is emitted when the area color changes to newColor .

注意: 相应处理程序是 onColorChanged .

lowerSeriesChanged ()

This signal is emitted when the lower series changes.

注意: 相应处理程序是 onLowerSeriesChanged .

selectedBorderColorChanged ( color newSelectedBorderColor )

This signal is emitted when the border color of a selected area changes to newSelectedBorderColor .

注意: 相应处理程序是 onSelectedBorderColorChanged .

selectedChanged ()

This signal is emitted when the current area is selected.

注意: 相应处理程序是 onSelectedChanged .

selectedColorChanged ( color newSelectedColor )

This signal is emitted when the color of a selected area changes to newSelectedColor .

注意: 相应处理程序是 onSelectedColorChanged .

upperSeriesChanged ()

This signal is emitted when the upper series changes.

注意: 相应处理程序是 onUpperSeriesChanged .