Home Forums Chart Support Charts Colliding on small screen

Charts Colliding on small screen

Viewing 4 posts - 1 through 4 (of 4 total)
  • #36278

    Hello,
    I am having a problem with my charts colliding when the screen is resized.
    How can it be fixed?
    Thanks,
    Teva

    • This topic was modified 2 years, 10 months ago by Teva.
    #36283

    Teva,

    Can you please create a JSFiddle reproducing the issue you are facing and share it with us so that we can look into the code, understand the scenario better and help you out?


    Ranjitha R
    Team CanvasJS

    #36288

    Hello Ranjitha,

    Here is the JSFiddle: https://jsfiddle.net/nzqxugt9/
    The code presented is the code after i tried debugging it.
    The following are the images of the bug embedded in the actual application:
    https://drive.google.com/drive/folders/1i-3S_MiKV92HK_vHgdZ8DsD8366NaDJC?usp=sharing
    I also included an image of what i think is the problem – a right border is missing in the left chart.

    Thank you in advance for your help,
    Teva

    #36311

    Teva,

    Based on the JSFiddle shared by you, there seems to be an issue with CSS padding. Removing padding-left:50px should work fine in your case.

    Also, kindly check this updated JSFiddle for a working example.

    multiple-pie-chart-in-a-page


    Ranjitha R
    Team CanvasJS

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

You must be logged in to reply to this topic.