Using getObjectReference Function The button below the chart accesses the chart object using getObjectReference function and shows chart's data.