user3106579 user3106579 - 9 months ago 119
CSS Question

hide label of x-axis using css in morris js

as you can see here http://jsbin.com/acOmiQU/1/edit the label is too long to be displayed on x, but the tag has no class, how can I hide it?

Answer Source

Try targeting:

text[text-anchor="middle"]{
  display:none
}

Apparently it's unique for X-axis labels.

Demo: http://jsbin.com/AKIJUteW/1/edit