Overview

The purpose of this plugin is to generate the chart images from different sources.

Datasources

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.

Plain text files

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>

Chart types

Different chart types require and support different kinds of source data.

Currently plugin provides one Mojo per combination of datasource type and chart type.

Line charts

Line chart contains one or more datasets, each of those can be built from several data series.

Line Chart 1 Line Chart 2 Line Chart 3