A set of points.
| 113 | |
| 114 | /// A set of points. |
| 115 | pub struct Points<'a> { |
| 116 | base: PlotItemBase, |
| 117 | |
| 118 | pub(crate) series: PlotPoints<'a>, |
| 119 | |
| 120 | pub(crate) shape: MarkerShape, |
| 121 | |
| 122 | /// Color of the marker. `Color32::TRANSPARENT` means that it will be picked |
| 123 | /// automatically. |
| 124 | pub(crate) color: Color32, |
| 125 | |
| 126 | /// Whether to fill the marker. Does not apply to all types. |
| 127 | pub(crate) filled: bool, |
| 128 | |
| 129 | /// The maximum extent of the marker from its center. |
| 130 | pub(crate) radius: f32, |
| 131 | |
| 132 | pub(crate) stems: Option<f32>, |
| 133 | } |
| 134 | |
| 135 | impl PlotItem for Points<'_> { |
| 136 | fn shapes(&self, _ui: &Ui, transform: &PlotTransform, shapes: &mut Vec<Shape>) { |