basic 2D chart functionality added