PySide6.QtGraphs.QLineSeries

class QLineSeries

The QLineSeries class presents data in line graphs.

Details

A line graph is used to show information as a series of data points connected by straight lines.

Inheritance diagram of PySide6.QtGraphs.QLineSeries

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
Access functions:
property widthᅟ: float
Access functions:
__init__([parent=None])
Parameters:

parentQObject

capStyle()
Return type:

PenCapStyle

See also

setCapStyle()

Getter of property capStyleᅟ .

capStyleChanged()

Notification signal of property capStyleᅟ .

dataPointCoordinatesAt(x, y)
Parameters:
  • x – float

  • y – float

Return type:

QPointF

Returns x and y rendercoordinates converted into data point coordinates.

setCapStyle(newCapStyle)
Parameters:

newCapStylePenCapStyle

See also

capStyle()

Setter of property capStyleᅟ .

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ᅟ .