bionary

Members
  • Content count

    5
  • Joined

  • Last visited

Posts posted by bionary


  1. I currently am using the php class to render my fusion chartl

    ...
            $chart->setSWFPath("/FusionCharts/");
            $strParam="caption=something;xAxisName=Days;enableSmartLabels=0; showvalues=0; formatNumberScale=0;";
            $chart->setChartParams($strParam);
            return $chart->renderChart(0,0);

    I would like to change the default message: "No data to display" to something more specific when there is no data.

     

    How do I do this using the PHP class?

     

    Thanks

     

     


  2. ok, your answer didn't quite fix it but got me snooping around the data objects used to control the chart settings and my orginal code (first post in thread) ***was correct but I was following some bad information given in the docs.   http://docs.fusioncharts.com/maps/Contents/jQuery/API.html   reads as  "wmode"  all lowercase when in fact "wMode" is correct.   I changed that and all works as expected.  So, there may not be any bug with Fusion Chart, just a typo in the documentation.  Thank you.


  3. I can't for the life of me figure out how to achieve a transparent background with fusion charts XT using the jquery plugin

    [@version fusioncharts/3.2.3-sr3.5347]

     

    here's my code:

    $('#myChart').insertFusionCharts({
    	
    	type:"Pie2D",
    	renderer: "flash",
    	width: "30", 
    	height: "30", 
    	id: 'p-'+data.id,
    	dataFormat: "json",
    	wmode: 'transparent',
    	dataSource: { 
    		chart: { 
    			pieRadius: 15,
    			bgAlpha: 0,
    			animation:0,         
    			showShadow:0,
    			enableRotation:1,
    			showLegend:0,
    			showLabels:0,
    			showValues:0,
    			showToolTip:0,
    			dataLabels: 0,
    			showBorder:0,
    			enableSmartLabels:0
    		},
    		data: [
    			{value: data.med, color:'#009000'},
    			{value: 100 - parseInt(data.med), color:'#900000'}
    		]
    	}
    });
    
    

    I've tried setting bgAlpha equal to '0,0' , but that doesn't work either.

     

    Thanks.