From 3ff9439a0227a5db99f0e917f124b182e61496e7 Mon Sep 17 00:00:00 2001 From: hhjk00 Date: Wed, 15 Nov 2023 10:50:36 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/statistics/StatisticsSearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/statistics/StatisticsSearch.js b/src/components/statistics/StatisticsSearch.js index 4dfa4830..b1496dd7 100644 --- a/src/components/statistics/StatisticsSearch.js +++ b/src/components/statistics/StatisticsSearch.js @@ -321,7 +321,7 @@ export default function StatisticsSearch({ height={400} plugins={{ afterDraw: function (chart) { - if (data.datasets[0].data.length <= 0) { + if (totalData.datasets[0].data.length <= 0) { let ctx = chart.chart.ctx; let width = chart.chart.width; let height = chart.chart.height;