Chart contains the graphical representation of some statistical data. In order to build the graphics plugin need access to that statistics. The data may come from large number of different sources.
Currently the plugin supports plain text sources (like generated log files), that contains some statistical data in a particular format.
Plugin may work with single data file. In this case it generates exactly one chart ffrom that file. But it may also process the set of files and generate one chart image per one input file.
Following are the samples of specifying the single and multiple datasource files.
<configuration> <!-- Specifies single dtasource file --> <data>src/main/chartdata/samples.log</data> <outputDirectory>target/charts</outputDirectory> </configuration>
<configuration> <!-- Set of txt files in charts directory --> <filesets> <fileset> <directory>src/main/chartdata</directory> <includes> <include>*.txt</include> </includes> </fileset> </filesets> <outputDirectory>target/charts</outputDirectory> </configuration>