[rkward] rkward/plugins/plots: Fix counter-intuitive layout in dotchart

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Sun Nov 22 07:57:10 UTC 2015


Git commit e89c53645292b307a081705cf7e47f6c5a977c2d by Thomas Friedrichsmeier.
Committed on 22/11/2015 at 07:57.
Pushed by tfry into branch 'master'.

Fix counter-intuitive layout in dotchart

M  +1    -1    rkward/plugins/plots/dotchart.rkh
M  +4    -1    rkward/plugins/plots/dotchart.xml

http://commits.kde.org/rkward/e89c53645292b307a081705cf7e47f6c5a977c2d

diff --git a/rkward/plugins/plots/dotchart.rkh b/rkward/plugins/plots/dotchart.rkh
index d8ff621..036c00d 100644
--- a/rkward/plugins/plots/dotchart.rkh
+++ b/rkward/plugins/plots/dotchart.rkh
@@ -10,8 +10,8 @@ Choose a matrix, vector or a factor to be plotted. Further options are available
 
 	<settings>
 		<caption id="tab_variables"/>
+		<setting id="x">If your data is already suitable for plotting, directly, specify it here. Otherwise, leave this empty, and check the <i><label id="tabulate"/></i> option, below.</setting>
 		<setting id="tabulate">If your data needs to be tabulated / aggregated before plotting, check this option. Refer to <link href="rkward://component/one_var_tabulation"/> for details on the dependent options.</setting>
-		<setting id="x">If your data is already suitable for plotting, directly, specify it here. Otherwise, leave this empty, and check the "Tabulate" option, above.</setting>
 
 		<caption id="tab_limit_options"/>
 		<setting id="limit">If there are very many categories in your data, it may make sense to limit the amount of categories that will be displayed. Check this, if you want to set a limit. See Refer to <link href="rkward://component/limit_vector_length"/> for details on the dependent options.</setting>
diff --git a/rkward/plugins/plots/dotchart.xml b/rkward/plugins/plots/dotchart.xml
index 9bd46fb..6a82f87 100644
--- a/rkward/plugins/plots/dotchart.xml
+++ b/rkward/plugins/plots/dotchart.xml
@@ -37,10 +37,13 @@
 				<row>
 					<varselector id="vars"/>
 					<column>
+						<varslot min_vars="1" id="x" source="vars" required="true" label="Variable"/>
+						<row>
+							<stretch/><text> - or - </text><stretch/>
+						</row>
 						<frame id="tabulate" label="Tabulate data before plotting" checkable="true" checked="false">
 							<embed id="tabulate_options" component="rkward::one_var_tabulation" as_button="false" label="Tabulation Options"/>
 						</frame>
-						<varslot min_vars="1" id="x" source="vars" required="true" label="Variable"/>
 						<stretch/>
 						<preview id="preview"/>
 					</column>



More information about the rkward-tracker mailing list