var barHeight = 20; //pixels // reportOptions variable comes from respective config file var defaultFilterText = "type comma separated keys to filter the results"; // Array that stores objects for each element returned via rest var chartsData = []; var filterInputId = "filter-input"; var barchartDOMIdPrefix = "single-barchart_"; 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( $("