restore composer.json, add mysqli extension
This commit is contained in:
88
public/js/dashboard.js
Executable file
88
public/js/dashboard.js
Executable file
@@ -0,0 +1,88 @@
|
||||
|
||||
|
||||
var chartt = new Chart($("#count-chart"), {
|
||||
type: 'line',
|
||||
options: {
|
||||
responsive: true,
|
||||
maintainAspectRatio: false,
|
||||
legend: {
|
||||
position: 'top',
|
||||
},
|
||||
hover: {
|
||||
mode: 'label'
|
||||
},
|
||||
scales: {
|
||||
xAxes: [{
|
||||
display: true,
|
||||
gridLines: {
|
||||
color: '#dae1e7',
|
||||
},
|
||||
scaleLabel: {
|
||||
display: true,
|
||||
}
|
||||
}],
|
||||
yAxes: [{
|
||||
display: true,
|
||||
gridLines: {
|
||||
color: '#dae1e7',
|
||||
},
|
||||
scaleLabel: {
|
||||
display: true,
|
||||
}
|
||||
}]
|
||||
}
|
||||
},
|
||||
data: []
|
||||
});
|
||||
|
||||
var chart_pricee = new Chart($("#price-chart"), {
|
||||
type: 'line',
|
||||
options: {
|
||||
responsive: true,
|
||||
maintainAspectRatio: false,
|
||||
legend: {
|
||||
position: 'top',
|
||||
},
|
||||
hover: {
|
||||
mode: 'label'
|
||||
},
|
||||
scales: {
|
||||
xAxes: [{
|
||||
display: true,
|
||||
gridLines: {
|
||||
color: '#dae1e7',
|
||||
},
|
||||
scaleLabel: {
|
||||
display: true,
|
||||
}
|
||||
}],
|
||||
yAxes: [{
|
||||
display: true,
|
||||
gridLines: {
|
||||
color: '#dae1e7',
|
||||
},
|
||||
scaleLabel: {
|
||||
display: true,
|
||||
}
|
||||
}]
|
||||
}
|
||||
},
|
||||
data: []
|
||||
});
|
||||
|
||||
function chart_price(data) {
|
||||
chart_pricee.data = data;
|
||||
chart_pricee.update();
|
||||
}
|
||||
|
||||
function chart(data) {
|
||||
chartt.data = data;
|
||||
chartt.update();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user