Lines Matching defs:Self
26 pub(super) fn new(target: &'b mut ChartContext<'a, DB, Cartesian2d<X, Y>>) -> Self { in new()
35 pub fn axis_style<T: Into<ShapeStyle>>(&mut self, style: T) -> &mut Self { in axis_style()
44 pub fn x_label_offset<S: SizeDesc>(&mut self, value: S) -> &mut Self { in x_label_offset()
53 pub fn y_label_offset<S: SizeDesc>(&mut self, value: S) -> &mut Self { in y_label_offset()
60 pub fn x_labels(&mut self, value: usize) -> &mut Self { in x_labels()
67 pub fn y_labels(&mut self, value: usize) -> &mut Self { in y_labels()
74 pub fn x_label_formatter(&mut self, fmt: &'b dyn Fn(&X::ValueType) -> String) -> &mut Self { in x_label_formatter()
81 pub fn y_label_formatter(&mut self, fmt: &'b dyn Fn(&Y::ValueType) -> String) -> &mut Self { in y_label_formatter()
88 pub fn axis_desc_style<T: IntoTextStyle<'b>>(&mut self, style: T) -> &mut Self { in axis_desc_style()
96 pub fn x_desc<T: Into<String>>(&mut self, desc: T) -> &mut Self { in x_desc()
103 pub fn y_desc<T: Into<String>>(&mut self, desc: T) -> &mut Self { in y_desc()
114 pub fn label_style<T: IntoTextStyle<'b>>(&mut self, style: T) -> &mut Self { in label_style()
121 pub fn set_all_tick_mark_size<S: SizeDesc>(&mut self, value: S) -> &mut Self { in set_all_tick_mark_size()
133 ) -> &mut Self { in set_tick_mark_size()
179 pub(crate) fn new(chart: &'b mut ChartContext<'a, DB, Cartesian2d<X, Y>>) -> Self { in new()
232 pub fn set_all_tick_mark_size<S: SizeDesc>(&mut self, value: S) -> &mut Self { in set_all_tick_mark_size()
248 ) -> &mut Self { in set_tick_mark_size()
262 pub fn x_label_offset<S: SizeDesc>(&mut self, value: S) -> &mut Self { in x_label_offset()
271 pub fn y_label_offset<S: SizeDesc>(&mut self, value: S) -> &mut Self { in y_label_offset()
277 pub fn disable_x_mesh(&mut self) -> &mut Self { in disable_x_mesh()
283 pub fn disable_y_mesh(&mut self) -> &mut Self { in disable_y_mesh()
289 pub fn disable_x_axis(&mut self) -> &mut Self { in disable_x_axis()
295 pub fn disable_y_axis(&mut self) -> &mut Self { in disable_y_axis()
301 pub fn disable_mesh(&mut self) -> &mut Self { in disable_mesh()
306 pub fn disable_axes(&mut self) -> &mut Self { in disable_axes()
312 pub fn axis_style<T: Into<ShapeStyle>>(&mut self, style: T) -> &mut Self { in axis_style()
319 pub fn x_max_light_lines(&mut self, value: usize) -> &mut Self { in x_max_light_lines()
326 pub fn y_max_light_lines(&mut self, value: usize) -> &mut Self { in y_max_light_lines()
333 pub fn max_light_lines(&mut self, value: usize) -> &mut Self { in max_light_lines()
341 pub fn x_labels(&mut self, value: usize) -> &mut Self { in x_labels()
348 pub fn y_labels(&mut self, value: usize) -> &mut Self { in y_labels()
355 pub fn bold_line_style<T: Into<ShapeStyle>>(&mut self, style: T) -> &mut Self { in bold_line_style()
362 pub fn light_line_style<T: Into<ShapeStyle>>(&mut self, style: T) -> &mut Self { in light_line_style()
369 pub fn label_style<T: IntoTextStyle<'b>>(&mut self, style: T) -> &mut Self { in label_style()
378 pub fn x_label_style<T: IntoTextStyle<'b>>(&mut self, style: T) -> &mut Self { in x_label_style()
385 pub fn y_label_style<T: IntoTextStyle<'b>>(&mut self, style: T) -> &mut Self { in y_label_style()
392 pub fn x_label_formatter(&mut self, fmt: &'b dyn Fn(&X::ValueType) -> String) -> &mut Self { in x_label_formatter()
399 pub fn y_label_formatter(&mut self, fmt: &'b dyn Fn(&Y::ValueType) -> String) -> &mut Self { in y_label_formatter()
406 pub fn axis_desc_style<T: IntoTextStyle<'b>>(&mut self, style: T) -> &mut Self { in axis_desc_style()
413 pub fn x_desc<T: Into<String>>(&mut self, desc: T) -> &mut Self { in x_desc()
420 pub fn y_desc<T: Into<String>>(&mut self, desc: T) -> &mut Self { in y_desc()