<%@page import="SoftwareFX.ChartFX.*"%>
<%
ChartServer chart1 = new ChartServer(application,request,response );
//the interval between 2 consecutive tickmarks is equal to 10
chart1.getAxisY().setLabelValue((short) 10);
//assign each label
for (int i=0;i<=9;i++)
chart1.getAxisY().getLabel().setItem(i, "Label " + java.lang.Integer.toString(i));
//set the text color of the y axis labels
chart1.getAxisY().setTextColor(new java.awt.Color(255,0,0));
//set the font properties for the y axis labels
chart1.getAxisY().setFont( new java.awt.Font("Courier New",java.awt.Font.BOLD, 14));
%>
<%=chart1.getHtmlTag("450","280")%>
|