Home forums Using CanvasJS Multiple chart on one page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #28129

    Hi,
    I’ve downloaded trial version of CanvasJs and I’m trying to set multiple charts on one page, but it doesn’t work. Each chart is working alone, but I get both of them, only one is displayed. Can you help me ?

    I’ve tried to put the code here, but I can’t post this message with code. (“You were blocked” appears);

    Jakub

    #28134

    Jakub,

    Please take a look at this documentation page for step-to-step tutorial and an example on rendering multiple charts in a page.


    Vishwas R
    Team CanvasJS

    #28144

    Hi,
    It started to work (there was no \ sign in closing div). Thanks.

    I have another question. I’m trying to sync crosshairs on those charts without success. I think that’s because my X values are “dateTime”. Do you have example using DateTime ?

    Regards
    Jakub

    #28158

    Jakub,

    Syncing crosshair across multiple charts is not available as an inbuild feature, as of now. However, by simulating mouse-events across charts you can achieve it as shown in this JSFiddle.

    If you are still facing issue, kindly create JSFiddle reproducing the issue you are facing and share it with us so that we can look into the code / options being used, understand the scenario better and help you resolve.


    Vishwas R
    Team CanvasJS

    #28173

    Hi,

    I’ve made JSFiddle and it’s working fine. Crosshairs are in sync. zooming works fine. When I’ve copied (Ctrl+C, Ctrl+v) in my website it stopped working. Zooming works, but syncing crosshairs does not. Is there any “magic” I should put in my HTML code ?

    Regards
    Jakub

    #28182

    Jakub,

    The JSFiddle shared seems to be working fine. If you could share JSFiddle or a sample project reproducing the issue you are facing, we could understand it better to help you out!


    Vishwas R
    Team CanvasJS

    #28199

    Hi,
    I can send source of my project. Is there any possibility to send you private message ? I can’t post source here.

    Regards
    Jakub

    #28232

    Jakub,

    Private email based support is available only in Priority-Support License. One of our sales team-member will get in touch with you over mail soon.


    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.