jarnsura

Members
  • Content count

    5
  • Joined

  • Last visited

About jarnsura

  • Rank
    Forum Newbie
  1. Php And Gantt Simple

    For just to know. I passed the problem by using the "link" paramer and open totally new chart for needed option. Thank you for support.
  2. Php And Gantt Simple

    Thank you for reply. I have now tried to create simply drilldown gantt chart. Yes, I also figured it out after posting the problem that I should be using same Gantt chart format where drilldown is called from. I tried the code you proposed and still having the same problem. No alarms and with button nothing happens. Cursor shows a link is available. Below the total PHP code. Any ideas what is wrong? Please help. <?php //We've included ../Includes/FusionCharts.php, which contains functions //to help us easily embed the charts. include("../Includes/FusionCharts.php"); ?> <HTML> <HEAD> <TITLE>TESTING_GANTT</TITLE> </HEAD> <BODY> <?php $strXML .="<chart dateFormat='mm/dd/yyyy' caption='Project Gantt' subCaption='From 1st Feb 2007 - 31st Aug 2007'>"; $strXML .="<categories'>"; $strXML .="<category start='02/01/2007' end='03/01/2007' label='Feb'/>"; $strXML .="<category start='03/01/2007' end='04/01/2007' label='Mar'/>"; $strXML .="</categories>"; $strXML .="<processes fontSize='12' isBold='1' align='right' headertext='TilNro/Pos'>"; $strXML .="<process label='11255/801' id='11255/801' link='newchart-xml-11255/801'/>"; $strXML .="</processes>"; $strXML .="<tasks>"; $strXML .="<task start='02/04/2007' end='02/10/2007'/>"; $strXML .="<task start='02/15/2007' end='02/19/2007'/>"; $strXML .="</tasks>"; $strXML .="<linkeddata id='11255/801'>"; $strXML .="<chart>"; $strXML .="<categories>"; $strXML .="<category start='02/01/2007' end='03/01/2007' label='Feb'/>"; $strXML .="</categories>"; $strXML .="<processes fontSize='12' isBold='1' align='right'>"; $strXML .="<process label='Identify Customers'/>"; $strXML .="</processes>"; $strXML .="<tasks>"; $strXML .="<task start='02/04/2007' end='02/10/2007'/>"; $strXML .="</tasks>"; $strXML .="</chart>"; $strXML .="</linkeddata>"; $strXML .="</chart>"; echo renderChartHTML("../Charts/Gantt.swf", "", $strXML, "myFirst", 600, 300); ?> </BODY> </HTML> br, --jarno
  3. Php And Gantt Simple

    Now everything for the Gantt chart seems working fine. I bought the FusionWidgets Personal XT package. I am now trying to do the DrillDown. Should I be able to do this, or am I missing something? Please help me. Below some xml data, drilldown is from example: ... <processes bgColor='ffffff' fontSize='10' isBold='1' align='center' headertext='TilNro/Pos'> <process label='11255/801' id='11255/801' link='newchart-xml-11255/801'/> <linkeddata id='11255/801'> <chart caption='Testing' subcaption='Click on a column to drill-down' xAxisName='Quarter' yAxisName='Sales' numberPrefix=' showValues='0' useRoundEdges='1'> <set label='Q1' value='2740'/> <set label='Q2' value='2700'/> <set label='Q3' value='3180'/> <set label='Q4' value='2990'/> </chart> </linkeddata> </processes> ... I also attached the picture of total project. I would like to drilldown from left column lines and open new gantt chart.
  4. Php And Gantt Simple

    Hello, Ok, code was copied from sample and it does not work in free Fusionchart. I bought the license and now it works! Attribute change worked also for names. Thank you.
  5. Php And Gantt Simple

    Hello, Please help me to start up. I am trying to create simple Gantt chart. I only get the bar without any labels. I noticed someone else had same problem and resolved, but no any solution was described . Here is the code and attached result. <?php include("../Includes/FusionCharts.php"); ?> <HTML> <HEAD> <TITLE>Simple Gantt Chart</TITLE> </HEAD> <BODY> <?php $strXML .="<chart dateFormat='dd/mm/yyyy' caption='Project Gantt' subCaption='From 1st Feb 2007 - 31st Aug 2007'>"; $strXML .="<categories bgColor='ffffff' fontColor='1288dd' fontSize='10' isBold='1' align='center'>"; $strXML .="<category start='01/02/2007' end='01/03/2007' label='Feb'/>"; $strXML .="</categories>"; $strXML .="<processes fontSize='12' isBold='1' align='right'>"; $strXML .="<process label='Identify Customers'/>"; $strXML .="</processes>"; $strXML .="<tasks>"; $strXML .="<task start='04/02/2007' end='10/02/2007'/>"; $strXML .="</tasks>"; $strXML .="</chart>"; echo renderChartHTML("../Charts/FCF_Gantt.swf", "", $strXML, "myFirst", 600, 300); ?> </BODY> </HTML>