CODE:
									
<%@page import="SoftwareFX.ChartFX.*"%>
<%

ChartServer chart1 = new ChartServer(application,request,response );

chart1.openData(COD.VALUES,3,5);
chart1.setValue(0,0,0.5);
chart1.setValue(0,1,0.75);
chart1.setValue(0,2,0.91);
chart1.setValue(0,3,0.98);
chart1.setValue(0,4,0.72);

chart1.setValue(1,0,232815);
chart1.setValue(1,1,678192);
chart1.setValue(1,2,655234);
chart1.setValue(1,3,891230);
chart1.setValue(1,4,533988);

chart1.setValue(2,0,100);
chart1.setValue(2,1,200);
chart1.setValue(2,2,150);
chart1.setValue(2,3,150);
chart1.setValue(2,4,299);

chart1.closeData(COD.VALUES);

SeriesAttributes series = chart1.getSeries(1);
series.setGallery(Gallery.BAR); 
series.setCylSides((short) 32);
		
Axis axis = chart1.getAxis(1);
axis.setVisible(true);
axis.setMin((float) 0.5);
axis.setStep((float) 0.05);
axis.setMax((short) 1);
axis.setTextColor(new java.awt.Color(0, 0, 255));
axis.getGrid().setColor(new java.awt.Color(0, 0, 255));

//using 1 as axis indice will be representing the secondary y axis
axis = chart1.getAxis(3);
axis.setVisible(true);
axis.setMin(100);
axis.setMax(300);
axis.setTextColor(new java.awt.Color(255, 0, 0));
axis.getGrid().setColor(new java.awt.Color(255, 0, 0));

series = chart1.getSeries(0);
series.setGallery(Gallery.AREA); 
series.setYAxis(1); 

series = chart1.getSeries(2);
series.setGallery(Gallery.LINES); 
series.setYAxis(3);

%>

<%=chart1.getHtmlTag("450","280")%>