Skip to main content

PlotAlignmentData

PlotAlignmentData

Serializable data for plot alignment settings. More…

#include <PlotAlignmentData.hpp>

Public Attributes

Name
std::string alignment_event_key
Key of the selected event/interval series for alignment.
IntervalAlignmentType interval_alignment_type
For intervals: use beginning or end.
double offset
Offset in time units to apply to alignment events.
double window_size
Window size in time units to gather around alignment event.
bool prevent_overlap
When true, prune alignment events whose windows would overlap.

Detailed Description

struct PlotAlignmentData;

Serializable data for plot alignment settings.

This struct contains all alignment-related settings that can be included in plot state data structs for serialization.

Public Attributes Documentation

variable alignment_event_key

std::string alignment_event_key;

Key of the selected event/interval series for alignment.

variable interval_alignment_type

IntervalAlignmentType interval_alignment_type = IntervalAlignmentType::Beginning;

For intervals: use beginning or end.

variable offset

double offset = 0.0;

Offset in time units to apply to alignment events.

variable window_size

double window_size = 1000.0;

Window size in time units to gather around alignment event.

variable prevent_overlap

bool prevent_overlap = false;

When true, prune alignment events whose windows would overlap.


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