0.2.0
Loading...
Searching...
No Matches
NAV::Plot::PlotInfo Struct Reference

Information specifying the look of each plot. More...

Classes

struct  PlotItem
 Info needed to draw a data set. More...
 

Public Member Functions

 PlotInfo ()=default
 Default constructor.
 
 PlotInfo (const std::string &title, size_t nInputPins)
 Constructor.
 

Public Attributes

std::string headerText
 Title of the CollapsingHeader.
 
float leftPaneWidth
 Width of plot Data content.
 
ImPlotLineFlags lineFlags
 Line Flags for all items (each item can override the selection)
 
bool overrideXAxisLabel
 Flag, whether to override the x axis label.
 
int plotFlags
 Flags which are passed to the plot.
 
std::vector< PlotItemplotItems
 List containing all elements which should be plotted.
 
float rightPaneWidth
 Width of the plot.
 
size_t selectedPin
 Selected pin in the GUI for the Drag & Drop Data.
 
std::vector< size_t > selectedXdata
 Key: PinIndex, Value: plotData to use for x-Axis.
 
ImVec2 size
 Size of the plot.
 
std::string title
 Title of the ImPlot.
 
bool visible
 Flag whether the whole plot is visible. If not, then it should be deleted.
 
ImPlotAxisFlags xAxisFlags
 Flags for the x-Axis.
 
std::string xAxisLabel
 X axis label.
 
ImPlotScale xAxisScale
 Scale for the x-Axis.
 
std::string y1AxisLabel
 Y1 axis label.
 
std::string y2AxisLabel
 Y2 axis label.
 
std::string y3AxisLabel
 Y3 axis label.
 
std::array< ImPlotScale, 3 > yAxesScale
 Scale for the y-Axes.
 
ImPlotAxisFlags yAxisFlags
 Flags for the y-Axes.
 

Detailed Description

Information specifying the look of each plot.

Constructor & Destructor Documentation

◆ PlotInfo()

NAV::Plot::PlotInfo::PlotInfo ( const std::string & title,
size_t nInputPins )
inline

Constructor.

Parameters
[in]titleTitle of the ImPlot
[in]nInputPinsAmount of inputPins

The documentation for this struct was generated from the following file: