Is there a way to add some margin between the bands on the histogram?

I have two bars, one for inbound and one for outbound. They look like this: alt text

Is there any way to add some margin between them? Now the values ​​for them

var d1 = [[0, 1], [3, 7], [6, 12], [9, 17]];
var d2 = [[1, 4], [4, 9], [7, 14], [10, 19]];

and, as you can see, I skip one for each period, but I also need some margin between: D

+3
source share
1 answer

Set barWidth (in the strokes object inside the series object inside the options object) to a value less than 1.

            bars: {
                show: true,
                align: "center",
                barWidth: 0.8,
                fill: true,
                horizontal: true
            }
+9
source

Source: https://habr.com/ru/post/1780874/


All Articles