linechart

The GoogleGraph linechart shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[linechart]'); 
  1. // variable usage 
  2. $result = do_shortcode('[linechart]'); 
  3. echo $result;  

Defined (1)

The shortcode is defined in the following location(s).

/googlegraph.php  
  1. load_plugin_textdomain( self::slug, false, dirname( plugin_basename( __FILE__ ) ) . '/lang' ); 
  2. // Load JavaScript and stylesheets 
  3. $this->register_scripts_and_styles(); 
  4.  
  5. // Register the shortcode [barGraph] 
  6. add_shortcode( 'lineChart', array( &$this, 'render_linechart' ) ); 
  7. add_shortcode( 'columnChart', array( &$this, 'render_column' ) ); 
  8. add_shortcode( 'barChart', array( &$this, 'render_bargraph' ) ); 
  9. add_shortcode( 'pieChart', array( &$this, 'render_piechart' ) ); 
  10. add_shortcode( 'geoChart', array( &$this, 'render_geochart' ) ); 
  11. add_shortcode( 'bubbleChart', array( &$this, 'render_bubblechart' ) );