setting local vars for chart vc