jettro / c3-angular-directive

Contains angularjs directives that use c3js to create good looking graphs
http://jettro.github.io/c3-angular-directive/
MIT License
203 stars 98 forks source link

Donut title in IE #110

Closed vinjenzo closed 8 years ago

vinjenzo commented 8 years ago

Hi,

I have noticed that Donut title in IE (11) is not in the middle vertically when font size is bigger than the one used also in the example page.

I tried to play with svg a bit, but no luck...

jettro commented 8 years ago

Would be great if you could verify this in one of the original samples at c3js.org. That way I know if I should fix it in my library or the fix should be made in the c3js library. Thanks

vinjenzo commented 8 years ago

You are right, the same issue is also there both in chrome and in ie, but on your example doesn`t occur in chrome, when I am changing the font size in developer tools...maybe you got some trick or idea that i could use (it seems an svg or css code may do it)

chrome OK: image

ie: image

in c3js.org example the font base line stays the same on both browser, so that for bigger fonts is not vertical aligned: image

jettro commented 8 years ago

Must be a coincidence did not really do something about it myself. Sorry.