<%@page import="SoftwareFX.ChartFX.*"%>
<%
ChartServer chart1 = new ChartServer(application,request,response );
// Fix the random data so chart always look the same
chart1.setTypeEx(chart1.getTypeEx() | ChartTypeEx.RANDOM_FIXED);
SoftwareFX.ChartFX.Annotation.AnnotationX annot = new SoftwareFX.ChartFX.Annotation.AnnotationX();
SoftwareFX.ChartFX.Annotation.AnnotationArrow arrow = new SoftwareFX.ChartFX.Annotation.AnnotationArrow();
annot.getList().add(arrow);
chart1.getExtensions().add(annot);
arrow.getBorder().setColor(java.awt.Color.red);
arrow.getBorder().setWidth(4);
arrow.setHeight(70);
arrow.setWidth(-20);
arrow.attach(1.3, 75);
%>
<%=chart1.getHtmlTag("450","280")%>
|