Thanks again Mark,
Since I had a delimited string, I used split to get an array, and then
tried to pass the $.jqplot function the arrayname in square brackets.
This is a dateAxis, so the array members are ['2009-10-01',5].
some of the code is as follows, but is still does not work.
var seriesArray = jn.split(";");
// line1=[['2009-10-01',5], ['2009-09-30',20], ['2009-09-29',98]];
plot9 = $.jqplot('chart1', [[seriesArray]], {
if I were to uncomment the 'line1' reference, and replace
[[seriesArray]] with [line1], it works fine. the values in the
seriesArray looks just like line 1, only not surrounded by brackets.
can you see anything I am missing?
Thanks
Mike K
On Oct 1, 2:18 pm, Mark Daggett <
heavysi...@gmail.com> wrote:
> If this dynamically created data is coming from a string of values you
> can do
>
> var data = new Array(myCommaDelimitedString)
>
> That should give you an actual array instead of a string
>
> Sent from my iPhone
>
> On Oct 1, 2009, at 12:43 PM, AcadiaSolutions <
mkin...@acadiasolutions.com