Flags that can be passed to UI::Plot::SetupLegend
.
Flags that can be passed to UI::Plot::SetupLegend
.
UI::Plot::LegendFlags::None
(0)
UI::Plot::LegendFlags::NoButtons
(1)
Legend icons will not function as hide/show buttons
UI::Plot::LegendFlags::NoHighlightItem
(2)
Plot items will not be highlighted when their legend entry is hovered
UI::Plot::LegendFlags::NoHighlightAxis
(4)
Axes will not be highlighted when legend entries are hovered (only relevant if x/y-axis count > 1)
UI::Plot::LegendFlags::NoMenus
(8)
The user will not be able to open context menus with right-click
UI::Plot::LegendFlags::Outside
(16)
Legend will be rendered outside of the plot area
UI::Plot::LegendFlags::Horizontal
(32)
Legend entries will be displayed horizontally
UI::Plot::LegendFlags::Sort
(64)
Legend entries will be displayed in alphabetical order