I just started using c3.js and I haven`t figure out how to specify the values of ticks in x axis. The values are type1, type2, type3... and here is my code:
$(document).ready(function(){
var mammoReconstructionsAcceptedChart = c3.generate({
bindto: '#mammo_reconstructions_accepted',
data: {
x: 'x',
columns: [
['x', 'type1', 'type2', 'type3', 'type4', 'type5', 'type6'],
['data1', 30, 200, 100, 400, 150, 250]
]
},
axis: {
x: {
tick: { format: d3.format("") }
}
}
});
});