Template:TestTemplate: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
<script language="javascript" type="text/javascript" src="/resource_browser/rb_js/highcharts/modules/exporting.js"></script> | <script language="javascript" type="text/javascript" src="/resource_browser/rb_js/highcharts/modules/exporting.js"></script> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
/* | |||
The code below will take parameters from a page and create a Pie_Chart extracting | |||
data from the values | |||
*/ | |||
$(document).ready(function (){ | $(document).ready(function (){ | ||
/* | |||
The code below is for chart settings | |||
*/ | |||
var chart_title = "</html>{{{3}}}<html>"; | |||
var series_name = "</html>{{{4}}}<html>"; | |||
var data = []; | var data = []; | ||
var content = "</html>{{{1}}}<html>"; | var content = "</html>{{{1}}}<html>"; | ||
var delimiter = "</html>{{{2}}}<html>"; | var delimiter = "</html>{{{2}}}<html>"; | ||
var content_array = content.split(delimiter); | var content_array = content.split(delimiter); | ||
Revision as of 10:26, 12 June 2013