Produkte - Freeware/Shareware - TEChart Stand vom 17.05.2005 10:03

RSS Feed Icon RSS Feed Info

TE Chart

This is a simple Bar Chart you can freely insert in your webpage. Its advantage lies in its simplicity of configuration and small footprint of about 27K. The applet runs on a Java 1.1 VM.

Features

Features
Small footprint The applet comes with a footstamp of about 27 KB. This is of importance when users have small download bandwidth.
Simple configuration The configuration of the applet is very simple. Only very few of the parameters are needed to show a useful graphic.
Specialized The specialization of this applet to show only bar chart allows for the simple configuration and small footprint.
Compatibility The applet is entirely written in Java 1.1. This allows it to be shown also by the most founded versions of browsers like Netscape Navigator or Microsoft InternetExplorer.
Automatic range calculation The applet automatically calculates a useful number of ticks on the x-axis
Automatic scale calculation The applet automatically calculates a useful minimum and maximum of the x-axis
Automatic border scaling The border for the labels is adjusted automatically to the length of the labels you provide.
Individual color for bars Each bar has its individual color, either provided by applet parameters or randomly assigned by the program
Data labels You can switch data labels on and off. This means, that the value of a bar is printed inside or besides the bar in the graphic, dependent on the bar size. The color of the labels can separately set for labels inside the bars and outside the bars.
Background colors You can assign a color to the applet background and to the chart background. By default, both are set to white.

Configuration

name description required example
Copyright Copyright notice yes www.tangarena.ch/techart/index.html
Labels Label of each bars yes Spring;Summer;Autumn;Winter
DataRow The value of each data bar yes 12.7;26.4;17.3;-2.8
Title Title of the chart no Mean Temperature
TitleX Title of x-axis no> Temperature in °C
Colors Color for each data bar no #330000;#003300;#666600;#660000
BGApplet Background color for applet, [white no #FFFFDD
BGChart Background color for applet, [white] no #DDDDDD
HasDataLabel Should data labels be shown [false] no true
ColorDataLabel Color of data labels inside/outside bar [black] no #FFFFFF;#000000

Applet Code

Assuming you have your applet in a subdirectory "applet" to your page, then the html applet tag will look the following:

<applet   
  codebase = "applet"
  archive  = "te_chart-1.3.jar"
  code     = "com.tangarena.techart.TEChartApplet.class"
  name     = "TemperaturChart"
  width    = "400"
  height   = "300"
  hspace   = "0"
  vspace   = "0"
  align    = "middle"
>
 <param name = "Copyright"      value = "www.tangarena.ch/techart/index.html" />
 <param name = "Labels"         value = "Spring;Summer;Autumn;Winter" />
 <param name = "Datarow"        value = "12.7;  26.4;  17.3;  -2.8" />
 <param name = "Colors"         value = "#66CC00;#003300;#660000;#000066" />
 <param name = "Title"          value = "Mean Temperature" />
 <param name = "TitleX"         value = "Temperature in °C" />
 <param name = "BGApplet"       value = "#CCCCCC" />
 <param name = "BGChart"        value = "#FFFFCC" />
 <param name = "HasDataLabel"   value = "true" />
 <param name = "ColorDataLabel" value = "#FFFFFF;#000000" />
</applet> 
             

Download

name format size (KB)
Download techart.zip with jar- and demo-html-file ZIP Archive 26

License

Freeware