From 18b85e8fd9cf457c47c2188bb2f17413b185d9db Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sun, 15 Nov 2026 13:09:30 -0800 Subject: [PATCH] Docs: Graph Type's Line Width also needs Connect Data Points The MCP guide and the dialog test's doc comment said Line Width is available while Draw Filled Lines is on. The dialog also needs Connect Data Points on, as its code and test already check. --- crates/ui-egui/src/dialogs/graph_type.rs | 2 +- docs/mcp.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ui-egui/src/dialogs/graph_type.rs b/crates/ui-egui/src/dialogs/graph_type.rs index 170dad3552..838ba066d9 100644 --- a/crates/ui-egui/src/dialogs/graph_type.rs +++ b/crates/ui-egui/src/dialogs/graph_type.rs @@ -1072,7 +1072,7 @@ mod tests { } /// Line Width next to Draw Filled Lines shows the graph's width, is available only while Draw - /// Filled Lines is on, and OK gives the graph the width typed. + /// Filled Lines and Connect Data Points are on, and OK gives the graph the width typed. #[test] fn line_width_goes_with_draw_filled_lines() { let mut app = app_with_graph("line"); diff --git a/docs/mcp.md b/docs/mcp.md index 2bbfb07418..b03f221602 100644 --- a/docs/mcp.md +++ b/docs/mcp.md @@ -10909,7 +10909,7 @@ Object › Graph › Type… (`graph.setType` without params) and a double-click `graph.setType {}` returns, under the command's names for them. `legend`, `pieLegend`, `piePosition`, `pieSort`, `firstRowInFront`, `firstColumnInFront`, `filledLines` and `lineWidth` are held for every type, so a type picked in the dialog shows the options it uses. The Line Width field next to Draw Filled Lines is available only while Draw Filled -Lines is on. `overrideValues` and `rightOverrideValues` are Override Calculated Values of the left (or only) +Lines and Connect Data Points are on. `overrideValues` and `rightOverrideValues` are Override Calculated Values of the left (or only) value axis and of the right one. While one is on, OK sends `axisMin`, `axisMax` and `ticks` (or `rightAxisMin`, `rightAxisMax` and `rightTicks`), and the dialog fills the ones the graph lacks with the values the axis would be calculated with for the type, value axis and Separate Scales the dialog shows.