~l3on/ubuntu/precise/rkward/rebuild1

« back to all changes in this revision

Viewing changes to rkward/plugins/plots/barplot_embed.rkh

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Friedrichsmeier
  • Date: 2008-04-20 21:30:00 UTC
  • mfrom: (1.2.2 upstream) (3.1.9 hardy)
  • Revision ID: james.westby@ubuntu.com-20080420213000-fs4i8efmfc793bnn
new upstream release
closes: #475175
closes: #463348
closes: #475982

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE rkhelp>
 
2
<document>
 
3
        <summary>
 
4
Options applicable to bar plots
 
5
        </summary>
 
6
 
 
7
        <usage>
 
8
Choose if you want stacked bars, legend, and rainbow colors. Also you can choose if you want to display or not bar values (labels) and in what place.
 
9
        </usage>
 
10
 
 
11
        <settings>
 
12
                <setting id="legend">Should a legend be added to the barplot? The row names of the data will be used to construct the legend, so this option has no effect, if the rows are not named.</setting>
 
13
                <setting id="colors">Select between grey and rainbow colors.</setting>
 
14
                <setting id="type">Select a type between juxtaposed bars and stacked bars. This setting is only meaningful for two-dimensional data. If you chose stacked bars you can not display bar values, below.</setting>
 
15
                <setting id="labels">Select if you want to display bar values (labels).</setting>
 
16
                <setting id="place">If you have selected to display bar values (labels) you can select where should they be displayed:
 
17
                <li> Above the bars </li>
 
18
                <li> Beside the bars </li>
 
19
                <li> Inside the bars </li>
 
20
                </setting>
 
21
                <setting id="plotoptions">Generic plot options. See <link href="rkward://component/plot_options"/>.</setting>   
 
22
        </settings>
 
23
        <related>
 
24
                <ul>
 
25
                        <li><link href="rkward://component/barplot"/></li>
 
26
                        <li><link href="rkward://component/plot_options"/></li>
 
27
                        <li><link href="rkward://rhelp/barplot"/></li>
 
28
                        <li><link href="rkward://rhelp/table"/></li>
 
29
                </ul>
 
30
        </related>
 
31
        <technical>
 
32
                This plugin is meant to be embedded in other plugins. It does not by itself provide a means to select input data. When embedding this plugin, you will be interested in the following properties:
 
33
                <ul>
 
34
                        <li><i>xvar</i>: The name of the data variable. You can connect this to a varslot, or set it to a fixed string such as "x". This is required.</li>
 
35
                        <li><i>code.preprocess</i>: Provides a summary of parameters to be used in a call to rk.header(), if you have a use for it.</li>
 
36
                        <li><i>code.printout</i>: The actual commands needed to construct the barplot.</li>
 
37
                </ul>
 
38
        </technical>
 
39
</document>