Home
last modified time | relevance | path

Searched refs:plotting_area (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/plotters/examples/
Dmandelbrot.rs22 let plotting_area = chart.plotting_area(); in main() localVariable
24 let range = plotting_area.get_pixel_range(); in main()
31 plotting_area.draw_pixel((x, y), &HSLColor(c as f64 / 100.0, 1.0, 0.5))?; in main()
33 plotting_area.draw_pixel((x, y), &BLACK)?; in main()
Dblit-bitmap.rs22 let (w, h) = chart.plotting_area().dim_in_pixel(); in main()
/external/rust/crates/plotters/src/chart/
Dseries.rs132 .in_pixels(&self.target.plotting_area().dim_in_pixel()) in margin()
141 .in_pixels(&self.target.plotting_area().dim_in_pixel()) in legend_area_size()
164 self.label_font = Some(font.into_text_style(&self.target.plotting_area().dim_in_pixel())); in label_font()
170 let drawing_area = self.target.plotting_area().strip_coord_spec(); in draw()
Dcontext.rs86 pub fn plotting_area(&self) -> &DrawingArea<DB, CT> { in plotting_area() method
622 let coord = self.plotting_area().as_coord_spec(); in get_key_points()
643 let coord = self.plotting_area().as_coord_spec();
655 let (x_range, y_range) = self.plotting_area().get_pixel_range();
692 self.plotting_area().draw(&element)?;
705 let coord = self.plotting_area().as_coord_spec();
750 self.plotting_area().draw(&PathElement::new(
799 let coord = self.plotting_area().as_coord_spec();
843 self.plotting_area()
846 self.plotting_area()
[all …]
Daxes3d.rs102 let base_tick_size = (5u32).percent().max(5).in_pixels(chart.plotting_area()); in new()
Ddual_coord.rs81 .restore(&primary.plotting_area().strip_coord_spec()); in restore()
Dmesh.rs177 let base_tick_size = (5u32).percent().max(5).in_pixels(chart.plotting_area()); in new()
/external/rust/crates/plotters/src/element/
Dboxplot.rs265 .plotting_area() in test_draw_v()
279 .plotting_area() in test_draw_h()
/external/rust/crates/plotters/plotters-doc-data/
Devcxr-jupyter-integration.ipynb7696 " let area = chart.plotting_area();\n",