Set the scale for the Y dimension.
(mut self, scale: &'a impl Scale<U>)
| 47 | |
| 48 | /// Set the scale for the Y dimension. |
| 49 | pub fn set_y_scale(mut self, scale: &'a impl Scale<U>) -> Self { |
| 50 | self.y_scale = Some(scale); |
| 51 | self |
| 52 | } |
| 53 | |
| 54 | /// Set the keys in case of a stacked bar chart. |
| 55 | pub fn set_keys(mut self, keys: Vec<String>) -> Self { |