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

Specifying the look of a certain line in the plot. More...

Public Types

enum class  LineType : int {
  Scatter ,
  Line
}
 Possible line types. More...
 

Public Attributes

ImVec4 color
 Line Color.
 
std::pair< ColormapMaskType, int64_t > colormapMask
 Colormap mask (pair: type and id)
 
size_t colormapMaskDataCmpIdx
 Index of the plot data to compare for the color.
 
ImVec4 eventMarkerFillColor
 Fill color for markers.
 
ImVec4 eventMarkerOutlineColor
 Outline/Border color for markers.
 
float eventMarkerSize
 Size of the markers (makes the marker smaller/bigger)
 
ImPlotMarker eventMarkerStyle
 Style of the marker to display.
 
float eventMarkerWeight
 Weight of the markers (increases thickness of marker lines)
 
bool eventsEnabled
 Show events on this data.
 
std::string eventTooltipFilterRegex
 Tooltip search regex.
 
std::string legendName
 Display name in the legend (if not set falls back to PlotData::displayName)
 
std::string legendNameGui
 Legend name which gets changed in the gui.
 
std::optional< ImPlotLineFlags > lineFlags
 Line Flags (overrides the plot selection)
 
LineType lineType
 Line type.
 
std::pair< ColormapMaskType, int64_t > markerColormapMask
 Colormap mask (pair: type and id)
 
size_t markerColormapMaskDataCmpIdx
 Index of the plot data to compare for the color.
 
ImVec4 markerFillColor
 Fill color for markers.
 
ImVec4 markerOutlineColor
 Outline/Border color for markers.
 
bool markers
 Display markers for the line plot (no effect for scatter type)
 
float markerSize
 Size of the markers (makes the marker smaller/bigger)
 
ImPlotMarker markerStyle
 Style of the marker to display.
 
float markerWeight
 Weight of the markers (increases thickness of marker lines)
 
int stride
 Amount of points to skip for plotting.
 
float thickness
 Line thickness.
 

Detailed Description

Specifying the look of a certain line in the plot.

Member Enumeration Documentation

◆ LineType

Possible line types.

Enumerator
Scatter 

Scatter plot (only markers)

Line 

Line plot.


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