Table of contents
    1. 1. Input
    2. 2. Graph
    3. 3. Code

    Input

    Graph

    Code

    dekiapi();
    
    <h2> "Input" </h2>
    <input id="graphvalue" type="text" value="10,20,30,50,40" />
    <input type="button" value="update" ctor="when($this.click) Deki.Api.Reload('#graph', { val: #graphvalue.val() });" /> <h2> "Graph" </h2> <div id="graph">     google.linechart(400,200, [string.split(__request.args.val ?? "10,20,30,50,40", ",")], ["data"], ["ff0000"]); </div>

     

    Tag page
    Viewing 1 of 1 comments: view all
    Thanks for the example Steve it works great. I'll need to look at updating the google api though because I'd need the xyline. The implemented charts don't allow the specification of X points and would mean I'd need to create 10000 points to do the x scale I need.
    Posted 22:39, 31 May 2009
    Viewing 1 of 1 comments: view all
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by