Reputation: 13610
I've read the doc and its required, but I don't want it :D tried setting it to undefined and removing it but then javascript complains its misssing.
Is there a way to hide it?
Upvotes: 2
Views: 4729
Reputation: 121
You can disable it through next option:
Morris.Line({
hideHover: "always"
});
See JsFiidle
Upvotes: 2
Reputation: 282
I don't see a way through the configuration options, however you can easily hide it with css. 'display' is set by the script, but you can set the transparency:
.morris-hover {
opacity: 0;
}
seems to work fine for me here: http://jsbin.com/aTirOKU/1/edit
Upvotes: 1