2011-12-14 15:54
浏览 71

FusionCharts - 划分图表

I have many reports with FusionChart and I want to put an div with some loading message over it, but the div always stay under the flash object event using z-index!

Anyone already got rid of this?

图片转代码服务由CSDN问答提供 功能建议

我有很多关于FusionChart的报告,我想把 div 和一些加载消息放在一起 在它上面,但是div总是使用 z-index 保持在flash对象事件之下!

任何人都已经摆脱了这个? < / DIV>

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

4条回答 默认 最新

  • dt2002
    dt2002 2011-12-14 16:09

    In your <embed> you need wmode="transparent" and <object> elemebnt, you need to have <param name="wmode" value="transparent"> </param>.

    It has to be in both to work, then hopefully it'll work as you want :)

    点赞 评论
  • douzhicai7148
    douzhicai7148 2011-12-14 16:10

    A simple Google reveals all...

    According to several people here, you need to

    set your position on the div to relative, absolute or fixed and then set the z-index greater to the z-index of the flash content

    then you need to

    set the wmode of the flash content to transparent

    点赞 评论
  • dongzhi8984
    dongzhi8984 2012-04-03 21:48

    For FusionChart you could call addParam method

    var chart = new FusionCharts("...", "ChartId", "300", "140");
    chart.addParam("wmode", "opaque");
    点赞 评论
  • duanpuluan0480
    duanpuluan0480 2014-05-14 02:23

    If you use PHP, when instantiating class, you should add fifth parameter with boolean value, so the code looks like this:

    $FC = new FusionCharts("Pie3D",$chartwidth,$chartheight,'',1);

    From fusion chart documentation has been explained clearly.

    点赞 评论