modify the chart builder