Rakesh
Rakesh

Reputation: 15057

How to create pie chart in Java ME?

Is there any way of drawing pie chart in Java ME?

Upvotes: 1

Views: 1060

Answers (2)

Orr Matarasso
Orr Matarasso

Reputation: 781

Yep, you're going to have to go with low-level drawing using Graphics methods such as fillArc , drawLine etc.

if you're using the high-level UI you can create a new Image, get its Graphics object and draw on that or you could just extend CustomItem.

Upvotes: 1

izb
izb

Reputation: 51820

You can draw one pie slice using the fillArc method of the Graphics class.

Upvotes: 3

Related Questions