|
|
|
@ -86,7 +86,7 @@
|
|
|
|
|
<div class="card dashboard-chart">
|
|
|
|
|
<div class="card-header d-flex align-items-center justify-content-between">
|
|
|
|
|
<h5 class="card-title m-0 me-2">단속 자료 통계(유형별)</h5>
|
|
|
|
|
<div>건수(최근 n일)</div>
|
|
|
|
|
<div>건수(최근 15일)</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="card-body d-flex justify-content-center" id="lineChartCardBody">
|
|
|
|
|
<canvas id="lineChart" class="chartjs" data-height="500" style="max-height: 300px;"></canvas>
|
|
|
|
@ -207,7 +207,7 @@ function fnRenderDashboardContents(data){
|
|
|
|
|
const lineChartVar = new Chart(lineChart, {
|
|
|
|
|
type: 'line',
|
|
|
|
|
data: {
|
|
|
|
|
labels: [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140],
|
|
|
|
|
labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
|
|
|
|
|
datasets: [
|
|
|
|
|
{
|
|
|
|
|
data: [80, 150, 180, 270, 210, 160, 160, 202, 265, 210, 270, 255, 290, 360, 375],
|
|
|
|
|