RCHART TUTORIAL, Chapter 1

Copyright 2003, J4L Components (http://www.java4less.com)
Go bak to contents


RChart , first steps.

 

Installation

The installation of RChart is very simple:

  1. download the evaluation version from http://www.java4less.com.
  2. Unzip the file you have downloaded in an empty directory. Make sure you unzip also the subdirectories.

Note about the evaluation version: the evaluation version has the following restrictions:

In order to install the purchased version you must unzip the following files in an empty directory:

  1. rchart.zip. This file contains the main files.
  2. rchartVB.zip. This file contains RChart Visual Builder (if you have purchased it)
  3. rchagl.zip (or rchaglsr.zip) This file contains RChart Gold version (if you have purchased it). It will overwritte the rchart.jar file.
  4. rchasr.zip: This file contains the source code (if you have purchased it). You need to unzip it if you want to recompile the applet using Mini-chart.

Note: it could happen that you still see the evaluation version in your browser even after installing the registered version. This can happen if your server or browser has cached the evaluation version. In this case we recommend to delete all copies of rchart.jar, delete the browser's cache and temporary files, restsart your computer and install the registered version again.

 

Where to start

As starting point we recommend you not to create a chart from scratch but to take one of the examples we provide and start working by modifying them. We provide examples for:

In all cases the fastest way of changing and testing parameters is by using RChart Visual Builder.

 

Format of the parameters

There are some parameters that have a special format:

You can define transparency in Fill and line styles using an additional parameter:

where <transparency> is a value between 0 (full transparent) and 1 (opaque). We recommend 0.5.

Note 1: transparency will only work for jdk 1.2 or later (previous versions will ignore it).