<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 tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.