XYSeries QML Type

A parent type for all x & y series types. 更多...

import 语句: import QtGraphs
实例化: QXYSeries
继承:

AbstractSeries

继承者:

LineSeries and ScatterSeries

状态: 技术预览

特性

信号

详细描述

In XYSeries, data points are defined as a list of point types, defining X and Y positions.

特性文档编制

axisX : AbstractAxis

The x-axis used for the series. This should be ValueAxis .

另请参阅 axisY .

axisY : AbstractAxis

The y-axis used for the series. This should be ValueAxis .

另请参阅 axisX .

color : color

The main color of the series. For LineSeries this means the line color and for ScatterSeries the color of the point

markerSize : real

The size of the pointMarker in pixels when using a default circle as a marker. When using pointMarker , the size is defined by the pointMarker conponent.

pointMarker : Component

A custom QML Component used as a marker for data points.

selectedColor : color

The main color of the selected series. For LineSeries this means the line color and for ScatterSeries the color of the point

信号文档编制

pointReplaced ( int index )

This signal is emitted when a point is replaced at the position specified by index .

The corresponding signal handler is onPointReplaced() .

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