added options for rendering different type of charts