Crate poloto[−][src]
Expand description
Plot to SVG and style with CSS
You can find poloto on github and crates.io. Documentation at docs.rs
Check out the github examples. The latest graph outputs of the examples can be found in the assets folder.
Modules
Functions to write numbers formatted in a way that takes up the least amount of space.
Macros
Shorthand for moveable_format(move |w|write!(w,...))
Similar to format_args!() except has a more flexible lifetime.
Structs
Represents one cropping.
Convert a moved closure into a impl fmt::Display.
This is useful because std’s format_args!() macro
has a shorter lifetime.
Wrap a mutable closure in a RefCell to allow it to be called inside of fmt::Display::fmt
Keeps track of plots. User supplies iterators that will be iterated on when render is called.
One interval tick
Information on the properties of all the interval ticks for one dimension.
Constants
Default dark theme
Default light theme
Default SVG end tag.
Default SVG Header for a Poloto graph.
Traits
Using Iterator::filter to filter out plots can have
undesireable effects when used with Plotter::line,
since the line will assume continuity between each plot
after the filtering has taken place.
A disconnectable number. A number that can me marked as a hole to signify that there is a disconnect in plots.
See Croppable
A plottable number. In order to be able to plot a number, we need information on how to display it as well as the interval ticks.
Functions
Leverage rust’s display format system using RefCell under the hood.
Create a Plotter
Make a graph with a svg tag and a simple css theme.
Make a graph with a svg tag and a simple dark css theme.
Update a std::io::Write to be a std::fmt::Write
