using guage charts

28 views
Skip to first unread message

tim worley

unread,
Jan 14, 2013, 6:10:04 PM1/14/13
to ga-easy-da...@googlegroups.com
Just can't get this to work:

 var bounce_rate = new gadash.Chart({
      'type': 'GaugeChart',
      'divContainer': 'bounce_rate',
      'last-n-days':DAYS,
     
      'query': {
        'ids': TABLE_ID,
         
         'metrics': 'ga:visitBounceRate',    
      },
      'chartOptions': {
  
         width: 400, height: 120,
          redFrom: 90, redTo: 100,
          yellowFrom:75, yellowTo: 90,
          minorTicks: 5
               
      }
    }).render();




it renders out as a table, not a guage. What am I doing wrong?

Shan Aminzadeh

unread,
Jan 15, 2013, 3:13:05 PM1/15/13
to ga-easy-da...@googlegroups.com
Try changing your type:Gauge instead of type:GaugeChart. GaugeChart is not defined in the Chart Tools library, but Gauge is.

-Shan

tim worley

unread,
Jan 16, 2013, 5:00:39 AM1/16/13
to ga-easy-da...@googlegroups.com
ok great!  Thanks a lot Shan.

tim worley

unread,
Jan 16, 2013, 6:49:53 AM1/16/13
to ga-easy-da...@googlegroups.com
doesn't work. :(
Reply all
Reply to author
Forward
0 new messages