Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes XML and Related Technologies and the fly likes Using XSL to draw a pie chart Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "Using XSL to draw a pie chart" Watch "Using XSL to draw a pie chart" New topic
Author

Using XSL to draw a pie chart

Huang Crystal
Greenhorn

Joined: Jul 17, 2001
Posts: 20
Hi all,
I have a project which requires mi to draw a pie chart using the XML values and XSL. Degrees have to be calculated to ensure the pie sectors are divided according to its value. Does anyone has an example or reference on this project of mine?
Any help is greatly appreciated.
Thanks alot..
------------------
0=),
Crystal


0=),<BR>Crystal
Tanya Rawat
Ranch Hand

Joined: Jul 23, 2001
Posts: 31
Hi Huang,
Though I myself never worked on it but would like to suggest you one link of IBM's website for Transforming XML into Scalable Vector Graphics (SVG) to convert documents into graphics.
http://www-106.ibm.com/developerworks/education/transforming-xml/xmltosvg/index.html
There may be several other similar websites where you can find solution for your problem.
Good Luck !!
Huang Crystal
Greenhorn

Joined: Jul 17, 2001
Posts: 20
Thank you, Tanya.
------------------
0=),
Crystal
Huang Crystal
Greenhorn

Joined: Jul 17, 2001
Posts: 20
Hi there,
I've checked out the the website and I've tried to use the codings but it doesn't work. And what if I have to also display the values in percentage %?
Is there anyone with any examples?
Thanx alot...
------------------
0=),
Crystal
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Using XSL to draw a pie chart
 
Similar Threads
draw bar chart in java or servlet or jsp
i want to display some stats using a pie chart in jsp/java please guide me
pie chart
HOW to draw an ARC on a Frame / Panel
applets - pie charts