Chart.js line chart is cut off at the top?

前端 未结 7 1488
死守一世寂寞
死守一世寂寞 2020-12-16 19:27

For some reasone all graphs are cut off at the highest value. How can i fix this? I can\'t use a fixed y-axis

相关标签:
7条回答
  • 2020-12-16 20:05

    I found this while making line graphs that had the legend displayed at the top. The only work around I found was to move the legend to the bottom

    options: {
        legend: {
           position: 'bottom',
        },
    }
    

    fiddle

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