Home forums Using CanvasJS Sync Multiple Charts problem

This topic contains 4 replies, has 2 voices, and was last updated by  makrz 2 months, 3 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #24781

    Hello
    I am trying to make a daily diagrams of pressure and temperature. However, in both mums and temperature and pressure. If someone would like to correct it I would be grateful.Project here.

    Thank you and best regards.

    #24792

    @makrz,

    It seems like the sequence of dataPoints is not proper & CanvasJS doesn’t sort the dataPoints but rendered in the order provided by you. Because of this, you can observe an extra line from the last dataPoint to the first. Sorting dataPoints before passing it to chart-options or storing sorted values in JSON should work fine in this case.


    Shashi Ranjan
    Team CanvasJS

    #24796

    Hello. I’m not a programmer and I do not understand much of that. I would like the “temperature” chart to be “field1” data and the “field2” data in the “pressure” chart. Please help.

    #24811

    @makrz,

    Please take a look at this JSFiddle.


    Shashi Ranjan
    Team CanvasJS

    #24814

    Hello.
    Thank you very much. Now I understand.

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

You must be logged in to reply to this topic.