Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
angular-chart.js 有问题,它会显示网格线,甚至超出图表的最后一点。
即使在最后一点之后,您也可以看到绘制的网格。
终于找到了解决办法:
类chart-container添加边距,需要在angular-chart.css中添加该类
.chart-container { margin-right:22px; }
还要确保画布具有将图表宽度设置为 100% 的以下类
.chartWidth { width:100% !important; }