3 releases (breaking)

0.3.0 Jan 28, 2023
0.2.1 Jan 28, 2023
0.2.0 Mar 2, 2022
0.1.0 Mar 1, 2022

#257 in Visualization

26 downloads per month

MIT/Apache

415KB
281 lines

Plotters Widget for Druid

crates.io docs.rs badge

Use Plotters to draw plots in Druid.

Examples

Simple

This draws the basic x² plot from the plotters example, filling out the entire window. The size of the plotting area changes when resizing the window.

Simple example

cargo run --example simple

Interactive

In this example we use a value from the druid data to manipulate the plot.

Interactive example

cargo run --example interactive

License

Licensed under either of

at your option.

Dependencies

~25MB
~301K SLoC