add graph component with chartist