code refactoring...
 - size method naming changed in chart.builder