basic chart working