Team:Groningen/Graphs/TestPie

From 2009.igem.org

(Difference between revisions)
(Some additional options for pie charts.)
m
Line 7: Line 7:
   {text: 0, y: 1, color: 2}
   {text: 0, y: 1, color: 2}
],
],
-
plots: {'': {type: 'Pie',
+
plots: {'default': {type: 'Pie',
         font: "normal normal 11pt Tahoma",
         font: "normal normal 11pt Tahoma",
         fontColor: "black",
         fontColor: "black",

Revision as of 16:50, 24 June 2009

{ datasource: 'http://spreadsheets.google.com/pub?key=rIXUAdtE00AqmLinBd7Wt8Q', width: '10cm', height: '10cm', series: [

 /* comma-separated list of data series to display, e.g. for just one data series: */
 {text: 0, y: 1, color: 2}

], plots: {'default': {type: 'Pie',

       font: "normal normal 11pt Tahoma",
       fontColor: "black",
       labelOffset: -30,
       radius: 80} }

}