Whichever method ( file, html code, server process etc) you choose to supply
the graph with the data, the format is the same in that of [Data Name] , [Data Value].
Please Note : Data Names are case sensitive.
( i.e. data1series1 is not the same as Data1Series1 ).
Data Naming Convention
The data name is used to specify the series which that piece of data belongs and the order in which it should be placed within
that series. The format of the name is,
dataNseriesM
where N is an integer number representing the order of the data within
the series and M is an integer which specifies the series.
For example if we have 2 series of data each with 4 pieces of data then the
data names would be,
data1series1
data2series1
data3series1
data4series1
data1series2
data2series2
data3series2
data4series2
Please Note: Both the data and series numbering must begin with 1.
Data Value
If the data is being supplied to the applet, then the value can contain up to three elements, separated by a comma , character,
which represent,
Numeric Value
URL
Target Frame
In the following examples we have 2 series of data each with 4 pieces of data.
Data Supplied by file (or server process) to either Applet or Servlet
data1series1: 7.2
data2series1: 7.9
data3series1: 10.35
data4series1: 13.6
data1series2: 2.63
data2series2: 0.64
data3series2: 8.7
data4series2: 0.92
Data Supplied by file to Applet ( incorporates URL functionality )
data1series1: 7000,http://www.jpowered.com,newwindow
data2series1: 7900,http://www.jpowered.com,newwindow
data3series1: 10350,http://www.jpowered.com,_self
data4series1: 13600,http://www.jpowered.com,_self
data1series2: 6300,http://www.jpowered.com,newwindow
data2series2: 6400,http://www.jpowered.com,_self
data3series2: 8700,http://www.jpowered.com,newwindow
data4series2: 9200,http://www.jpowered.com,newwindow
Data Supplied by html parameters to Applet ( incorporates URL functionality
)
<PARAM name="data1series1" value="70">
<PARAM name="data2series1" value="79,http://www.jpowered.com,nw">
<PARAM name="data3series1" value="10">
<PARAM name="data4series1" value="13,http://www.jpowered.com,nw">
<PARAM name="data1series2" value="63">
<PARAM name="data2series2" value="64">
<PARAM name="data3series2" value="87">
<PARAM name="data4series2" value="92,http://www.jpowered.com,new">
|