Set dashed line style with given dash length.
(self, length: f32)
| 493 | |
| 494 | /// Set dashed line style with given dash length. |
| 495 | pub fn line_dashed(self, length: f32) -> Self { |
| 496 | self.line_type(LineType::Dashed { length }) |
| 497 | } |
| 498 | |
| 499 | pub(super) fn validate(&self) -> Result<(), SeriesError> { |
| 500 | if self.positions.is_empty() { |