Browse Source

plugins console 오류 수정

pull/2/head
hhjk00 10 months ago
parent
commit
043ed86178
  1. 6
      src/components/statistics/StatisticsSearch.js

6
src/components/statistics/StatisticsSearch.js

@ -155,7 +155,8 @@ export default function StatisticsSearch({
};
const handlerPlugins = chartData => {
return {
return [
{
afterDraw: function (chart) {
if (chartData.datasets[0].data.length <= 0) {
let ctx = chart.chart.ctx;
@ -170,7 +171,8 @@ export default function StatisticsSearch({
ctx.restore();
}
}
};
}
];
};
return (

Loading…
Cancel
Save