Chart.js responsive option - Chart not filling container

前端 未结 1 697
天涯浪人
天涯浪人 2021-01-17 17:26

Check out this fiddle. What am I doing wrong? Isn\'t the responsive option supposed to force the chart to fill it\'s container?

相关标签:
1条回答
  • 2021-01-17 18:14

    Sorry about this, but I realized that the version I was using was outdated. For future reference, I found an up to date version of chart.js here.

    //cdn.jsdelivr.net/chart.js/1.0.1-beta.4/Chart.min.js
    

    Here is the updated fiddle

    0 讨论(0)
提交回复
热议问题