Implemented creation of charts