Apply review fixes

- crates/engine/src/cmd/insert/chart.rs
This commit is contained in:
autocraft-bot[bot]
2026-11-12 08:01:45 +00:00
parent b73a53df3d
commit b5b77eb27e
+1
View File
@@ -190,6 +190,7 @@ pub(super) fn chart_options(s: &mut Session, p: &Value) -> Result<Value> {
with_chart(s, p, "chart.options", |c| {
if let Some(t) = &text_color {
c.text_color = t.clone();
c.legend_entries.iter_mut().for_each(|e| e.color = None);
}
apply_bin_options(c, bin_count, bin_size);
apply_subtotals_and_bars(c, p, subtotals.as_deref());