Skip to content Skip to sidebar Skip to footer

Customizing Piechart Displayed By Using Chartengine

I am successfully displaying charts by using Chart Engine but I am suffering from below problems: I am unable to reduce the Chart Size. Chart is moving on the screen but I don't w

Solution 1:

You can set the margins by using:

defaultRenderer.setMargins(margins);

You can disable panning this way:

defaultRenderer.setPanEnabled(false, false);

You can create a chart in a view and embed it inside an activity that you define the layout for, see this.

Post a Comment for "Customizing Piechart Displayed By Using Chartengine"