Home forums Using CanvasJS Pie Chart size reduced after deployment to server

This topic contains 0 replies, has 1 voice, and was last updated by  vijaym 1 month, 3 weeks ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #13023

    vijaym
    Member

    Hi,

    I am using Canvasjs to create a Pie Chart. I am giving height of chart container as ’22em’ (and width as 55%) to keep the component responsive.
    Pie Chart comes up correctly when I deploy it locally using spring-boot. However, when same code is deployed to IBM IHS server (with backend on IBM WAS). Pie Chart size appears to be very small compared to what I had on my local. I haven’t changed anything in code. Also, browser and screen resolution of laptop is same for both set ups.

    Can you please suggest what might be going wrong here? Please let me know if any further information is needed here.
    http://jsfiddle.net/ah2097xw/

    Thanks!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.