implementing chartengine framework