get chart on the page