If you’re using FusionCharts you may encounter a strange issue – chart renders correctly when Flash renderer is in use and displays “Invalid Data” error message when falling back (or forced) to JavaScript renderer.
In most cases culprit is invalid XML data passed to the engine. And while Flash is more forgiving, JavaScript requires strict valid XML. Most often the cause for the issue are characters invalid in XML. Check your data and if they contain following characters – replace them with their encoded values:
" (quote) --> "
' (apostrophe) --> '
< (less sign) --> <
> (greater sign) --> >
& (ampersand) --> &
And the error will disappear.
Happy charting!