PySide6.QtGraphs.QSplineSeries¶
- class QSplineSeries¶
QSplineSeriespresents data in spline graphs.Details
The graph displays smooth spline segments that moves through all the points defined in the graph.
Added in version 6.8.
Synopsis¶
Properties¶
Methods¶
def
__init__()def
capStyle()def
isOptimized()def
setCapStyle()def
setOptimized()def
setWidth()def
width()
Signals¶
def
widthChanged()
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_propertyis 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:
Signal
widthChanged()
- capStyle()¶
- Return type:
See also
Getter of property
capStyleᅟ.- capStyleChanged()¶
Notification signal of property
capStyleᅟ.- isOptimized()¶
- Return type:
bool
Getter of property
optimizedᅟ.- optimizedChanged(newOptimized)¶
- Parameters:
newOptimized – bool
Notification signal of property
optimizedᅟ.- setCapStyle(newCapStyle)¶
- Parameters:
newCapStyle –
PenCapStyle
See also
Setter of property
capStyleᅟ.- setOptimized(optimized)¶
- Parameters:
optimized – bool
See also
Setter of property
optimizedᅟ.Setter of property
widthᅟ.- width()¶
- Return type:
float
See also
Getter of property
widthᅟ.- widthChanged()¶
Notification signal of property
widthᅟ.