chartist
chartist copied to clipboard
How to make chartist graph resize to fit it's outside container?
Hey guys!
So i am using gridstack.js to create a customizable dashboard. The user is able to drag it's content around, and that works fine.
When a user resize it's container the width of the graph is always okay, but the height never stays inside the container. Is it a way to force a chart to always fit inside a container? Or does Chartist only support specific width/height ratios?
Example is here:
Hello @P1llus 👋
Chartist has recently been updated to version 1.0
with some new exciting changes like ESM and TypeScript support. The migration guide can be found right here.
Please let me know if the question is still relevant to you so we can further look into it!