HighCharts中是否存在最大数量的x轴项目

我正在使用HighCharts进行3级深入分析。

当我在第二级使用超过50个项目时,项目文本不再显示在左侧。 单击第一个项目(Parent 1),然后您将看到第二个级别以及未显示的内容。

这是由于我使用的JSON数据量吗?

这是我用于图表的代码

let options = { chart: { type: 'bar', events: { drilldown: function (e) { if (e.seriesOptions) { e.seriesOptions.hiddenValue = e.point.options.hiddenValue; } } } }, title: { text: 'Overall Status' }, xAxis: { type: 'category', labels: { style: { fontSize: '15px' } } }, yAxis: { title:{ text: "Percentage Complete" }, labels: { style: { fontSize: '15px' } } }, legend: { enabled: false }, plotOptions: { series: { borderWidth: 0, dataLabels: { enabled: true, style: { fontSize: '20px' } }, cursor: 'pointer', point: { events: { click: function () { let seriesOptions = this.series && this.series.options; let hiddenValue = seriesOptions && seriesOptions.hiddenValue; if(this.options && this.options.url) { location.href = this.options.url + '?id=' + hiddenValue; } } } } } }, series: [{ name: 'Status', colorByPoint: true }], drilldown: { } }; 

我有一个小提琴,有JSON数据。 https://jsfiddle.net/mark2017/yb3y9dt9/

您可以看到第一次向下钻取不是从0值开始,而是从10开始 – 就像它将计入顶级系列的所有值一样。 这是一个已经在github上报告的错误: 向下钻取超过50个 – 跳过类别名称

cropTreshold设置为大于所有点数的数字似乎适用于您的情况 – 必须为所有系列设置它,例如在plotOptions.series

 plotOptions: { series: { cropThreshold: 2000, borderWidth: 0, 

例如: https : //jsfiddle.net/hfpofx28/