为何柱图上设置了热点链接,链接无效

/**

**QQ:252574345

**MSN:[email protected]

*/

 

详细设置热点链接,见

 http://zhaoyl.iteye.com/admin/blogs/200062

分析原因:

1.应该查看是否正确生成了MAP信息

在图形所在的页面查看原文件(不会查源文件,那我无语)

图形部分应该是如下形式

<map id="jfreechart-46819.png" name="jfreechart-46819.png">
<area shape="poly" coords="671,539,671,325,683,317,755,317,755,531,743,539,743,539" href="detail.jsp?fruit=%CF%E3%BD%B6&amp;=" alt=""/>
<area shape="poly" coords="555,539,555,182,567,174,640,174,640,531,628,539,628,539" href="detail.jsp?fruit=%CE%F7%B9%CF&amp;=" alt=""/>
<area shape="poly" coords="439,539,439,254,451,246,524,246,524,531,512,539,512,539" href="detail.jsp?fruit=%BD%DB%D7%D3&amp;=" alt=""/>
<area shape="poly" coords="324,539,324,324,336,316,408,316,408,531,396,539,396,539" href="detail.jsp?fruit=%C6%CF%CC%D1&amp;=" alt=""/>
<area shape="poly" coords="208,539,208,328,220,320,292,320,292,531,280,539,280,539" href="detail.jsp?fruit=%C0%E6%D7%D3&amp;=" alt=""/>
<area shape="poly" coords="92,539,92,103,104,95,176,95,176,531,164,539,164,539" href="detail.jsp?fruit=%C6%BB%B9%FB&amp;=" alt=""/>
</map>

可以看到,MAP已经生成链接也存在.则图形上一定会有连接,如果没有该MAP,请继续向下看内容

2.查看生成图形的方式

    <img src="<%= graphURL %>" width=800 height=600 border=0 usemap="#<%= filename %>" alt="">

如果图形连接里没有 usemap="#<%= filename %> ,则不会在图形上产生连接

 

 

 

你可能感兴趣的:(jsp,qq,jfreechart,Yahoo)