This property already exists on Google Charts, but not ChartJS. To get the chart you want, you will need to be able to read / work with / write JS, or at least understand the Chart.js documentation. In order to resize the chart by setting responsive attribute, Chart. Now you need to add your chart code into the footer in the page settings. Note that if you want a responsive chart, can you set those properties to the html embed element itself. I at least stumbled upon the same problem when using ChartJS inside a Grid. ![]() I have used an html embed element, but you can use a div if you like.Ĭheck here for the latest CDN links: Chart.js - Libraries - cdnjs - The #1 free and open source CDN built to make life easier for developersĪdd a html embed element to your page. This is similar to CSS transform: scale() property where you can resize the pie/donut by providing a numeric value and it increases or decreases the size. Resize the page & graphs in grid cell items resize correctly Resize the page back down & the graphs stay at size & breaks CSS grid SpencerDuball noted, this may have something to do with CSS Grid/Flex-Box. Hi, I found a few threads around trying to implement chart.js into Webflow.
0 Comments
Leave a Reply. |