473,581 Members | 3,046 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 9624

"Frank" <fr************ @yahoo.com> wrote in message
news:25******** *************** ***@posting.goo gle.com...
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
3065
by: Patrick.O.Ige | last post by:
I have a code below and its a PIE & BAR CHART. The values now are all static but I want to be able to pull the values from a database. Can you guys give me some ideas to do this? Thanks Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Declare your object variables
1
2988
by: Robin Tucker | last post by:
Hi, I am embedding various things into a Microsoft Word document. I want to embed and automate a chart control. I can embed an Excel.Chart.8 into my Word document manually (no problemo), but I cannot find this control on the "Add/Remove Components..." dialog in the VB.NET editor. What I want to do is use automation to create an...
1
3161
by: Saintor | last post by:
This is for A97 in runtime or MDE mode. My intent was to define a temporary query using the recordsetclone property / filter / orderby. The controlsource of my chart would be based on a grouped query based on this temporary query. Is this the best way or is there another one more efficient? Is it possible in a runtime environment to...
2
2055
by: DeanL | last post by:
Hi everyone, I'm trying to produce a report in Access 97 that shows the difference between 2 sets of 2 fields (Estimated Cost against Actual Cost and then Estimated Working Days against Actual Working Days). My problem is that the chart wizard in Access 97 only seems to be able to operate with an aggregate function (SUM, COUNT, etc.) as...
7
9027
by: vbnetdev | last post by:
My boss wants this done in a day. I would be happy with a week! Anyway, I have a dataset filled with data and need to populate an MS word chart with it when writing a report. Any tutorials or suggestions would be great. Sample data at http://www.kjmsolutions.com/sample.txt
6
5603
craigfr
by: craigfr | last post by:
I am looking to compare this year's defects to last year's defects (by month) with a two-line graph. So I will need a line chart with two different lines, one that shows YTD # of defects and another for last year's # of defects. The X axis is Months (no years because of comparison), and the Y axis is # of defects. Right now I have one query...
7
3309
by: isinc | last post by:
I have an assignment that I'm working on and am having trouble. Not too familiar with graphics. Any help/guidance would be much appreciated to see if what I have so far is okay and what I should do for the loop part. I will post assignment details and what i have so far. You are given a dictionary named Stats, which is part of the template...
3
4694
by: The Frog | last post by:
Hi guys, I have never touched really on this area before with forms and reports, and now I would like to be able to incorporate some graphs / charts for a new little app I am building, and I need some guidance. Can someone point me in the right direction? 1/ What is the difference between MS Chart and MS Graph? 2/ Which is better to...
0
1261
by: gpalade | last post by:
Hy, i'm using c# to create a powerPoint presentation that contains charts. I've added the chart(s) using Graph.Chart, it looks like this: Graph.Chart objChart = (Graph.Chart)objSlide.Shapes.AddOLEObject(xx, yy, 250, 180, "MSGraph.Chart.8", "", MsoTriState.msoFalse, "", 0, "", MsoTriState.msoFalse).OLEFormat.Object; ...
0
7809
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8159
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7920
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8183
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6569
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5366
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3835
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2312
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1147
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.