added chartRef scope attribute