Sign in to follow this  
Juan Ruiz

No Data Text With Jquery

Recommended Posts

Guest Sashibhusan

Hi,

 

If you are using FusionCharts jQuery plugin to render the charts, you can set the chart message for "no data to display" error, by passing as query string to the chart SWF URL.

 

Ref. Code:

$(document).ready(function(){
     	$("#chartContainer").insertFusionCharts({
          	swfUrl: "Charts/Pie2D.swf?ChartNoDataText=Please Select Record...", 
          	dataSource: "<chart></chart>", 
          	dataFormat: "xml",
		   renderer: "flash",
          	width: "600", 
          	height: "400", 
          	id: "myChartId"
    	}); 
});

 

But, please note that this will work only not work for JavaScript charts.

 

For more information on "FusionCharts jQuery plugin overview", please follow the link below:

http://docs.fusioncharts.com/charts/contents/?jQuery/Overview.html

 

Hope this helps!

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