你好,我有一个角度应用程序,我使用高图表的图表。一切都很顺利,但我对价值观有问题。因为一些价值大约是数百万,而另一些价值只是几千。所以在图中我看不出那么小的值。我用堆叠的酒吧。我创建了工作演示
这是我的魅力
this.chartOptions = {
chart: { backgroundColor: null, plotShadow: false, plotBorderWidth: null, plotBackgroundColor: null },
xAxis: { categories:categories}, stackLabels: { enabled: false},
title: { text: '' }, credits: { enabled: false }, legend: { enabled: true }, tooltip: {
headerFormat: '<b>{point.x}</b><br/>',
pointFormat: '{series.name}: {point.y}<br/>Total: {point.stackTotal}'
},
plotOptions: {minPointLength: 10, column: { stacking: 'normal', dataLabels: {enabled: false } } }, series:el
};我怎么能看到图表中的所有元素,即使数量之间有很大的差异。
提前谢谢。
发布于 2020-06-29 17:10:15
我想到的唯一选择是使用yAxis上的yAxis特性来更改yAxis的可读性。
这个基本的演示应该向您解释我的想法:https://jsfiddle.net/BlackLabel/v02Ls1ej/
https://stackoverflow.com/questions/62640601
复制相似问题