From 1abb6c2222960c86659e5534baf1c40587c52e8c Mon Sep 17 00:00:00 2001 From: Floyd Wang Date: Tue, 14 Oct 2025 09:40:10 +0800 Subject: [PATCH] plot(line_chart): Add missing natural stroke style (#1366) --- crates/ui/src/chart/line_chart.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/ui/src/chart/line_chart.rs b/crates/ui/src/chart/line_chart.rs index 8660a6ee..c9a03b9d 100644 --- a/crates/ui/src/chart/line_chart.rs +++ b/crates/ui/src/chart/line_chart.rs @@ -59,6 +59,11 @@ where self } + pub fn natural(mut self) -> Self { + self.stroke_style = StrokeStyle::Natural; + self + } + pub fn linear(mut self) -> Self { self.stroke_style = StrokeStyle::Linear; self