get chart working