poiuytrez
poiuytrez

Reputation: 22518

How to remove the header of a D3JS tooltip?

How to remove the header of a D3JS tooltip? I would like to remove the "0" grey header.

tooltip

Any idea on how can I do it?

Upvotes: 1

Views: 178

Answers (1)

Mark
Mark

Reputation: 108537

tooltip: {
    format: {
        title: function (d) { return null; }
        // rest of tooltip config here
    }
}

Example here.

Upvotes: 3

Related Questions