Skip to main content

NewDigitalEventSeriesDisplayOptions

NewDigitalEventSeriesDisplayOptions

Display options for new digital event series visualization system. More…

#include <DigitalEventSeriesDisplayOptions.hpp>

Public Attributes

Name
CorePlotting::SeriesStyle style
Pure rendering style (user-configurable).
CorePlotting::LayoutTransform layout_transform
EventPlottingMode plotting_mode
How events should be plotted.
EventDisplayMode display_mode
Legacy display mode for widget compatibility.
float vertical_spacing
Vertical spacing between stacked events (legacy).
float event_height
Height of individual events (legacy).
float global_zoom
Global zoom factor.
float global_vertical_scale
Global vertical scale factor.
float margin_factor
Margin factor for event height (0.95 = 95% of allocated space).

Detailed Description

struct NewDigitalEventSeriesDisplayOptions;

Display options for new digital event series visualization system.

Configuration for digital event series display including visual properties, positioning, plotting mode, and rendering options. Events are rendered as vertical lines extending either across full canvas or within allocated space.

ARCHITECTURE NOTE (Phase 0 Cleanup): This struct has been refactored to use CorePlotting’s separated concerns:

  • [style](/api_generated/Classes/structNewDigitalEventSeriesDisplayOptions.md#variable-style): Pure visual configuration (color, alpha, thickness) - user-settable
  • layout: Positioning output from LayoutEngine - read-only computed values

This separation clarifies ownership and prevents conflation of concerns. See CorePlotting/DESIGN.md and ROADMAP.md Phase 0 for details.

Public Attributes Documentation

variable style

CorePlotting::SeriesStyle style {CorePlotting::SeriesStyle{"#ff9500", 0.8f}};

Pure rendering style (user-configurable).

variable layout_transform

CorePlotting::LayoutTransform layout_transform {0.0f, 1.0f};

Layout transform (computed by LayoutEngine) offset = allocated_y_center (0.0), gain = allocated_height/2 (1.0 for height 2.0)

variable plotting_mode

EventPlottingMode plotting_mode {EventPlottingMode::FullCanvas};

How events should be plotted.

variable display_mode

EventDisplayMode display_mode {EventDisplayMode::Stacked};

Legacy display mode for widget compatibility.

variable vertical_spacing

float vertical_spacing {0.1f};

Vertical spacing between stacked events (legacy).

variable event_height

float event_height {0.05f};

Height of individual events (legacy).

variable global_zoom

float global_zoom {1.0f};

Global zoom factor.

variable global_vertical_scale

float global_vertical_scale {1.0f};

Global vertical scale factor.

variable margin_factor

float margin_factor {0.95f};

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


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