Set the domain limits for the scale band.
(mut self, range: Vec<String>)
| 64 | |
| 65 | /// Set the domain limits for the scale band. |
| 66 | pub fn set_domain(mut self, range: Vec<String>) -> Self { |
| 67 | self.domain = range; |
| 68 | self.rescale(); |
| 69 | self |
| 70 | } |
| 71 | |
| 72 | /// Get the domain limits of the scale. |
| 73 | pub fn domain(&self) -> &Vec<String> { |