Skip to content

Class QAccelPlot::LineCurveGaps

ClassList > QAccelPlot > LineCurveGaps

Controls how a LineCurve renders gaps in its data.More...

  • #include <LineCurveGaps.hpp>

Inherits the following classes: QObject

Inheritance diagram

flowchart TB
  classQAccelPlot_1_1LineCurveGaps["QAccelPlot::LineCurveGaps"]

  external_base_classQAccelPlot_1_1LineCurveGaps_1["QObject"]
  external_base_classQAccelPlot_1_1LineCurveGaps_1 --> classQAccelPlot_1_1LineCurveGaps

Public Properties

Type Name
property QML_ANONYMOUSNanGapMode nanMode
How the line and gradient fill treat invalid samples. Default: NanGapMode.Break .

Public Signals

Type Name
signal void nanModeChanged
Emitted when the nanMode property changes.

Public Functions

Type Name
LineCurveGaps (QObject * parent=nullptr)
Constructs a LineCurveGaps with the given__parent .
NanGapMode nanMode () const
Returns how invalid data points are rendered.
void setNanMode (NanGapMode mode)
Sets how invalid data points are rendered to mode .

Detailed Description

Accessible via the LineCurve::gaps CONSTANT grouped property, for example gaps.nanMode: QAccelPlot.NanGapMode.Connect.

A data point is invalid when its X or Y coordinate is NaN or ±Inf, or is not strictly positive on a log-scale axis. Invalid data points are never drawn as markers, never hit-tested, and are excluded from auto-ranging coordinate by coordinate, regardless of nanMode.

See also: LineCurve

Public Properties Documentation

property nanMode

How the line and gradient fill treat invalid samples. Default: NanGapMode.Break .

QML_ANONYMOUSNanGapMode QAccelPlot::LineCurveGaps::nanMode;


Public Signals Documentation

signal nanModeChanged

Emitted when the nanMode property changes.

void QAccelPlot::LineCurveGaps::nanModeChanged;


Public Functions Documentation

function LineCurveGaps

Constructs a LineCurveGaps with the given__parent .

explicit QAccelPlot::LineCurveGaps::LineCurveGaps (
    QObject * parent=nullptr
) 


function nanMode

Returns how invalid data points are rendered.

NanGapMode QAccelPlot::LineCurveGaps::nanMode () const


function setNanMode

Sets how invalid data points are rendered to mode .

void QAccelPlot::LineCurveGaps::setNanMode (
    NanGapMode mode
) 



The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/series/LineCurveGaps.hpp