ApexCharts 雷达图的图表始终可以转到最大数据

问题描述 投票:0回答:1

似乎在顶点图表中,为雷达生成的图表始终符合您指定的数据。

有谁知道是否可以让它始终达到最大值,而不是仅达到系列中的最大数据值?

根据 kikon respone 进行编辑,基于他的小提琴,这应该可以工作: 这是我的图表选项:

yaxis: {
  stepSize: 1,
  max: 10,
},

enter image description here

angular apexcharts ng-apexcharts
1个回答
0
投票

我没有正确绑定 HTML,忘记添加:

[yaxis]="chartOptions.yaxis!"

到 apx-chart 元素。 感谢@kikon 提供的提示并用小提琴引导我来到这里!

© www.soinside.com 2019 - 2024. All rights reserved.