Gap between lines and axis with C3

737 Views Asked by At

How can I delete the space between the axis and the lines with C3 library ?

enter image description here

I would like to achieve something like this:

enter image description here

Tnx

1

There are 1 best solutions below

0
On

Just set the axis padding

axis: {
    x: {
        padding: 0
    },
    y: {
        padding: {
            bottom: 0
        }
    }
}

Fiddle - http://jsfiddle.net/50o0ve7k/