Wow!

Two greats answers, and it's the same strategy.
Thanks to M. Shulman and M. PMario for the code and the explications.

I try the code and ...

TypeError: jQuery.plot is not a function

I have to think about that.
My Javascript and Jquery knowledge is very small.

LaRaison

On Mar 28, 5:22 pm, PMario <[email protected]> wrote:
> <script>
>     var d1 = [];
>     for (var i = 0; i < 14; i += 0.5)
>         d1.push([i, Math.sin(i)]);
>     var d2 = [[0, 3], [4, 8], [8, 5], [9, 13]];
>     // a null signifies separate line segments
>     var d3 = [[0, 12], [7, 12], null, [7, 2.5], [12, 2.5]];
>     jQuery.plot( jQuery("#placeholder"), [ d1, d2, d3 ]);
> </script>
>
> may work.
>
> since $ is only a "shortcut" for jQuery replace something like
>
> $('#someID').someFunctionName();
> with
> jQuery('#someID').someFunctionName(); and it should work.
>
> since $.plot() is a jQuery plugin it should be possible to use
> jQuery.plot()
>
> the above is not tested.
> -m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to