I just surf plotkit's googlegroup, and found there will be an EasyPlot
function in next release(coming soon)
http://groups.google.com/group/plotkit/browse_thread/thread/47261b93c9983af9/f65e1a7c211352f8#f65e1a7c211352f8
the code becomes amazing easy:D
<div id="example" style="margin: 0 auto 0 auto;" width="400"
height="400"></div>
<script type="text/javascript">
var data = [[0,0], [1,2], [2,3], [3, 7], [4, 8], [5, 6]];
var plotter = EasyPlot("line", {}, $("example"), [data,
"sample.txt"]);
</script>
</div>
http://media.liquidx.net/js/plotkit-tests/quickstart-easy.html
--
Fred
Jorge Vargas wrote:
> On 6/2/06, gasolin <[EMAIL PROTECTED]> wrote:
......
> nice I have an idea with a friend and we'll check this out, we where
> planning to handcode our svg files, as kid templates, this may be a nice way
> for the dinamic part.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---