AddArray in Javascript
Posted: Wed Apr 22, 2009 6:41 am
Hello everybody!
Do you guys have any ideas how to apply AddArray function in javascript?
Following code is still bothering me with "invalid argument" error (line with addarray function):
function lala()
{
TChart1.AddSeries(0);
var dataX = new Array(39680.4122222222, 39680.4134722222, 39680.4147800926, 39680.4153125, 39680.427662037, 39680.431087963, 39680.4311689815, 39680.4321643518, 39680.4499768519, 0);
var data0 = new Array(910, 910, 910, 910, 888, 889, 886, 890, 895, 0);
TChart1.Series(0).AddArray(10, data0, dataX);
}
I would appreciate any help.
Thanx
Do you guys have any ideas how to apply AddArray function in javascript?
Following code is still bothering me with "invalid argument" error (line with addarray function):
function lala()
{
TChart1.AddSeries(0);
var dataX = new Array(39680.4122222222, 39680.4134722222, 39680.4147800926, 39680.4153125, 39680.427662037, 39680.431087963, 39680.4311689815, 39680.4321643518, 39680.4499768519, 0);
var data0 = new Array(910, 910, 910, 910, 888, 889, 886, 890, 895, 0);
TChart1.Series(0).AddArray(10, data0, dataX);
}
I would appreciate any help.
Thanx