add graph and charts