format the amcharts directory