Provider: | ITTB |
---|---|
Version: | 2.0 |
This web service generates a barplot or a pie plot representing a numeric quantity for each alternative, like, e.g., an importance value. Compared to the web service plotAlternativesValues, some parameters are added. Colors can be used and the title of the plot can be typed. In the case of a bar chart, the axis-labels can also be typed. The alternatives’ evaluations are supposed to be real or integer numeric values.
(For outputs, see below)
A list of alternatives. Alternatives can be activated or desactivated via the <active> tag (true or false). By default (no <active> tag), alternatives are considered as active.
A list of <alternativesValue> representing a certain numeric quantity for each alternative, like, e.g., an overall value.
Plot type method: choose between “Bar chart” and “Pie chart”. The default plot is a bar chart.
Parameter values can be defined via the GUI or the XMCDA file, by default via GUI.
Name: Chart type:
Type of the plot: choose between “Bar chart” and “Pie chart”. The default plot is a bar chart.
Name: Order by:
Choose between “name”, “id” or “values”.
Name: Order:
The parameter which says if the highest or lowest value is to be placed first.
Name: Colors:
The use of colors: true for a colored plot.
Name: Initial color:
String that indicates the initial color in the generated barplot or pieplot.Choose between “Black”, “Red”, “Blue”, “Green”, “Yellow”, “Magenta” and “Cyan”.
Name: Final color:
String that indicates the final color in the generated barplot or pieplot. choose between “Black”,”White”, “Red”, “Blue”, “Green”, “Yellow”, “Magenta” and “Cyan”.
Name: Chart title:
String for the title of the plot. The default value is an empty field.
Name: X axis label:
String for the horizontal axis-label.The default value is an empty field.
Name: Y axis label:
String for the vertical axis-label.The default value is an empty field.
Tag: programParameters
Code:
<programParameters>
<parameter id="chart_type" name="Chart type">
<values>
<value>
<label>%1</label>
</value>
</values>
</parameter>
<parameter id="order_by" name="Order by">
<values>
<value>
<label>%2</label>
</value>
</values>
</parameter>
<parameter id="order" name="Order">
<values>
<value>
<label>%3</label>
</value>
</values>
</parameter>
<parameter id="use_color" name="Colors in the chart">
<values>
<value>
<label>%4</label>
</value>
</values>
</parameter>
<parameter id="initial_color" name="Initial color">
<values>
<value>
<label>%5</label>
</value>
</values>
</parameter>
<parameter id="final_color" name="Final color">
<values>
<value>
<label>%6</label>
</value>
</values>
</parameter>
<parameter id="chart_title" name="Chart title">
<values>
<value>
<label>%7</label>
</value>
</values>
</parameter>
<parameter id="domain_axis" name="Domain axis label">
<values>
<value>
<label>%8</label>
</value>
</values>
</parameter >
<parameter id="range_axis" name="Range axis label">
<values>
<value>
<label>%9</label>
</value>
</values>
</parameter>
</programParameters>
The generated barplot or pieplot as a PNG image.
A list of messages generated by the algorithm.
For further technical details on the web service underlying this program, have a look at its documentation here.