Maybe something like this ( as posted by Dave )
thank you for these replies, but another question is when the file source is in .txt file like this:
http://pimohweather.com/cache/enso.txt, How can I auto fetch the source file from this txt which automatically parsing the values and inseting it to array in these sample graph?
lets just say:
http://pimohweather.com/cache/enso.txt then auto converts to array then putting it on the sample graph you made?
and to put it here?
// start of var entry
var chart_legends = ['Jan 1950', 'Feb 1950', 'Mar 1950', 'Apr 1950', 'May 1950', 'Jun 1950', 'Jul 1950',
'Aug 1950', 'Sep 1950', 'Oct 1950', 'Nov 1950', 'Dec 1950', 'Jan 1951', 'Feb 1951', 'Mar 1951',
'Apr 1951', 'May 1951', 'Jun 1951', 'Jul 1951', 'Aug 1951', 'Sep 1951'];
var chart_data = [-1.62, -1.32, -1.07, -1.11, -1.37, -0.74, -0.44, -0.42, -0.41, -0.32, -0.60, -0.88, -0.92,
-0.66, -0.04, 0.20, 0.37, 0.52, 0.87, 0.71, 1.08];
// end of var entry
Thanks and regards
-Mike-