Create a new multi-series graph
()
| 51 | impl<'a> MultiGraph<'a> { |
| 52 | /// Create a new multi-series graph |
| 53 | pub fn new() -> Self { |
| 54 | Self { |
| 55 | series: Vec::new(), |
| 56 | x_range: (0.0, 1.0), |
| 57 | y_range: (-1.0, 1.0), |
| 58 | render_mode: RenderMode::Braille, |
| 59 | show_legend: false, |
| 60 | legend_position: LegendPosition::TopRight, |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | /// Add a series to the graph |
| 65 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected