Home › forums › Chart Support › how to set chart width dynammically?
Tagged: Chart width
I would like to use the scroll bar to view data, and the chart width should grow when the data is growing.
When I try to use the scroll bar to generate the chart, canvasJs works poorly.
Two problem here:
1. leave the righthand side with blank space when I set the scroll bar default positon css is “direction : rtl;”,
2. the y-axis label is cut off partially.
Can you kindly 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?
From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue or not able to understand the exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.
Having a JSFiddle helps us in figuring out the issue and many a time we can just edit your code on JSFiddle to fix the issue right away.
You must be logged in to reply to this topic.