aspose file tools*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
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://aspose.com/file-tools
 
subject: Using XSL to draw a pie chart
 
Similar Threads
pie chart
HOW to draw an ARC on a Frame / Panel
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
applets - pie charts