I am looking for a real example with sample code on how to draw on canvas greater than screen size ( As of now I am drawing normally and not able to view outside screen size). More stress is on being able to scroll / pan the screen to view the whole canvas. If anymore info is required please comment.
Update: Found my answer here Image in Canvas with touch events
You can simply put the entire canvas inside of a ScrollView. This way, Android takes care of all of the scrolling for you. However, if you want to be able to have the user interact with the Canvas other than the scrolling, you will need to intercept some of the touch events from the ScrollView. An example of doing this can be found over here.
My version is converted from Monodroid, but the implementation should look about the same. (I tried putting it back into java, apologies if it is not exact)
In order to draw outside the screen, just draw where ever you want, it will be drawn outside the screen. The trick is to see it by zooming and panning. For zooming your view needs to implement ScaleGestureDetector.IOnScaleGestureListener and implement the onScale method as below.
For panning you just need to implement the onTouchEvent, which is required for zooming anyway.
NOTE: This code is for a custom VIEW object - so inherit from View and implement IOnScaleGestureListener
My suggestion is to take a look at the AChartEngine source code, extract from there only the parts you need (a small subset of the model, renderer and chart packages, the tools package). It provides you all the stuff you need, the only issue is that it provides a lot more than that.
The source code is here.