Active Graphs and Charts

Active Graphs and Charts


Dynamic Time Graph Labels

In this tutorial we show how to dynamically generate time labels for the chart axis

Configure the Graph

The first step is to configure the graph software to request the properties from a server script. This is done with the parameter 'JpGraphPropertyFile'. Here is the configuration used for this graph:-

Create the Property Script

For this example we have created the property script with PHP. The server side script can be written in any server side language and at the bottom of this page there are sample scripts for ASP and PHP

The script is fairly straight forward and performs the following steps:-

Sample Property Scripts

The server script may be written in any language, here are sample scripts for some common languages:-

back to tutorial index