summaryrefslogtreecommitdiff
path: root/sw/qa/uitest/chart
diff options
context:
space:
mode:
authorKurt Nordback <kurt.nordback@protonmail.com>2024-06-11 10:04:37 -0600
committerHeiko Tietze <heiko.tietze@documentfoundation.org>2024-07-29 13:12:31 +0200
commit37bca7e571b1356b29addeb631066350e03e64ea (patch)
treeff9ee9b5a20e46d58480f6bd34eecfec73478de5 /sw/qa/uitest/chart
parentca21cc985d57fffe7c834159b17c095206304994 (diff)
tdf#161090 - Spec how many / which values are in remainder of-Pie chart
This commit moves bar-of-pie and pie-of-pie chart types into a separate line in the chart type selection UI from 'plain' pie chart types. This allows for separate UI controls, including a spin button added in this commit for of-pie types to specify the number of entries to be included in the composite wedge and broken out in the right-hand subchart. Per discussion in this and related bugs, this may not be the long-term best approach for specifying which entries go into the composite, and it still only allows for the last entries in the composite. But it is a step towards allowing greater control. I've also changed the default number in the composite from 3 to 2, to better match MSO. I/O of the 'number in the composite wedge' parameter is not included in this commit. Implementing that for ODF and OOXML perhaps should be a separate bug or bugs. Change-Id: If4afc1417ea94c15e86a9a4dfe967a6f8ecb7ca8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168690 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sw/qa/uitest/chart')
-rw-r--r--sw/qa/uitest/chart/tdf138556.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/uitest/chart/tdf138556.py b/sw/qa/uitest/chart/tdf138556.py
index 7bddbf7c7227..910b24ebcc4d 100644
--- a/sw/qa/uitest/chart/tdf138556.py
+++ b/sw/qa/uitest/chart/tdf138556.py
@@ -27,7 +27,7 @@ class tdf138556( UITestCase ):
#TODO: test other subtypes
with self.ui_test.execute_dialog_through_action( xChart, "COMMAND", mkPropertyValues({ "COMMAND" : "DiagramType" })) as xDialog:
xChartType = xDialog.getChild( "charttype" )
- xStockType = xChartType.getChild( "9" )
+ xStockType = xChartType.getChild( "10" )
xStockType.executeAction( "SELECT", tuple())
#Insert Data Series