Template:TestTemplate: Difference between revisions
From FANTOM5_SSTAR
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: | text: chart_title | ||
}, | }, | ||
tooltip: { | tooltip: { | ||
Line 53: | Line 55: | ||
series: [{ | series: [{ | ||
type: 'pie', | type: 'pie', | ||
name: | name: series_name, | ||
data: data | data: data | ||
}] | }] |
Revision as of 10:23, 12 June 2013