in Source/html-report/js/report_builder.js [369:433]
function StatsPage() {
this.timelineGraphData = [];
this.timelineGraphOptions = {
lines: {
show: true
},
zoom: {
interactive: true
},
pan: {
interactive: true
},
xaxis: {
min: 0,
tickDecimals: 0,
tickFormatter: function(number, obj) {
var seconds = number % 60;
var minutes = (number / 60).toFixed(0);
if(seconds < 10) {
return (minutes + ":0" + seconds);
}
else {
return (minutes + ":" + seconds);
}
}
},
yaxis: {
min: 0,
tickDecimals: 0,
minTickSize: 1,
},
grid: {
backgroundColor: "#3C3C3C",
borderColor: "black",
borderWidth: 1
}
};
this.callCountGraphData = [];
this.callCountGraphOptions = {
series: {
bars: {
show: true,
barWidth: .6,
align: "center",
horizontal: true,
lineWidth: 1
},
},
colors: ["#00BB00"],
yaxis: {
mode: "categories",
tickLength: 0,
},
grid: {
backgroundColor: "#3C3C3C",
borderColor: "black",
borderWidth: 1,
}
};
}