Personal tools

Template:PieChart: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 134: Line 134:
         chart = new Highcharts.Chart({
         chart = new Highcharts.Chart({
         chart: {
         chart: {
                 renderTo: 'render_to',
                 renderTo: 'container',
                 plotBackgroundColor: plot_bg_color,
                 plotBackgroundColor: plot_bg_color,
                 plotBorderWidth: plot_border_width,
                 plotBorderWidth: plot_border_width,
Line 149: Line 149:
                 pie: {
                 pie: {
                     allowPointSelect: allow_point_select,
                     allowPointSelect: allow_point_select,
                     cursor: 'cursor',
                     cursor: 'pointer',
                     dataLabels: {
                     dataLabels: {
                         enabled: true,
                         enabled: true,

Revision as of 14:21, 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.