// reportOptions variable comes from respective config file // Array that stores objects for each element returned via rest var chartsData; var NVGraphs = new NVD3CustomGraphs(); var mainDOMId = "piechart"; var breakdownDOMId = "breakdown"; var barHeight = 15; var lastSliceClicked = null; function initPage() { // function from generic.js, variable from config file initHeaderAndFilters(headerAndFilters); $("#content") .append( $("
") .attr("id", "friendlier-names-field") .append( $("") .attr("id", "friendlier-names") .attr("type", "checkbox") .attr("disabled", true) ) .append( $("