470,855 Members | 1,301 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,855 developers. It's quick & easy.

JSP Simple Line Chart/Graph

I've written a jsp that retrieves data from a sybase table via the sql
JSTL. Two colums of data are returned, date and value. Currently the
data is placed in an HTML table.

Does anyone know of a simple component that can put this on a simple
line chart/graph?

I'm hoping for a very simple solution in the area of a chart tag and
the use of 2 arrays, 1 to hold the dates, 1 to hold the values.

Maybe...

<xyx:chart
type="line"
bgcolor="white"
linecolor="red"
...
<xyx:data>
@array1, @array2
</xyx:data>
</xyz:chart>
Jul 17 '05 #1
1 9467

"Frank" <fr************@yahoo.com> wrote in message
news:25**************************@posting.google.c om...
I've written a jsp that retrieves data from a sybase table via the sql
JSTL. Two colums of data are returned, date and value. Currently the
data is placed in an HTML table.

Does anyone know of a simple component that can put this on a simple
line chart/graph?

I'm hoping for a very simple solution in the area of a chart tag and
the use of 2 arrays, 1 to hold the dates, 1 to hold the values.

Maybe...

<xyx:chart
type="line"
bgcolor="white"
linecolor="red"
...
<xyx:data>
@array1, @array2
</xyx:data>
</xyz:chart>


Have a look at this project: http://cewolf.sourceforge.net/ I've used it
successfully in several projects. Let me know if you need more info/help.
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Patrick.O.Ige | last post: by
1 post views Thread by Robin Tucker | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.