resources/js/statistics.js
Function drawComboChart
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
drawComboChart (elementId, data, options) {
// Default chart options
const defaults = {
title: '',
subtitle: '',
Function drawPieChart
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
drawPieChart (elementId, data, options) {
// Default chart options
const defaults = {
title: '',
height: '100%',
Function init
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init (locale) {
if (this.loading || this.initialized) {
return;
}