PySide6.QtGraphs.QSplineSeries

class QSplineSeries

QSplineSeries presents data in spline graphs.

Details

The graph displays smooth spline segments that moves through all the points defined in the graph.

Inheritance diagram of PySide6.QtGraphs.QSplineSeries

Added in version 6.8.

Synopsis

Properties

Methods

Signals

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property capStyleᅟ: Qt.PenCapStyle

Controls the cap style of the spline line. The value is one of Qt::PenCapStyle enum values. The default value is Qt::SquareCap.

See also

PenCapStyle

Access functions:
property optimizedᅟ: bool
Access functions:
property widthᅟ: float

The width of the spline line in pixels. The default value is 2.0.

Access functions:
__init__([parent=None])
Parameters:

parentQObject

capStyle()
Return type:

PenCapStyle

See also

setCapStyle()

Getter of property capStyleᅟ .

capStyleChanged()

Notification signal of property capStyleᅟ .

getControlPoints()
Return type:

.list of QPointF

isOptimized()
Return type:

bool

Getter of property optimizedᅟ .

optimizedChanged(newOptimized)
Parameters:

newOptimized – bool

Notification signal of property optimizedᅟ .

setCapStyle(newCapStyle)
Parameters:

newCapStylePenCapStyle

See also

capStyle()

Setter of property capStyleᅟ .

setOptimized(optimized)
Parameters:

optimized – bool

See also

isOptimized()

Setter of property optimizedᅟ .

setWidth(newWidth)
Parameters:

newWidth – float

See also

width()

Setter of property widthᅟ .

width()
Return type:

float

See also

setWidth()

Getter of property widthᅟ .

widthChanged()

Notification signal of property widthᅟ .