<%@page import="SoftwareFX.ChartFX.*"%>
<%
ChartServer chart1 = new ChartServer(application,request,response );
ImageBorder myBorder = new ImageBorder(ImageBorderType.COLONIAL);
chart1.setBorderObject(myBorder);
chart1.getSerLeg().setItem(0,"Product A");
chart1.getSerLeg().setItem(1,"Product B");
// Show the Series Legend Window
chart1.setSerLegBox(true);
// Set the position to the bottom
chart1.getSerLegBoxObj().setToolBorder(ToolBorder.EXTERNAL);
chart1.getSerLegBoxObj().setDocked(Docked.BOTTOM);
chart1.getSerLegBoxObj().setAlignment(ToolAlignment.SPREAD);
%>
<%=chart1.getHtmlTag("450","280")%>
|