mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 17:46:59 +00:00
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.
This commit is contained in:
@@ -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");
|
||||
|
||||
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user