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.
如果不同标签的值大小相对相同,则雷达图可以正常工作。[ jsFiddle ]
如果任何标签相对于其他标签具有非常大的值,则图表将被挤压成一条直线。这看起来很可怕。[ jsFiddle ]
这个问题显示了如何设置自定义scaleStepWidth和scaleStep,但如果我使用它,图表就会超出它的边界。[ jsFiddle ]
scaleStepWidth
scaleStep
有没有办法scaleStepWidth为不同的标签设置不同的?
将所有值转换为系列总数的百分比。然后你就有了比较有意义的数字,你可以在相同的比例上绘制它们。