Base type for all Qt Graph series types. 更多...
import 语句: | import QtGraphs |
实例化: | QAbstractSeries |
继承者: | |
状态: | 技术预览 |
This type cannot be instantiated directly. Instead, one of the following derived types should be used to create a series: LineSeries , BarSeries ,或 ScatterSeries .
hoverable : bool |
Controls if the series can be hovered with mouse/touch. By default,
hoverable
被设为
false
.
name : string |
The name of the series. It is displayed in the legend for the series and it supports HTML formatting.
opacity : real |
The opacity of the series. By default, the opacity is 1.0. The valid values range from 0.0 (transparent) to 1.0 (opaque).
selectable : bool |
Controls if the series can be selected with mouse/touch. By default,
selectable
被设为
false
.
theme : QSeriesTheme |
The theme used for this series.
type
:
enumeration
|
系列的类型。
常量 | 描述 |
---|---|
AbstractSeries.SeriesTypeLine
|
A line graph. |
AbstractSeries.SeriesTypeBar
|
A vertical bar graph. |
AbstractSeries.SeriesTypeScatter
|
A scatter graph. |
valuesMultiplier : real |
This variable can be used for animating the series values so they scale from 0 to actual value size. By default, the valuesMultiplier is 1.0. The valid values range from 0.0 (height 0) to 1.0 (full value).
visible : bool |
The visibility used for this series. By default,
visible
被设为
true
.