开发者

Display new line in MS Charts Tooltip

开发者 https://www.devze.com 2023-02-02 23:26 出处:网络
I am using MS Charts in my project and things are going well. I am using this article for complex Tooltip conte开发者_开发问答nt, When i addd line break \"\\n\" its working properly on IE but not on F

I am using MS Charts in my project and things are going well. I am using this article for complex Tooltip conte开发者_开发问答nt, When i addd line break "\n" its working properly on IE but not on Firefox.

Check the following screenshots, any help will be appreciated.

IE:

Display new line in MS Charts Tooltip

Firefox:

Display new line in MS Charts Tooltip


I am looking into a similar solution but it seems many line feed characters work in IE but none in firefox. Here is a link to that - How can I use a carriage return in a HTML tooltip?

The other thing you can try is to use a widget like Yahoo tooltip - http://developer.yahoo.com/yui/examples/container/tooltip.html

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号