Personal tools

Template:PieChart: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 22: Line 22:
var render_to  = "</html>{{{renderTo}}}<html>";
var render_to  = "</html>{{{renderTo}}}<html>";
var percentage_decimals="</html>{{{percentageDecimals}}}<html>";
var percentage_decimals="</html>{{{percentageDecimals}}}<html>";
var table_name  = "</html>{{{tableName}}}<html>";




Line 60: Line 62:
                     events: {
                     events: {
                         click: function() {
                         click: function() {
                            alert ('Category: '+ this.category +', value: '+ this.y+', X value: '+this.x+', Point Name: '+ this.name);
//alert ('Category: '+ this.category +', value: '+ this.y+', X value: '+this.x+', Point Name: '+ this.name);
                          oTable.fnFilter(this.name, 2);
// document.getElementsByClassName(table_name).fnFilter(this.name, 2);
                           
                         }
                         }
                     }
                     }

Latest revision as of 15:37, 10 July 2013