Chart.js and long labels

前端 未结 6 669
难免孤独
难免孤独 2020-12-30 22:45

I use Chart.js to display a Radar Chart. My problem is that some labels are very long : the chart can\'t be display or it appears very small.

So, is there a way to b

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-30 23:04

    Unfortunately there is no solution for this until now (April 5th 2016). There are multiple issues on Chart.js to deal with this:

    • https://github.com/nnnick/Chart.js/issues/358 (the main one)
    • https://github.com/nnnick/Chart.js/issues/608 (closed with no fix)
    • https://github.com/nnnick/Chart.js/issues/358 (closed with no fix)
    • https://github.com/nnnick/Chart.js/issues/780 (closed with no fix)
    • https://github.com/nnnick/Chart.js/issues/752 (closed with no fix)

    This is a workaround: Remove x-axis label/text in chart.js

提交回复
热议问题