AnyChart Sample of Simple Using AnyChart with PHP and Arrays
Please see data.php code to see how xml for AnyChart is created using PHP.