DatasetLoaderProcessor

Top  Previous  Next

This processor is based on JFreeChart  and loads a chart data object (called DataSet) into memory. The following parameters define how the input file shall be processed.

 

Parameter

Description

type

File.Ascii.Cat: Loads the chart data from an ascii file (e.g. CSV) and creates an creates a DefaultCategoryDataset.

source

Path or URL to input file(s)

destParamKey

The object is stored in out parameters under a given key

tablen (optional)

Number of white spaces a tabulator stands for.

       

       

Which is critical!! If tabs are used in input file, it is very recommended to set the tablen parameter!

Furthermore following configuration is expected (as a subelement in processor element in the configuration file) to describe the concrete data, that shall be read. Description: rowHeads - used for legend (and dataset diversion). If not specified, heads will be generated. - startCol - at which column the "label" starts (including; starting from 1) - endCol - at which column the "label" ends (including, if not specified, till the end of line) - Note: concrete rows are the same as specified by data element colHeads - used for legend (and dataset diversion). If not specified, heads will be generated. - row - at which row in the file are theses "labels" settled - concrete columns boundaries are the same as specified by each value in the data element data - specifies where the own data are settled in the file - startRow - from which line shall be the data read (including) - endRow - till which line shall be the data read (including; if not specified, till the end of file) - step - (current line + step = next line). default 1. - orientation - supported values are horizontal and vertical. Tells whether the data lies in rows (horizontal) or in columns (vertical). Default is horizontal. value - value which shall be read - startCol - at which column the value starts - endCol - at which column the value ends.