Skip to main content

AnalogSeriesOptionsData

AnalogSeriesOptionsData

Serializable display options for analog time series. More…

#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).
float user_scale_factor
User-controlled amplitude scaling.
float y_offset
User-controlled vertical offset.
AnalogGapHandlingMode gap_handling
bool enable_gap_detection
Enable automatic gap detection.
float gap_threshold
Threshold for gap detection (in samples).
bool enable_min_max_line_decimation
When true, analog polylines are min–max decimated to ~viewport resolution before GPU/SVG.

Detailed Description

struct AnalogSeriesOptionsData;

Serializable display options for analog time series.

Contains only user-configurable options. Layout transforms and data caches are computed at runtime and stored in TimeSeriesDataStore.

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 user_scale_factor

float user_scale_factor = 1.0f;

User-controlled amplitude scaling.

variable y_offset

float y_offset = 0.0f;

User-controlled vertical offset.

variable gap_handling

AnalogGapHandlingMode gap_handling = AnalogGapHandlingMode::AlwaysConnect;

variable enable_gap_detection

bool enable_gap_detection = false;

Enable automatic gap detection.

variable gap_threshold

float gap_threshold = 5.0f;

Threshold for gap detection (in samples).

variable enable_min_max_line_decimation

bool enable_min_max_line_decimation = false;

When true, analog polylines are min–max decimated to ~viewport resolution before GPU/SVG.


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