在tooltext fusionchart中添加图像 [英] Add image in tooltext fusionchart

查看:82
本文介绍了在tooltext fusionchart中添加图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想在Fusionchart的工具文本中显示Image。这是我的XML。

Hi,

I want to show Image in tooltext of a fusionchart. This is my XML.

<chart>
<set label='HongKong' value='235' toolText='<img src=%26quot;../Images/Point.png%26quot;/>' link='JavaScript:myJS(%26quot;Hongkong%26quot;);'/>
<set label='Japan' value='123' link='JavaScript:myJS(%26quot;Japan%26quot;);'/>
</chart>



这显示无效的XML数据。



Pelase帮助。在此先感谢


This is showing invalid XML data.

Pelase help. Thanks in advance

推荐答案

如果你想使用自定义工具提示,你必须使用XML Attribute.Right。?

不确定我们是否可以像这样传递图像标签。但你可以采取另一种方式,从数据库传递XML数据,

从DB中检索图像数据,在你的函数中创建XML代码,然后显示XML代码并分配给图表。



希望你有所指导。
If you want to use custom tooltip, you have to use XML Attribute.Right.?
not sure whether we can pass images tag like this. but you can do another way around, pass XML data from database,
Retrieve image data from DB, In your function make XML code, then Show XML Code and assign to chart.

Hope you get some direction.


这篇关于在tooltext fusionchart中添加图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆