Does anyone here use the Cewolf API?
843838Feb 27 2007 — edited Feb 27 2007I am in the middle of a project where I have to display a linear graph chart which presents the results from a simulation. After som searching I decided to use Cewolf (Chart Enabling Web Object Framework).
http://cewolf.sourceforge.net/new/index.html
Now, I went through the tutorial step by step to make sure I did everything right, but then when it was time to view the results, the jsp page is displayed, but the image doesn't/is blank.
My JSP:
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib uri='/WEB-INF/cewolf.tld' prefix='cewolf' %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="themes/default/stylesheet.css" />
<title>JSP Page</title>
</head>
<body>
<%@ include file="includes/Header.jsp" %>
<%@ include file="includes/NavOnline.jsp" %>
<div id="content">
<jsp:useBean id="pageViews" class="hovedprosjekt.pages.GraphData"/>
<cewolf:chart
id="line"
title="Page View Statistics"
type="line"
xaxislabel="Page"
yaxislabel="Views">
<cewolf:data>
<cewolf:producer id="pageViews"/>
</cewolf:data>
</cewolf:chart>
<p>
<cewolf:img chartid="line" renderer="cewolf" width="400" height="300"/>
</p>
</div>
<%@ include file="includes/Footer.jsp" %>
</body>
</html>
I use Netbeats IDE 5.5 to run my project, if that's any help... I just can't see what it is that I'm doing wrong here