While viewing http://c3js.org/ and http://c3js.org/gettingstarted.html I've noticed that the axis origins (i.e. zero points) are incorrectly positioned - they should surely be at the actual crossing of the axes by default, i.e. unless otherwise specified?

By setting axis padding and chart range, you achieve this.
var chart = c3.generate({
data: {
columns: [
['data1', 30, 200, 100, 400, 150, 250],
['data2', 50, 20, 10, 40, 15, 25]
],
axes: {
data1: 'y',
data2: 'y2'
}
},
axis: {
y: {
padding: {bottom: 0},
min: 0
},
x: {
padding: {left: 0},
min: 0
}
}
});
JS Fiddle: http://jsfiddle.net/santazhang/gswhaLu0/1/
Thanks, that partially solves the problem, but...
Hi,
axis.x.tick.outer = false and axis.y.tick.outer = false if you want.Please let me close.
Most helpful comment
By setting axis padding and chart range, you achieve this.
JS Fiddle: http://jsfiddle.net/santazhang/gswhaLu0/1/