Skip to main content

CorePlotting::SeriesInfo

CorePlotting::SeriesInfo

Metadata for a series to be laid out.

#include <LayoutEngine.hpp>

Public Functions

Name
SeriesInfo(std::string series_id, SeriesType series_type, bool stackable =true)
SeriesInfo(std::string series_id, SeriesType series_type, bool stackable, int stack_index)
SeriesInfo(std::string series_id, SeriesType series_type, bool stackable, std::string lane, float weight, int stack_index =-1)

Public Attributes

Name
std::string id
Series identifier.
SeriesType type
Type of series.
bool is_stackable
Whether series participates in stacking (vs full-canvas).
std::string lane_id
float lane_weight
int custom_stack_index

Public Functions Documentation

function SeriesInfo

inline SeriesInfo(
    std::string series_id,
    SeriesType series_type,
    bool stackable =true
)

function SeriesInfo

inline SeriesInfo(
    std::string series_id,
    SeriesType series_type,
    bool stackable,
    int stack_index
)

function SeriesInfo

inline SeriesInfo(
    std::string series_id,
    SeriesType series_type,
    bool stackable,
    std::string lane,
    float weight,
    int stack_index =-1
)

Public Attributes Documentation

variable id

std::string id;

Series identifier.

variable type

SeriesType type;

Type of series.

variable is_stackable

bool is_stackable;

Whether series participates in stacking (vs full-canvas).

variable lane_id

std::string lane_id;

Optional lane assignment for grouped stacking. Empty string preserves legacy one-series-per-lane behavior.

variable lane_weight

float lane_weight {1.0f};

Optional per-lane weight hint for grouped stacking. Non-finite or non-positive values are normalized to 1.0.

variable custom_stack_index

int custom_stack_index {-1};

Optional custom layout index (for spike sorter config etc.) If >= 0, overrides computed stacking order for this series.


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