1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! Commonly used types for ergonomic imports.
//!
//! Use `use liecharts::prelude::*;` to bring in the most frequently used
//! chart-building types with a single import statement.
//!
//! # Examples
//!
//! ```no_run
//! use liecharts::prelude::*;
//!
//! ChartBuilder::new()
//! .with_title(TitleOption::new("Sales"))
//! .with_x_axis(AxisOption::category().data(["Q1", "Q2"]))
//! .with_y_axis(AxisOption::value())
//! .with_series(SeriesOption::Bar(
//! BarSeriesOption::new("Revenue", vec![100.0, 200.0]),
//! ))
//! .build(800, 600)
//! .unwrap()
//! .render_to_image("chart.png")
//! .unwrap();
//! ```
pub use cratefunction_data;
pub use crate::;