Set the y-axis label.
(&mut self, label: impl Into<String>)
| 271 | /// If there exists a line with the same `hline.id` ([ShapeId]), the old one will be replaced. |
| 272 | pub fn add_hline(&mut self, hline: HLine) { |
| 273 | self.hlines.insert(hline.id, hline); |
| 274 | self.data_version += 1; |
| 275 | } |
| 276 | |
| 277 | /// Set the x-axis label. |
| 278 | pub fn set_x_axis_label(&mut self, label: impl Into<String>) { |