| 44 | /// Contains information identifying the point being highlighted. |
| 45 | #[derive(Debug, Clone, Copy)] |
| 46 | pub struct TooltipContext<'a> { |
| 47 | /// ID of the series |
| 48 | pub series_id: ShapeId, |
| 49 | /// Label of the series, if any (empty string means none) |
| 50 | pub series_label: &'a str, |
| 51 | /// Index within the series [0..len) |
| 52 | pub point_index: usize, |
| 53 | } |
| 54 | |
| 55 | #[derive(Debug, Clone, PartialEq)] |
| 56 | pub struct TooltipUiPayload { |
nothing calls this directly
no outgoing calls
no test coverage detected