Skip to main content

DigitalEventSeriesOptionsData

DigitalEventSeriesOptionsData

Serializable display options for digital event 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).
EventPlottingModeData plotting_mode
EventGlyphShapeData glyph_shape
Marker shape for events.
int box_width_ticks
Box extent along the time axis in ticks (EventGlyphShapeData::Box only).
float vertical_spacing
Vertical spacing for stacked mode.
float event_height
Height of individual events.
float margin_factor
Margin factor (0.95 = 95% of allocated space).

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 plotting_mode

EventPlottingModeData plotting_mode = EventPlottingModeData::FullCanvas;

variable glyph_shape

EventGlyphShapeData glyph_shape = EventGlyphShapeData::Tick;

Marker shape for events.

variable box_width_ticks

int box_width_ticks = 10;

Box extent along the time axis in ticks (EventGlyphShapeData::Box only).

variable vertical_spacing

float vertical_spacing = 0.1f;

Vertical spacing for stacked mode.

variable event_height

float event_height = 0.05f;

Height of individual events.

variable margin_factor

float margin_factor = 0.95f;

Margin factor (0.95 = 95% of allocated space).


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