hellow,
i wondering will be able to draw a pi chart with diffrent scetions colored diffrently
with out using Graphics2d class....in addition that i want to make it rotating 360 degree.:icon_neutral:
moonL!ght
0
Junior Poster in Training
Recommended Answers
Jump to PostI doubt it very much. Why don't you want to use the one class that was designed for exactly that kind of thing?
ps: If you want to look for sample code etc on Google, the normal spelling is "pie chart"
You will also find packages and products for …
Jump to PostI don't know how anyone can program that kind of thing without using the Java Graphics classes. Why don't you want to use them?
Jump to PostYou can do it using the Graphics class.
You do NOT need to use the Graphcis2D class.
Try using the fillArc() method.
(I was just working on a project to do this yesterday.)
All 11 Replies
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
moonL!ght
0
Junior Poster in Training
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
hfx642
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
hfx642
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
hfx642
moonL!ght
0
Junior Poster in Training
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
hfx642
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.