Skip to content

Commit

Permalink
refactor: support set circle legend from json
Browse files Browse the repository at this point in the history
  • Loading branch information
vicanso committed Aug 12, 2023
1 parent 9144557 commit 9f8c974
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/charts/params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ pub(crate) fn get_legend_category_from_value(
let value = match value.to_lowercase().as_str() {
"rect" => LegendCategory::Rect,
"round_rect" => LegendCategory::RoundRect,
"circle" => LegendCategory::Circle,
_ => LegendCategory::Normal,
};
return Some(value);
Expand Down

0 comments on commit 9f8c974

Please sign in to comment.