googlegraph_add_quicktags

The GoogleGraph googlegraph add quicktags function.

Description

googlegraph_add_quicktags(); 

Usage

  1. if ( !function_exists( 'googlegraph_add_quicktags' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'googlegraph/googlegraph.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = googlegraph_add_quicktags(); 
  7.  

Defined (1)

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

/googlegraph.php  
  1. function googlegraph_add_quicktags() { 
  2. if (wp_script_is('quicktags')) { 
  3. ?> 
  4. <script type="text/javascript"> 
  5. QTags.addButton( 'eg_geoChart', 'geoChart', '[geoChart vaxis="{title: \'\'}" haxis="{title: \'\'}" title=""]', '[/geoChart]', 'g', 'Geo Chart', 200 ); 
  6. QTags.addButton( 'eg_lineChart', 'lineChart', '[lineChart vaxis="{title: \'\'}" haxis="{title: \'\'}" title=""]', '[/lineChart]', 'l', 'Line Chart', 201 ); 
  7. QTags.addButton( 'eg_columnChart', 'columnChart', '[columnChart vaxis="{title: \'\'}" haxis="{title: \'\'}" title=""]', '[/columnChart]', 'c', 'Line Chart', 202 ); 
  8. QTags.addButton( 'eg_barChart', 'barChart', '[barChart vaxis="{title: \'\'}" haxis="{title: \'\'}" title=""]', '[/barChart]', 'b', 'Line Chart', 203 ); 
  9. QTags.addButton( 'eg_pieChart', 'pieChart', '[pieChart title=""]', '[/pieChart]', 'p', 'Pie Chart', 204 ); 
  10. QTags.addButton( 'eg_bubbleChart', 'bubbleChart', '[bubbleChart vaxis="{title: \'\'}" haxis="{title: \'\'}" title="" bubble="{}"]', '[/bubbleChart]', 'p', 'Bubble Chart', 205 ); 
  11. QTags.addButton( 'eg_scatterChart', 'scatterChart', '[scatterChart vaxis="{title: \'\'}" haxis="{title: \'\'}" title="" ]', '[/scatterChart]', 'p', 'Scatter Chart', 206 ); 
  12. </script> 
  13. <?php