2

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

Silvio S.
  • 547
  • 5
  • 20

1 Answers1

5

Just set the axis padding

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

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

potatopeelings
  • 40,709
  • 7
  • 95
  • 119