En esta página

QSplineSeries Class

QSplineSeries presenta los datos en gráficos de spline. Más información...

Encabezado: #include <QSplineSeries>
CMake: find_package(Qt6 REQUIRED COMPONENTS Graphs)
target_link_libraries(mytarget PRIVATE Qt6::Graphs)
qmake: QT += graphs
En QML: SplineSeries
Heredan de: QXYSeries

Propiedades

Funciones públicas

Qt::PenCapStyle capStyle() const
void setCapStyle(Qt::PenCapStyle newCapStyle)
void setWidth(qreal newWidth)
qreal width() const

Señales

Descripción detallada

El gráfico muestra segmentos de spline suaves que pasan por todos los puntos definidos en el gráfico.

Documentación de propiedades

capStyle : Qt::PenCapStyle

Controla el estilo de remate de la línea spline. El valor es uno de los valores de la enumeración « Qt::PenCapStyle ». El valor por defecto es « Qt::SquareCap ».

Funciones de acceso:

Qt::PenCapStyle capStyle() const
void setCapStyle(Qt::PenCapStyle newCapStyle)

Señal de notificación:

void capStyleChanged()

Véase también Qt::PenCapStyle.

width : qreal

El ancho de la línea de spline en píxeles. El valor por defecto es 2,0.

Funciones de acceso:

qreal width() const
void setWidth(qreal newWidth)

Señal de notificación:

void widthChanged()

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.