I am trying to load a fairly large highcharts chart by loading the javascript for the chart with ajax. As in the entire chart is loaded by ajax, not updated by ajax. This works on all charts on firefox(even if it is really slow) and all but the largest charts in chrome.
Any chart that has more than roughly 65000 characters (probably unsigned 16 bit variable but not sure) throws an ‘Unexpected end of input error’ in chrome. I have had charts just above this limit, then by simply reducing the number of characters, it worked.
The entire ajax response is there so it doesn’t appear to be an ajax issue.
Is there some sort of character limit on a javascript tag for chrome? And if there is, does a work around exist?
I ended up just paginating the chart as to avoid the limit of characters, helps readability anyway.