bionary Report post Posted January 24, 2014 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 Share this post Link to post Share on other sites
Guest Sashibhusan Report post Posted January 24, 2014 Hi, You could set various chart messages using the "setChartMessage(string $msgParam)" PHP class method. Please note that the $msgParam will hold the chart message attributes separated by delimiters, as mentioned below. Ref. Code: $FC->setChartMessage("ChartNoDataText=Chart Data not provided;PBarLoadingText=Please Wait.The chart is loading..."); For more information on this, please visit the link: http://docs.fusioncharts.com/charts/contents/guide-for-web-developers/fusioncharts-php-class/Functions.html Hope this helps! Share this post Link to post Share on other sites
bionary Report post Posted February 20, 2014 Yes, that helps. I suppose there is no way to display the chart message and also display the caption as well? Share this post Link to post Share on other sites
Guest Sashibhusan Report post Posted February 26, 2014 Glad that your requirement is fulfilled. Share this post Link to post Share on other sites