sumit pandey
sumit pandey

Reputation: 1221

Moving pie chart in Achartengine

I am using achartengine for creating piecharts in android. Now everything is going fine except that my pie chart can be dragged/moved to anywhere within the layout. I want my pie chart to be fixed at its own location.

Upvotes: 2

Views: 1974

Answers (2)

Dan D.
Dan D.

Reputation: 32391

You may also want to disable the pinch zoom together with the pan:

renderer.setZoomEnabled(false);

Upvotes: 0

Dheeraj Vepakomma
Dheeraj Vepakomma

Reputation: 28767

Call renderer.setPanEnabled(false); on the DefaultRenderer object.

Upvotes: 8

Related Questions