[rkward-cvs] SF.net SVN: rkward:[4018] trunk/rkward/rkward/plugins/testing/scatterplot2. xml

tfry at users.sourceforge.net tfry at users.sourceforge.net
Sun Nov 6 13:10:15 UTC 2011


Revision: 4018
          http://rkward.svn.sourceforge.net/rkward/?rev=4018&view=rev
Author:   tfry
Date:     2011-11-06 13:10:15 +0000 (Sun, 06 Nov 2011)
Log Message:
-----------
Add a mockup example for the upcoming <optionset>-element.

Added Paths:
-----------
    trunk/rkward/rkward/plugins/testing/scatterplot2.xml

Added: trunk/rkward/rkward/plugins/testing/scatterplot2.xml
===================================================================
--- trunk/rkward/rkward/plugins/testing/scatterplot2.xml	                        (rev 0)
+++ trunk/rkward/rkward/plugins/testing/scatterplot2.xml	2011-11-06 13:10:15 UTC (rev 4018)
@@ -0,0 +1,29 @@
+<!DOCTYPE rkplugin>
+<document>
+	<code file="scatterplot.js"/>
+	
+<!-- Currently, this is just a mockup (and an incomplete one). The point is to serve as template for implementing the <optionset> element. -->
+	<dialog label="Scatterplot" >
+		<tabbook>
+			<tab label="Variables" id="variables_tab">
+				<row>
+					<varselector id="selector" />
+					<optionset id="vars">  <!-- for auto-mode: keycolumn="..." -->
+						<option id="xvar" label="X" governor="xsel.available"/>
+						<option id="yvar" label="Y" governor="ysel.available"/>
+						<option id="custom_color" governor="colorframe.checked"/> <!-- unlabeled columns will not be shown in the optiondisplay -->
+						<option id="color.color" governor="color.string"/>
+						<content>
+							<optiondisplay show_index="true"/>
+							<varslot source="selector" id="xsel" label="X Variable" required="true"/>
+							<varslot source="selector" id="ysel" label="Y Variable" required="true"/>
+							<embed id="color" component="rkward::color_chooser" label="Color" />
+						</content>
+					</optionset>
+				</row>
+			</tab>
+			<tab label="Default colors and lines" id="defaults_tab">
+			</tab>
+		</tabbook>
+	</dialog>
+</document>

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the rkward-tracker mailing list