Updated amcharts-php to work with amcharts v3