|
|
@ -166,7 +166,7 @@ $(function () {
|
|
|
|
|
|
|
|
|
|
|
|
// This will get the first returned node in the jQuery collection.
|
|
|
|
// This will get the first returned node in the jQuery collection.
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
|
|
var salesChart = new Chart(salesChartCanvas, { // lgtm [js/unused-local-variable]
|
|
|
|
var salesChart = new Chart(salesChartCanvas, { /* lgtm [js/unused-local-variable] */
|
|
|
|
type: 'line',
|
|
|
|
type: 'line',
|
|
|
|
data: salesChartData,
|
|
|
|
data: salesChartData,
|
|
|
|
options: salesChartOptions
|
|
|
|
options: salesChartOptions
|
|
|
@ -197,7 +197,7 @@ $(function () {
|
|
|
|
// Create pie or douhnut chart
|
|
|
|
// Create pie or douhnut chart
|
|
|
|
// You can switch between pie and douhnut using the method below.
|
|
|
|
// You can switch between pie and douhnut using the method below.
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
|
|
var pieChart = new Chart(pieChartCanvas, {
|
|
|
|
var pieChart = new Chart(pieChartCanvas, { /* lgtm [js/unused-local-variable] */
|
|
|
|
type: 'doughnut',
|
|
|
|
type: 'doughnut',
|
|
|
|
data: pieData,
|
|
|
|
data: pieData,
|
|
|
|
options: pieOptions
|
|
|
|
options: pieOptions
|
|
|
@ -259,7 +259,7 @@ $(function () {
|
|
|
|
|
|
|
|
|
|
|
|
// This will get the first returned node in the jQuery collection.
|
|
|
|
// This will get the first returned node in the jQuery collection.
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
|
|
// eslint-disable-next-line no-unused-vars
|
|
|
|
var salesGraphChart = new Chart(salesGraphChartCanvas, {
|
|
|
|
var salesGraphChart = new Chart(salesGraphChartCanvas, { /* lgtm [js/unused-local-variable] */
|
|
|
|
type: 'line',
|
|
|
|
type: 'line',
|
|
|
|
data: salesGraphChartData,
|
|
|
|
data: salesGraphChartData,
|
|
|
|
options: salesGraphChartOptions
|
|
|
|
options: salesGraphChartOptions
|
|
|
|