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 2 years, 7 months ago.
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.
You must be logged in to reply to this topic.