Data File specification

The Data File contains the data for chart building. The Data File may be a static file or dynamically builded by script (PHP, ASP, Perl, etc.), located on web-server. The structure of a file reminds the table.

Data File structure:

&tTText=Chart Title
&tBText=Chart Bottom Comment
&tLText=Left Comment
&tRText=Right Comment
&title=                ;Column Name(1); ...  Column Name(M);
&data1=Series Name(1);       Value(11); ...       Value(1M);
...
&dataN=Series Name(N);       Value(N1); ...       Value(NM);


(Optional parameters)


&hint1=              ;       Value(11); ...       Value(1M);
...
&hintN=              ;       Value(N1); ...       Value(NM);

&color1=             ;       Value(11); ...       Value(1M);
...
&colorN=             ;       Value(N1); ...       Value(NM);

Where:

&tTText - Chart Title
&tBText - Chart Bottom Comment
&tLText - Left Comment
&tRText - Right Comment
&title - Names of columns
&data1...&dataN - The Series Name and items data
&hint1...&hintN - (Optional) Custom text at hint window for each items (the option hwCustomHint at style file must have value =1).
&color1...&colorN - (Optional) Fixed color for each items. This parameter must contents a numbers of colors which was specifyed at style file. (see color1...color19 and colorg1...colorg19 at Style file specification). Note: When this parameter is specifyed, the legend is not displayed.

Data File example #1:

&tTText=Chart Title
&tBText=Chart Bottom Comment
&tLText=Left Comment
&tRText=Right Comment
&title=       ;     January; February; March; April;
&data1=Series1;           4;        6;     7;     8;
&data2=Series2;           5;       10;     8;     9;
&data3=Series3;        10.5;       -4;   9.2;     5;
&data4=Series4;           2;        5;    -3;     1;

Data File example #2:

&tTText=Chart Title
&tBText=Chart Bottom Comment
&tLText=Left Comment
&tRText=Right Comment
&title=;January;February;March;April;
&data1=Series1;4;6;7;8;
&data2=Series2;5;10;8;9;
&data3=Series3;10.5;7;9.2;5;
&data4=Series4;2;5;3;1;
&hint1=;January (4);February (6);March (7);April (8);
&hint2=;January (5);February (10);March (8);April (9);
&hint3=;This column is <b>red</b>;February (7);March (9.2);April (5);
&hint4=;January (2);February (5);This column is <b>green</b>;April (1);
&color1=;1;1;1;1;
&color2=;1;1;1;1;
&color3=;2;1;1;1;
&color4=;1;1;3;1;

Chart example #1:

Chart example #2:

Note: The data file must be created in Windows format. Line-end symbol: (#13#10) (\r\n).
You can use Unicode and UTF-8 encoding.

See also
Style file specification
Samples

Back to Contents