简体   繁体   English

如何在 chart.js 中设置最大滴答计数 3.*.*

[英]How to set max ticks count in chart.js 3.*.*

How set min - max ticks count for this chart如何设置此图表的最小 - 最大刻度计数

enter image description here在此处输入图像描述

So.所以。 I find this in inretfaces of charts我在图表的 inretfaces 中找到了这个

// Maximum number of ticks and gridlines to show.
@default 11
maxTicksLimit: number;

We can use this for set max ticks count.我们可以使用它来设置最大滴答数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM