Skip to content

Commit

Permalink
feat: support stroke dash array
Browse files Browse the repository at this point in the history
  • Loading branch information
vicanso committed Dec 30, 2023
1 parent db976d5 commit e72b551
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts-rs-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "charts-rs-derive"
version = "0.1.21"
version = "0.1.22"
edition = "2021"
keywords = ["charts", "svg"]
description = "A derive library for charts-rs"
Expand All @@ -15,4 +15,4 @@ proc-macro = true

[dependencies]
quote = "1.0.33"
syn = "2.0.39"
syn = "2.0.43"
2 changes: 2 additions & 0 deletions charts-rs-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,7 @@ pub fn my_default(input: TokenStream) -> TokenStream {
color: Some(color),
stroke_width: self.series_stroke_width,
symbol: self.series_symbol.clone(),
stroke_dash_array: series.stroke_dash_array.clone(),
});
} else {
if series_fill {
Expand All @@ -694,6 +695,7 @@ pub fn my_default(input: TokenStream) -> TokenStream {
color: Some(color),
stroke_width: self.series_stroke_width,
symbol: self.series_symbol.clone(),
stroke_dash_array: series.stroke_dash_array.clone(),
..Default::default()
});
}
Expand Down

0 comments on commit e72b551

Please sign in to comment.