Personal tools

Template:PieChart: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 110: Line 110:


var render_to  = "</html>{{{renderTo}}}<html>";
var render_to  = "</html>{{{renderTo}}}<html>";
var plot_bg_color="";
var plot_bg_color="</html>{{{plotBackgroundColor}}}<html>";
var plot_border_width="";
var plot_border_width="</html>{{{plotBorderWidth}}}<html>";
var plot_shadow="";
var plot_shadow="</html>{{{plotShadow}}}<html>";
var percentage_decimals="";
var percentage_decimals="</html>{{{percentageDecimals}}}<html>";
var allow_point_select="";
var allow_point_select="</html>{{{allowPointSelect}}}<html>";
var cursor="";
var cursor="</html>{{{cursor}}}<html>";
var dataLabels="";
var dataLabels="</html>{{{dataLabels}}}<html>";


var content_array = content.split(data_delimiter);
var content_array = content.split(data_delimiter);

Revision as of 14:16, 12 June 2013

This is the "PieChart" template. It should be called in the following format:

{{PieChart
|data=
|delimiter=
|chartTitle=
|seriesName=
|chartSize=
|renderTo=
|plotBackgroundColor=
|plotBorderWidth=
|plotShadow=
|percentageDecimals=
|allowPointSelect=
|cursor=
|dataLabels=
}}

Edit the page to see the template text.