[][src]Enum implot::PlotColorElement

#[repr(u32)]pub enum PlotColorElement {
    Line,
    Fill,
    MarkerOutline,
    MarkerFill,
    ErrorBar,
    FrameBg,
    PlotBg,
    PlotBorder,
    LegendBackground,
    LegendBorder,
    LegendText,
    TitleText,
    InlayText,
    XAxis,
    XAxisGrid,
    YAxis,
    YAxisGrid,
    YAxis2,
    YAxisGrid2,
    YAxis3,
    YAxisGrid3,
    Selection,
    Crosshairs,
    Query,
}

Colorable plot elements. These are called "ImPlotCol" in ImPlot itself, but I found that name somewhat confusing because we are not referring to colors, but which thing can be colored - hence I added the "Element".

Variants

Line

Plot line/outline color (defaults to next unused color in current colormap)

Fill

Plot fill color for bars (defaults to the current line color)

MarkerOutline

Marker outline color (defaults to the current line color)

MarkerFill

Marker fill color (defaults to the current line color)

ErrorBar

Error bar color (defaults to text color)

FrameBg

Plot frame background color (defaults to FRAME_BG)

PlotBg

Plot area background color (defaults to WINDOW_BG)

PlotBorder

Plot area border color (defaults to text color)

LegendBackground

Legend background color (defaults to ImGuiCol_PopupBg)

LegendBorder

Legend border color (defaults to ImPlotCol_PlotBorder)

LegendText

Legend text color (defaults to ImPlotCol_InlayText)

TitleText

Plot title text color (defaults to ImGuiCol_Text)

InlayText

Color of text appearing inside of plots (defaults to ImGuiCol_Text)

XAxis

X-axis label and tick lables color (defaults to ImGuiCol_Text)

XAxisGrid

X-axis grid color (defaults to 25% ImPlotCol_XAxis)

YAxis

Y-axis label and tick labels color (defaults to ImGuiCol_Text)

YAxisGrid

Y-axis grid color (defaults to 25% ImPlotCol_YAxis)

YAxis2

2nd y-axis label and tick labels color (defaults to ImGuiCol_Text)

YAxisGrid2

2nd y-axis grid/label color (defaults to 25% ImPlotCol_YAxis2)

YAxis3

3rd y-axis label and tick labels color (defaults to ImGuiCol_Text)

YAxisGrid3

3rd y-axis grid/label color (defaults to 25% ImPlotCol_YAxis3)

Selection

Box-selection color (defaults to yellow)

Crosshairs

crosshairs color (defaults to ImPlotCol_PlotBorder)

Query

Box-query color (defaults to green)

Trait Implementations

impl Clone for PlotColorElement[src]

impl Copy for PlotColorElement[src]

impl Debug for PlotColorElement[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.