Add a data series to the plot. If there exists a series with the same `item.id` ([ShapeId]), the old one will be replaced.
(&mut self, item: Series)
| 173 | x_ticks: Vec::new(), |
| 174 | y_ticks: Vec::new(), |
| 175 | picked_points: IndexMap::new(), |
| 176 | hovered_points: IndexMap::new(), |
| 177 | cursor_ui: None, |
| 178 | shape_overlays_enabled: AtomicBool::new(false), |
| 179 | camera_bounds: None, |
| 180 | } |
| 181 | } |
| 182 | |
| 183 | /// Add a data series to the plot. |