1
votes

I have a bar chart that created in dc.js and hosted in jsfiddle. i want to remove x labels of this chart . after searching i find this SF question. but even i set

 .xAxis().ticks(0)

it doesn't work and i can see the label.so how can i remove the xAxis labels.

1

1 Answers

3
votes

Use the .tickValues() function instead, passing an empty array:

.xAxis().tickValues([]);

Complete demo here.