Module egui::widgets::plot

source ·
Expand description

Simple plotting library.

Structs

A set of arrows.
One bar in a BarChart. Potentially floating, allowing stacked bar charts. Width can be changed to allow variable-width histograms.
A bar chart.
A box in a BoxPlot diagram. This is a low level graphical element; it will not compute quartiles and whiskers, letting one use their preferred formula. Use Points to draw the outliers.
A diagram containing a series of BoxElem elements.
Contains the values of a single box in a box plot.
Specifies the coordinates formatting when passed to Plot::coordinates_formatter.
Input for “grid spacer” functions.
One mark (horizontal or vertical line) in the background grid of a plot.
A horizontal line in a plot, filling the full width
The configuration for a plot legend.
A series of values forming a path.
Defines how multiple plots share the same range for one or both of their axes. Can be added while building a plot with Plot::link_axis. Contains an internal state, meaning that this object should be stored by the user between frames.
Defines how multiple plots share the same cursor for one or both of their axes. Can be added while building a plot with Plot::link_cursor. Contains an internal state, meaning that this object should be stored by the user between frames.
A 2D plot, e.g. a graph of a function.
2D bounding box of f64 precision. The range of data values we show.
An image in the plot.
A point coordinate in the plot.
Provides methods to interact with a plot while building it. It is the single argument of the closure provided to Plot::show. See Plot for an example of how to use it.
A set of points.
A convex polygon.
Text inside the plot.
A vertical line in a plot, filling the full width

Enums

Where to place the plot legend.
Determines whether a plot element is vertically or horizontally oriented.
Represents many PlotPoints.

Functions

Recursively splits the grid into base subdivisions (e.g. 100, 10, 1).
Splits the grid into uniform-sized spacings (e.g. 100, 25, 1).