struct mola::MolaVizImGuiCore::PlotWindowState

Overview

One live plot window: which channels it overlays and its display options. Opened from the built-in “Plots” menu; independently closable/reopenable via its native [x] button and the same menu, mirroring how the Console window’s visibility is toggled.

#include <MolaVizImGuiCore.h>

struct PlotWindowState
{
    // fields

    std::string title;
    bool open = true;
    std::vector<std::string> channels;
    float span_seconds = 5.0f;
    bool show_grid_x = true;
    bool show_grid_y = true;
    bool show_legend = true;
    bool lines = true;
    bool y_autoscale = true;
    bool paused = false;
};