susielu/d3-annotation

Annotation Background Color

Closed this issue · 2 comments

Hi Susie,

Is there an easy way to add a background color to annotations to make it easier to read when the graph is cluttered? Or would that require appending a rectangle manually behind the annotation text itself? Using the CalloutCircle annotation type at the moment. Thanks.

Cheers,

Yong

There already is a rectangle behind the text available with the css accessor rect.annotation-note-bg is that what you're looking for?

Exactly what I was looking for. Thanks!