liza

Members
  • Content count

    13
  • Joined

  • Last visited

About liza

  • Rank
    Junior Member
  • Birthday 08/01/1985

Profile Information

  • Gender
    Female
  1. Drag Note Caption

    thanks for the reply. i use it. seem like it other problem.
  2. Hi, I'm had follow drag note example from here and I try to put the title chart by using caption="My title chart". The drag note tier is dynamically read from database. Strangely when I put the caption, my chart value is effected. Here the before i put the caption and here is after hope anyone can help. thanks in advanced
  3. EDIT :- After i check, its because it create same chart ID. Test 1 :so i had try to put dispose() like below code. its stil not working for second searching attempt <?php session_start(); require_once("../class/default.php"); require_once("../class/define.php"); include("../fusionchart/Code/PHP/Includes/FusionCharts.php"); $obj = new utama(); $id_trans = $_GET["id_trans"]; $transaksi = $obj->transaksiMM($id_trans); $bulan = $transaksi[0]["bulan"]; $bulannama = $obj->bulanPapar($bulan); $tahun = $transaksi[0]["tahun"]; $no_pendaftaran = $transaksi[0]["no_pendaftaran"]; $syarikat = $obj->syarikatPapar($no_pendaftaran); $chart = ""; $idchart = ""; echo $idchart = rand(0,100000); ?> <html> <head> <script> if ( FusionCharts( "chart1ID") ) { alert("sini "); FusionCharts( "chart1ID" ).dispose(); } </script> </head> <body> <form id="form-hirarki" name="form-hirarki" method="POST" > <label class="tajuk">Penyata Stok Pengilang </label></br> <label class="tajuksub"><?php echo $syarikat[0]["nama"];?>, <?php echo $bulannama[0]["bulan"]." ".$tahun;?></label><br/> <?php if($id_trans==1): $chart = '<chart bgcolor="FFFFFF" charttopmargin="0" chartleftmargin="0" chartrightmargin="0" bordercolor="FFFFFF" canvasbordercolor="DFBAAD" xAxisMinValue="0" xAxisMaxValue="100" yAxisMinValue="0" yAxisMaxValue="100" bubbleScale="3" is3D="1" numDivLines="0" showFormBtn="0"> <dataset plotborderAlpha="0" > <set x="50" y="90" width="120" height="90" color="FFFFFF" name="Mr. Harry Sawyer, CEO" alpha="100" toolText="Pengilang" id="CEO" imageNode="1" imageurl="../images/kilang.jpg" imageAlign="bottom" labelAlign="top" imageHeight="65" imageWidth="108" /> <set x="20" y="70" width="120" height="40" name="Name:Tom McQuin {BR}Age: 54yrs {BR}Designation:CTO" color="62D0FE" id="CTO" /> <set x="51" y="70" width="120" height="40" name="Name:Jim Kerry {BR}Age: 46yrs {BR}Designation:CFO" color="62D0FE" link="n-http://www.fusioncharts.com" id="CFO" /> <set x="80" y="70" width="120" height="40" name="Name:Michelle Saler {BR}Age: 58yrs {BR}Designation:COO" color="62D0FE" link="n-http://www.fusioncharts.com" id="COO" /> </dataset> <connectors color="83C6E1" stdThickness="8"> <connector strength="0.45" from="CEO" to="CTO" arrowAtStart="0" arrowAtEnd="1"/> <connector strength="0.45" from="CEO" to="CFO" arrowAtStart="0" arrowAtEnd="1" /> <connector strength="0.45" from="CEO" to="COO" arrowAtStart="0" arrowAtEnd="1" /> </connectors> </chart>'; else: $chart = '<chart bgcolor="FFFFFF" charttopmargin="0" chartleftmargin="0" chartrightmargin="0" bordercolor="FFFFFF" canvasbordercolor="DFBAAD" xAxisMinValue="0" xAxisMaxValue="100" yAxisMinValue="0" yAxisMaxValue="100" bubbleScale="3" is3D="1" numDivLines="0" showFormBtn="0"> <dataset plotborderAlpha="0" > <set x="50" y="90" width="120" height="90" color="FFFFFF" name="Mr. Harry Sawyer, CEO" alpha="100" toolText="Pengilang" id="CEO" imageNode="1" imageurl="../images/kilang.jpg" imageAlign="bottom" labelAlign="top" imageHeight="65" imageWidth="108" /> <set x="20" y="70" width="120" height="40" name="Name:Tom McQuin {BR}Age: 54yrs {BR}Designation:CTO" color="62D0FE" id="CTO" /> <set x="51" y="70" width="120" height="40" name="Name:Jim Kerry {BR}Age: 46yrs {BR}Designation:CFO" color="62D0FE" link="n-http://www.fusioncharts.com" id="CFO" /> </dataset> <connectors color="83C6E1" stdThickness="8"> <connector strength="0.45" from="CEO" to="CTO" arrowAtStart="0" arrowAtEnd="1"/> <connector strength="0.45" from="CEO" to="CFO" arrowAtStart="0" arrowAtEnd="1" /> </connectors> </chart>'; endif; FC_SetRenderer( "javascript" ); echo renderChart("../fusionchart/Charts/DragNode.swf", "",$chart, "chart1ID", 1150, 500, false, true); ?> <input type="hidden" id="idchart" name="idchart" value="<?php echo $idchart;?>"/> </form> </body> </html> Test 2: i try again to create random chart id using php and had assign the value when render the chart like below code $idchart = rand(0,100000); echo renderChart("../fusionchart/Charts/DragNode.swf", "",$chart, $idchart, 1150, 500, false, true); its working but i'm afraid it effect the memory for unused chart or to avoid memory leaks like mention in documentation. Love to help any suggest or opinion. Appreciate your response. Thanks in advanced.
  4. Hi, I had develop a searching page that will enable user to view chart on Jquery UI dialog. When Search button is click, the searching result will display with chart icon (To show chart on dialog when user click on it). For first searching action, the chart is display fine but when I try click search button again, the chart is not render. here is chart code when dialog is display <?php session_start(); require_once("../class/default.php"); require_once("../class/define.php"); include("../fusionchart/Code/PHP/Includes/FusionCharts.php"); $obj = new utama(); $id_trans = $_GET["id_trans"]; $transaksi = $obj->transaksiMM($id_trans); $bulan = $transaksi[0]["bulan"]; $bulannama = $obj->bulanPapar($bulan); $tahun = $transaksi[0]["tahun"]; $no_pendaftaran = $transaksi[0]["no_pendaftaran"]; $syarikat = $obj->syarikatPapar($no_pendaftaran); $chart = ""; ?> <html> <head> <script> </script> </head> <body> <label class="tajuk">tajuk </label></br> <label class="tajuksub"><?php echo $syarikat[0]["nama"];?>, <?php echo $bulannama[0]["bulan"]." ".$tahun;?></label><br/> <?php $chart = '<chart bgcolor="FFFFFF" charttopmargin="0" chartleftmargin="0" chartrightmargin="0" bordercolor="FFFFFF" canvasbordercolor="DFBAAD" xAxisMinValue="0" xAxisMaxValue="100" yAxisMinValue="0" yAxisMaxValue="100" bubbleScale="3" is3D="1" numDivLines="0" showFormBtn="0"> <dataset plotborderAlpha="0" > <set x="50" y="90" width="120" height="90" color="FFFFFF" name="Mr. Harry Sawyer, CEO" alpha="100" toolText="Pengilang" id="CEO" imageNode="1" imageurl="../images/kilang.jpg" imageAlign="bottom" labelAlign="top" imageHeight="65" imageWidth="108" /> <set x="20" y="70" width="120" height="40" name="Name:Tom McQuin {BR}Age: 54yrs {BR}Designation:CTO" color="62D0FE" id="CTO" /> <set x="51" y="70" width="120" height="40" name="Name:Jim Kerry {BR}Age: 46yrs {BR}Designation:CFO" color="62D0FE" link="n-http://www.fusioncharts.com" id="CFO" /> <set x="80" y="70" width="120" height="40" name="Name:Michelle Saler {BR}Age: 58yrs {BR}Designation:COO" color="62D0FE" link="n-http://www.fusioncharts.com" id="COO" /> </dataset> <connectors color="83C6E1" stdThickness="8"> <connector strength="0.45" from="CEO" to="CTO" arrowAtStart="0" arrowAtEnd="1"/> <connector strength="0.45" from="CEO" to="CFO" arrowAtStart="0" arrowAtEnd="1" /> <connector strength="0.45" from="CEO" to="COO" arrowAtStart="0" arrowAtEnd="1" /> </connectors> </chart>'; FC_SetRenderer( "javascript" ); echo renderChart("../fusionchart/Charts/DragNode.swf", "",$chart, "chart1", 1150, 500, false, true); ?> </body> </html> Here i attach the scenario image 1. first searching attempt (Cari button), chart icon is click 2. dialog that successfully display chart 3. second searching attempt(Cari button) 4. dialog not render the chart Thanks in advance.
  5. Issue Loading Fcdom By Jquery/ajax

    hope anyone can give advice since i'm facing the same problem
  6. Hi, I have this requirement from my boss to create a chart that have multiple information and allow end-user to play around on chart. Here the sampel chart that I design(as attached). This chart allow end-user to compare information like 1. Compare product A/B/C between month and year 2. Compare Product on specific month of years (can compare feb on 2012 and 2011) 3. Compare product A/B/C between month on same year (compare product a between jan and feb on same year) I try to create using stack and multi-series chart but those sampel and chart only cover 3 set data which is quantity, product and month / quantity, product and year but the chart that i want to create need 4 set data(may be more ) to display on same chart which is quantity, product, month and year. I try to do drill-down chart, but my boss had refuse . He intention is to minimize end-user action. Here, i appreciate any suggestion or opinion or idea or support that i can use to create this chart. Kindly appreciate your attention. Thanks in advance.
  7. Hi, I had working on developing on something using FusionChart. It was great. I had fun using it. But i had detect chart not rendering in some browser. In my case, i had download FusionChart trial version (to play around before decide to buy it, i will by it ). It work find on IE 7 but not working on firefox 15.0.1 and chrome. using PHP 5.4.4, apache 2.4.2 here the screen shot for the issue Kindly appreciate your respon. Thanks in advance.