remove 'setSize' method in chart.builder