﻿================================================
 The web service « plotAlternativesValues-ITTB »
================================================

How to run the java program in command line?
============================================

::
  java -jar plotAlternativesValues-ITTB.jar methodPlotOptions.xml alternatives.xml alternativesValues.xml alternativesValuesPlot.xml messages.xml 

where:

- The first entry file corresponds to ``methodPlotOptions.xml``. There are many options to take into account. The generated plot can be a bar plot or pie plot. 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 second entry file corresponds to ``alternatives.xml``
-  The third entry file corresponds to `` alternatives Values.xml``

- The first output file corresponds to the `` alternativesValuesPlot.xml`` file and contains the plot when it is generated. 
- The second output file corresponds to the ``messages.xml`` file. It is a list of messages generated by the algorithm. It contains information about the execution status as well as a warnings and errors when they occur.

How to run the tests?
=====================

The file ``methodPlotOptions.xml`` will be generated in Diviz. You have to choose the proposed options (chart type, color or not, title, etc) and put the entry files `` alternatives.xml`` and `` alternativesValues.xml`` in the correct order.
