function easychart_init in Easychart 7
Same name and namespace in other branches
- 7.3 easychart.module \easychart_init()
 - 7.2 easychart.module \easychart_init()
 
Implements hook_init().
File
- ./
easychart.module, line 509  - Easy Chart module file.
 
Code
function easychart_init() {
  // A global counter to be used when printing the charts.
  global $chart_count;
  $chart_count = 0;
  drupal_add_css(drupal_get_path('module', 'easychart') . '/plugins/css/plugin.css');
}