Personal tools

Template:TestTemplate: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 9: Line 9:
var content = "</html>{{{1}}}<html>";
var content = "</html>{{{1}}}<html>";
var delimiter = "</html>{{{2}}}<html>";
var delimiter = "</html>{{{2}}}<html>";
var chart_title = "</html>{{{3}}}<html>";
var series_name = "</html>{{{4}}}<html>";
alert("Delimiter: "+delimiter);
alert("Delimiter: "+delimiter);
var content_array = content.split(delimiter);
var content_array = content.split(delimiter);
Line 31: Line 33:
             },
             },
  title: {
  title: {
                 text: 'Nonredundant Representative Motif Types, 2013'
                 text: chart_title 
             },
             },
             tooltip: {
             tooltip: {
Line 53: Line 55:
             series: [{
             series: [{
                 type: 'pie',
                 type: 'pie',
                 name: 'motifs',
                 name: series_name,
                 data: data
                 data: data
             }]
             }]

Revision as of 10:23, 12 June 2013