Drupal modulo charts

1,327 views

Published on

Drupal Chart experience sharing

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,327
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
12
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Drupal modulo charts

  1. 1. Charts Drupal Meetup 2011 - Paulo Graça
  2. 2. DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD DASHBOARD
  3. 3. Charts
  4. 6. Charts module <ul><ul><li>Google Charts </li></ul></ul><ul><ul><li>Open Flash Charts </li></ul></ul><ul><ul><li>FusionCharts </li></ul></ul>http://drupal.org/project/charts
  5. 7. Google Charts
  6. 8. amCharts.com Flash Charts
  7. 9. Charts types <ul><ul><li>Bar </li></ul></ul><ul><ul><li>Line </li></ul></ul><ul><ul><li>Areas </li></ul></ul><ul><ul><li>Pie </li></ul></ul><ul><ul><li>Plotting </li></ul></ul><ul><ul><li>3D </li></ul></ul>
  8. 10. Charts and custom module <ul><li>//Gerar um gráfico em Flash </li></ul><ul><li>$canvas = charts_graphs_get_graph('google-charts'); </li></ul><ul><li>$canvas->title    = ''; </li></ul><ul><li>$canvas->width    = 700; </li></ul><ul><li>$canvas->height   = 300; </li></ul><ul><li>$canvas->type     = 'line'; </li></ul><ul><li>$canvas->y_legend = ''; </li></ul><ul><li>$canvas->colour   = '#ffffff'; </li></ul><ul><li>$canvas->series   = array( </li></ul><ul><li>        'serieA'=>$series1, </li></ul><ul><li>        'serieB'=>$series2 </li></ul><ul><li>); </li></ul><ul><li>$canvas->x_labels = $labels; </li></ul><ul><li>$canvas->parameters[' chco '] = '0077CC,86BE2B'; </li></ul><ul><li>$output = $canvas->get_chart() ; </li></ul>
  9. 11. Dashboard and Statistics
  10. 12. Referências <ul><li>http://drupal.org/project/charts </li></ul><ul><li>http://drupal.org/project/flot </li></ul><ul><li>http://themeforest.net </li></ul><ul><li>http://code.google.com/p/flot/ </li></ul><ul><li>http://code.google.com/intl/pt-PT/apis/chart/ </li></ul><ul><li>@ paulo_graca </li></ul>

×