Sign in to follow this  
walter azevedo

How to migrate Gantt Chart flash to Java Script?

Recommended Posts

Hi,

 

I have the Fusion Widgets XT in my project to create Gantt Charts. But the charts was built to use flash (As you can see below), and now, i need migrate those charts to use java script. But i didn't find any example about it.

<script type="text/javascript">
           
       if(FusionCharts( "ChartReportId"))
       {  
           FusionCharts("ChartReportId").dispose();
           }
        var chart = new FusionCharts("http://#{facesContext.externalContext.request.serverName}:#{facesContext.externalContext.request.serverPort}#{facesContext.externalContext.requestContextPath}/resources/Fusion Widgets XT/Enterprise/3.2/Charts/Gantt.swf", "ChartReportId", "100%", "#{controllerParam.ganttHeight}", "0", "1" );
        chart.setXMLData("#{controllerParam.xmlData}");
           chart.render("chartdiv");
           
           
           
           
       </script>

Could anyone help me?

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this