Reputation: 3051
I am trying to hide the lines that are in the axes of my graph to try to match it with this image.
This is my current result.
How can I do it?
var chart = c3.generate({
bindto: '#chart',
padding: {
left: 60
},
data: {
x: 'x',
columns:
[
['x', 'Category1', 'Category2','Categoia3'],
['value', 300, 400,700]
],
type: 'bar'
},
axis: {
rotated: true,
x: {
type: 'category'
}
}
}
);
http://plnkr.co/edit/IzkGUsluWwxrGpgX8gte?p=preview
Upvotes: 1
Views: 39
Reputation: 1521
You could add:
.tick line { display:none; }
in your css to make all the ticks disappear, works for both c3.js
and d3.js
Upvotes: 1