Home Forums Chart Support Syncronize four line graphs with zoom

Syncronize four line graphs with zoom

Viewing 2 posts - 1 through 2 (of 2 total)
  • #34717

    This is an interesting example https://canvasjs.com/javascript-charts/synchronized-charts/ of the new sync possitility.
    However, I don’t want data from .json. In this case I want all the data inside the same .html

    The html code below is one single file index.html. It works fine but I would like to remove the json code.
    Can anyone make this code reduction? I keep failing with that task. Such an example is probably also of general interest. Thanks and best regards Bengt

    index.html
    index.html as zip

    #34724

    Bengt,

    Please download the updated sample from this link. We have removed the code section used for making AJAX call to the JSON file.

    For reference, you can check this link to load data through AJAX call using $.get().

    ___________
    Indranil Deo
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.