有没有一种方法可以在甜甜圈图中将标签居中?

时间:2020-05-13 18:45:37

标签: ngx-charts

这似乎是一个常见的用例。我希望能够在孔所在的甜甜圈图中放置标签。

除了ngx-charts,我想要这样的东西: How to add text inside the doughnut chart using Chart.js?

有没有办法做到这一点?

甜甜圈图示例: https://stackblitz.com/edit/swimlane-pie-chart-advanced?embed=1&file=app/app.component.ts

我发现了此功能请求-状态仍然为打开: https://github.com/swimlane/ngx-charts/issues/874

关于如何在d3图表内居中放置标签的文章: Adding text to the center of a D3 Donut Graph

0 个答案:

没有答案