[英]react-chartjs-2 (chart.js) Radar - Remove values?
Photo here Radar Radarcode1 Radarcode 3照片在这里Radar Radarcode1 Radarcode 3
Hello everyone, i would like to remove the values on my radar from react-chartjs-2 (for example 2.03 or 3.21), it's ugly and makes my radar hard to read.大家好,我想从 react-chartjs-2 中删除我雷达上的值(例如 2.03 或 3.21),它很丑,让我的雷达难以阅读。 I tried so many things, i am a bit lost now.
我尝试了很多东西,我现在有点迷茫。
put this ( .map((el) => (Math.round(el)))
) behind your data array so you only get rounded values把这个(
.map((el) => (Math.round(el)))
)放在你的数据数组后面,这样你就只能得到四舍五入的值
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.