LineSeries QML Type

Presents data in line charts. More...

Import Statement: import QtGraphs
Instantiates: QLineSeries
Status: Technical Preview

Properties

Detailed Description

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

Property Documentation

capStyle : Qt::PenCapStyle

Controls the cap style of the line. Set to one of Qt.FlatCap, Qt.SquareCap or Qt.RoundCap. By default the cap style is Qt.SquareCap.

See also Qt::PenCapStyle.


pointMarker : Component

Marks the point with the given QML component.

 pointMarker: Image {
     source: "images/happy_box.png"
 }

width : real

The width of the line. By default, the width is 2.0.