Archive for April, 2007

Reloading data every x seconds example

Monday, April 30th, 2007

Check this example to see how data reloading feature can be used. To set interval at which data should be reloaded you should add some number in this line (settings file):

<reload_data_interval>10</reload_data_interval>

This means that data will be reloaded every 10 seconds. All charts support this feature.

Reloading data feature added to Line & Area chart

Thursday, April 26th, 2007

Since Line&Area chart v 1.0.9 reloading data automatically is possible. However I strongly recommend to turn off zoom function if you are going to use this function, otherwise the user may be confused if data reloads during zooming. The syntax is the same as in column chart:

<reload_data_interval>5</reload_data_interval>

would mean that data will be reloaded every 5 seconds.

As flash cashes data, there is one additional parameter:

<add_time_stamp>true</add_time_stamp>

this would mean that then loading data flash will add additional time stamp to url and data will be renewed every time.

For those, who tried to use this feature with column chart v 0.9.4 I suggest to upgrade to the newest version of column chart, as there was a bug: after some time of reloading data error occurred.

Bar chart available

Friday, April 20th, 2007

Actually it is not a new chart -  I extended possibilities of column chart and now you can switch from column to bar chart just by changing one variable in your settings file:

<type>bar</type>

or

<type>column</type>

Bar chart inherits all features of column chart. Here are a couple examples:

Bar chart example 1

Bar chart example 2

I also added a new feature in this release - you can set the time interval at which data should be reloaded:

<reload_data_interval>5</reload_data_interval>

would mean that data will be reloaded every 5 seconds.

As flash caches data, there is one additional parameter:

<add_time_stamp>true</add_time_stamp>

this would mean that then loading data flash will add additional time stamp to url and data will be renewed every time.