Multiple Ranges

Applet code:
<applet code=com.objectplanet.chart.ChartApplet
 archive=chart.jar width=600 height=300>
<param name=chart value="bar">
<param name=seriesCount value="4">
<param name=sampleValues_0 value="72,87,45,28,65">
<param name=sampleValues_1 value="486,745,854,368,267">
<param name=sampleValues_2 value="3,6,7,6,5">
<param name=sampleValues_3 value="286,145,154,268,667">
<param name=sampleColors value="#C6C6C6,#498EFF,#635AFF,#31319C">
<param name=multiColorOn value=true>
<param name=seriesRange_0 value=1>
<param name=seriesRange_1 value=2>
<param name=seriesRange_2 value=3>
<param name=seriesRange_3 value=4>
<param name=rangeOn_2 value=true>
<param name=rangeOn_3 value=true>
<param name=rangeOn_4 value=true>
<param name=rangePosition_1 value=left>
<param name=rangePosition_2 value=left>
<param name=rangePosition_3 value=right>
<param name=rangePosition_4 value=right>
<param name=rangeStep value=100>
<param name=rangeStep_2 value=1000>
<param name=rangeStep_3 value=10>
<param name=rangeStep_4 value=100>
<param name=rangeColor value=#666666>
<param name=rangeColor_2 value=#498EFF>
<param name=rangeColor_3 value=#635AFF>
<param name=rangeColor_4 value=#31319C>
<param name=rangeAxisLabel value="range one">
<param name=rangeAxisLabel_2 value="range two">
<param name=rangeAxisLabel_3 value="range three">
<param name=rangeAxisLabel_4 value="range four">
<param name=rangeAxisLabelAngle value=270>
<param name=rangeAxisLabelAngle_2 value=270>
<param name=rangeAxisLabelAngle_3 value=270>
<param name=rangeAxisLabelAngle_4 value=270>
<param name=rangeAxisLabelFont value="Arial, BOLD, 12">
<param name=valueLinesOn value=true>
<param name=valueLabelsOn value=true>
<param name=valueLabelStyle value=inside>
<param name=valueLabelAngle value=270>
<param name=barWidth value=0.6>
<param name=3DModeOn value=true>
<param name=3DDepth value=4>
<param name=background value=white>
</applet>

Servlet code:
<img SRC="http://127.0.0.1:8080/servlet/com.objectplanet.chart.ChartServlet?
chart=bar&
width=600&
height=300&
seriesCount=4&
sampleValues_0=72,87,45,28,65&
sampleValues_1=486,745,854,368,267&
sampleValues_2=3,6,7,6,5&
sampleValues_3=286,145,154,268,667&
sampleColors=%23C6C6C6,%23498EFF,%23635AFF,%2331319C&
multiColorOn=true&
seriesRange_0=1&
seriesRange_1=2&
seriesRange_2=3&
seriesRange_3=4&
rangeOn_2=true&
rangeOn_3=true&
rangeOn_4=true&
rangePosition_1=left&
rangePosition_2=left&
rangePosition_3=right&
rangePosition_4=right&
rangeStep=100&
rangeStep_2=1000&
rangeStep_3=10&
rangeStep_4=100&
rangeColor=%23666666&
rangeColor_2=%23498EFF&
rangeColor_3=%23635AFF&
rangeColor_4=%2331319C&
rangeAxisLabel=range%20one&
rangeAxisLabel_2=range%20two&
rangeAxisLabel_3=range%20three&
rangeAxisLabel_4=range%20four&
rangeAxisLabelAngle=270&
rangeAxisLabelAngle_2=270&
rangeAxisLabelAngle_3=270&
rangeAxisLabelAngle_4=270&
rangeAxisLabelFont=Arial,%20BOLD,%2012&
valueLinesOn=true&
valueLabelsOn=true&
valueLabelStyle=inside&
valueLabelAngle=270&
barWidth=0.6&
3DModeOn=true&
3DDepth=4&
background=white">
Application code:
package com.objectplanet.chart.testing;

import com.objectplanet.chart.*;
import java.awt.*;

public class Bar {
     public static void main(String[] argv) {
         double[] values_0 = new double[] {72,87,45,28,65};
         double[] values_1 = new double[] {486,745,854,368,267};
         double[] values_2 = new double[] {3,6,7,6,5};
         double[] values_3 = new double[] {286,145,154,268,667};
         Color[] sampleColors = new Color[] {new Color(0xC6C6C6), new Color(0x498EFF), new Color(0x635AFF), new Color(0x31319C)};

         BarChart chart = new BarChart();
         chart.setSeriesCount(4);
         chart.setSampleCount(5);
         chart.setSampleValues(0, values_0);
         chart.setSampleValues(1, values_1);
         chart.setSampleValues(2, values_2);
         chart.setSampleValues(3, values_3);
         chart.setSampleColors(sampleColors);
         chart.setMultiColorOn(true);
         chart.setSeriesRange(0,0);
         chart.setSeriesRange(1,1);
         chart.setSeriesRange(2,2);
         chart.setSeriesRange(3,3);
         chart.setRangeOn(0, true);
         chart.setRangeOn(1, true);
         chart.setRangeOn(2, true);
         chart.setRangeOn(3, true);
         chart.setRangePosition(0, Chart.LEFT);
         chart.setRangePosition(1, Chart.LEFT);
         chart.setRangePosition(2, Chart.RIGHT);
         chart.setRangePosition(3, Chart.RIGHT);
         chart.setRelativeRange(0, 1, 100);
         chart.setRelativeRange(1, 1, 1000);
         chart.setRelativeRange(2, 1, 10);
         chart.setRelativeRange(3, 1, 100);
         chart.setRangeColor(0, new Color(0x666666));
         chart.setRangeColor(1, new Color(0x498EFF));
         chart.setRangeColor(2, new Color(0x635AFF));
         chart.setRangeColor(3, new Color(0x31319C));
         chart.setLabel("rangeAxisLabel", "range one");
         chart.setLabel("rangeAxisLabel_2", "range two");
         chart.setLabel("rangeAxisLabel_3", "range three");
         chart.setLabel("rangeAxisLabel_4", "range four");
         chart.setLabelAngle("rangeAxisLabelAngle", 270);
         chart.setLabelAngle("rangeAxisLabelAngle_2", 270);
         chart.setLabelAngle("rangeAxisLabelAngle_3", 270);
         chart.setLabelAngle("rangeAxisLabelAngle_4", 270);
         chart.setFont("rangeAxisLabelFont", new Font("Arial", Font.BOLD, 12));
         chart.setValueLinesOn(true);
         chart.setValueLabelsOn(true);
         chart.setValueLabelStyle(Chart.INSIDE);
         chart.setLabelAngle("valueLabelAngle", 270);
         chart.setBarWidth(0.6);
         chart.set3DModeOn(true);
         chart.set3DDepth(4);
         chart.setBackground(Color.white);

         Frame f = new Frame();
         f.setSize(600,320);
         f.add("Center", chart);
         f.show();
     }
}