<%@page import="SoftwareFX.ChartFX.*"%>
<%
ChartServer chart1 = new ChartServer(application,request,response );
chart1.setGallery(Gallery.BAR);
chart1.setWallWidth((short) 2);
chart1.setCylSides((short) 32);
chart1.setChart3D(true);
chart1.setCluster(true);
//Filling the chart1: 5 series 7 points
chart1.openData(COD.VALUES, 5, 7);
chart1.setValue(0, 0, 87556);
chart1.setValue(0, 1, 142533);
chart1.setValue(0, 2, 189027);
chart1.setValue(0, 3, 221822);
chart1.setValue(0, 4, 281009);
chart1.setValue(0, 5, 208912);
chart1.setValue(0, 6, 296235);
chart1.setValue(1, 0, 92382);
chart1.setValue(1, 1, 78234);
chart1.setValue(1, 2, 107775);
chart1.setValue(1, 3, 105334);
chart1.setValue(1, 4, 115269);
chart1.setValue(1, 5, 72265);
chart1.setValue(1, 6, 122819);
chart1.setValue(2, 0, 47392);
chart1.setValue(2, 1, 49882);
chart1.setValue(2, 2, 51322);
chart1.setValue(2, 3, 47362);
chart1.setValue(2, 4, 44657);
chart1.setValue(2, 5, 49011);
chart1.setValue(2, 6, 52773);
chart1.setValue(3, 0, 108920);
chart1.setValue(3, 1, 126810);
chart1.setValue(3, 2, 72119);
chart1.setValue(3, 3, 61922);
chart1.setValue(3, 4, 143892);
chart1.setValue(3, 5, 182934);
chart1.setValue(3, 6, 100253);
chart1.setValue(4, 0, 45291);
chart1.setValue(4, 1, 69905);
chart1.setValue(4, 2, 37662);
chart1.setValue(4, 3, 32850);
chart1.setValue(4, 4, 6453);
chart1.setValue(4, 5, 27819);
chart1.setValue(4, 6, 38994);
chart1.closeData(COD.VALUES);
%>
<%=chart1.getHtmlTag("450","280")%>
|