API reference
ChartModel
Caller-owned XY table model with indexed range queries and batched appends.
No matching API members.
fluent::charts::ChartData
An implicitly shared, indexed XY snapshot; safe to prepare away from the GUI thread.
Constructors
Methods
QVector<int> sampledRows(int first, int last, int budget) constReturns at most budget source rows, preserving bucket endpoints and extrema.
double mean(int first, int last) constMean of finite values in a half-open range.
double positiveFraction(int first, int last) constPositive contribution to the complete series, in [0, 1].
Constants
Destructors
fluent::charts::ChartModel
Inherits QAbstractTableModel
Constructors
Properties
QString name- Read
name()WritesetName()NotifynameChanged()
Methods
bool setDataSnapshot(const ChartData& snapshot)Publishes an indexed snapshot without rescanning it.
bool setPoints(const QVector<QPointF>& points, const QStringList& labels = QStringList())Synchronous convenience for small data; use a prepared snapshot for large data.
bool appendPoints(const QVector<QPointF>& points, const QStringList& labels = QStringList())Appends a sorted batch with one rowsInserted signal and incremental index updates.
Signals
Destructors
All inherited Qt members:QAbstractTableModel