Skip to main content

DigitalIntervalSeriesOptionsData

DigitalIntervalSeriesOptionsData

Serializable display options for digital interval series.

#include <DataViewerStateData.hpp>

Public Functions

Name
std::string const & hex_color() const
float get_alpha() const
float get_line_thickness() const
bool get_is_visible() const
std::string & hex_color()
float & alpha()
float & line_thickness()
bool & is_visible()

Public Attributes

Name
rfl::Flatten< CorePlotting::SeriesStyle > style
Visual style (flattened in JSON).
bool extend_full_canvas
float margin_factor
float interval_height
Reserved for optional fractional lane fill (not yet used in GPU path).

Public Functions Documentation

function hex_color

inline std::string const & hex_color() const

function get_alpha

inline float get_alpha() const

function get_line_thickness

inline float get_line_thickness() const

function get_is_visible

inline bool get_is_visible() const

function hex_color

inline std::string & hex_color()

function alpha

inline float & alpha()

function line_thickness

inline float & line_thickness()

function is_visible

inline bool & is_visible()

Public Attributes Documentation

variable style

rfl::Flatten< CorePlotting::SeriesStyle > style;

Visual style (flattened in JSON).

variable extend_full_canvas

bool extend_full_canvas = true;

When true, intervals span the full viewport height (overlay). When false, each series participates in lane stacking; rectangles fill the lane vertically and use each interval’s start/end times horizontally (same geometry as event boxes, with data-driven width).

variable margin_factor

float margin_factor = 0.95f;

Lane inset for rectangle height (same role as DigitalEventSeriesOptionsData::margin_factor). Not modified by auto-fill canvas; reserved for future per-series UI (global layout margin is separate).

variable interval_height

float interval_height = 1.0f;

Reserved for optional fractional lane fill (not yet used in GPU path).


Updated on 2026-11-13 at 20:25:39 +0000