简体   繁体   English

具有多个序列的Highcharts列范围图

[英]Highcharts columnrange chart with multipleseries

I want to draw a chart something like this: 我想画一个像这样的图表:

预期结果

This is the code URL for above chart: 这是上面图表的代码URL:

I want to remove the space between bars as below: 我要删除栏之间的空间,如下所示:

电流输出

Can anyone know how to achieve this? 谁知道如何实现这一目标?

You can use a combination of groupPadding and pointPadding to remove the spaces between the bars in your graph. 您可以结合使用groupPaddingpointPadding来删除图形中条形之间的空格。

See the Highcharts demo: http://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/column-pointpadding-none/ 参见Highcharts演示: http : //jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/column-pointpadding-none/

For your graph, I made the following changes to your fiddle: 对于您的图表,我对您的小提琴进行了以下更改:

plotOptions: {
    series:{
        //maxPointWidth:10,
        pointPadding: 0,
        groupPadding: 0.3,
    },

See https://jsfiddle.net/brightmatrix/Loebhv43/7/ to see how this looks. 请参阅https://jsfiddle.net/brightmatrix/Loebhv43/7/以查看外观。

在此处输入图片说明

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

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