- Qt 6.8
- Qt Graphs
- QML Types
- graphsline
- Qt Graphs | Commercial or GPLv3

# graphsline QML Value Type

a values for lines based on properties of QGraphsLine. More...

- graphsline is part of Qt Graphs QML Common Types.

## Properties

- labelTextColor : color
- mainColor : color
- mainWidth : real
- subColor : color
- subWidth : real

## Detailed Description

The `graphsline` type refers to a line value with the properties of QGraphsLine.

Properties of type `graphsline` follows the theme unless defined separately.

When integrating with C++, note that any QGraphsLine value passed into QML from C++ is automatically converted into a `graphsline` value, and vice-versa.

This value type is provided by the QtQuick import.

See also QML Value Types.

## Property Documentation

labelTextColor : color

The color of the text used for labels.

mainColor : color

The color of the main lines.

mainWidth : real

The width of the main lines.

subColor : color

The color of the sub lines.

subWidth : real

The width of the sub lines.