Warning: main() [function.main]: open_basedir restriction in effect. File(/home/novasurf/public_html/_borders/toppy.txt) is not within the allowed path(s): (/home/ozzzie/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ozzzie/public_html/ozwarren/java/khartz.php on line 30

Warning: main(/home/novasurf/public_html/_borders/toppy.txt) [function.main]: failed to open stream: Operation not permitted in /home/ozzzie/public_html/ozwarren/java/khartz.php on line 30

Warning: main() [function.main]: open_basedir restriction in effect. File(/home/novasurf/public_html/_borders/toppy.txt) is not within the allowed path(s): (/home/ozzzie/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ozzzie/public_html/ozwarren/java/khartz.php on line 30

Warning: main(/home/novasurf/public_html/_borders/toppy.txt) [function.main]: failed to open stream: Operation not permitted in /home/ozzzie/public_html/ozwarren/java/khartz.php on line 30

Warning: main() [function.include]: Failed opening '/home/novasurf/public_html/_borders/toppy.txt' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ozzzie/public_html/ozwarren/java/khartz.php on line 30
 

KhartzChart logo

Khartz is a freeware Java applet charting tool for displaying simple graphs and charts within Web pages. The applet is designed to take parameters either manually within the code of an HTML page, or dynamically from ASP or PHP server side scripting.

Feel free to download the Java Archive (.jar) file from the link below and try it within your own pages. A list of sample parameters are included below, and these will be expanded over time.

This is a free tool developed in my own time, and although I'm not expecting you to have problems using it, I accept no liability for any problems that may occur from using this software. Please see the license included within the Java archive file (license.txt).

Parameters

Parameters are passed to the applet using parameter attribute settings within the applet tag.

Khartz currently supports:

valueArray The range of values to be charted held a comma delimited string.
labelArray The text label to be displayed for each value on the chart held in a comma delimited string
colorArray The colours to be used for each of the chart segments. Colours are held as RGB values with commas between each of the RGB elements (value 0-255) and semi-colons between each of the separate colours.
chartType Currently supports ElectionBar, Pie and 3DPie. See the examples above.
font e.g "arial,0,12" where the first argument is the name, the second is the style (0,1,2,3) and the third argument is the size in points
NOTE The number of values, labels and colours must match.
   

The sample HTML included in the text field below can be copied and pasted directly into the HTML view of your own Web editing tool, and then modified accordingly.

The way that the parameters display is demonstrated by the sample charts above.

Please report any bugs or suggestions using our contact page.

 

Java archive file - This is the actual code that needs to be included with the page that is to display the chart.

API documentation - This gives details of how this can be used within your own Java applications.

For updates, please subsribe to the Khartz Developments mailing list

Search

This site     web                

KhartzChart


Java archive file

API documentation