parameters: (self,w=400,h=300)
return_statement: return url
docstring: Emit the ajax to build a pie chart using google apis...
docstring_summary: Emit the ajax to build a pie chart using google apis...
docstring_tokens: Emit the ajax to build a pie chart using google apis ...
function: def get_summary_chart_ajax(self,w=400,h=300):
      """Emit the ajax to build a pie chart using google apis...
      """
      url = "https://chart.googleapis.com/chart?"
      url+= "cht=p3" # Select the 3d chart
      #url+= "&chl=Success|Null|Fail" # give labels
      url+= "&chco=00FF00|FFFF00|FF0000|7A7A7A" # give colours to labels
      url+= "&chs=%sx%s" %(w,h)
      #url+= "&chtt=%s" %self.name
      url+= "&chd=t:%.2f,%.2f,%.2f,%.2f"%(self.get_success_rate(),self.get_null_rate(),self.get_fail_rate(),self.get_skiped_rate())
      
      return url
function_tokens: def get_summary_chart_ajax ( self , w = 400 , h = 300 ) : url = "https://chart.googleapis.com/chart?" url += "cht=p3" # Select the 3d chart #url+= "&chl=Success|Null|Fail" # give labels url += "&chco=00FF00|FFFF00|FF0000|7A7A7A" # give colours to labels url += "&chs=%sx%s" % ( w , h ) #url+= "&chtt=%s" %self.name url += "&chd=t:%.2f,%.2f,%.2f,%.2f" % ( self . get_success_rate ( ) , self . get_null_rate ( ) , self . get_fail_rate ( ) , self . get_skiped_rate ( ) ) return url