From 46c9ce194ecbefdd2b3f40d08919c6837310b157 Mon Sep 17 00:00:00 2001 From: Mikhail Chechnev Date: Tue, 12 Dec 2023 21:11:33 +0300 Subject: [PATCH] =?UTF-8?q?WEB=20APP:=20=D0=98=D1=81=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=20=D1=82=D0=B8=D0=BF=20=D0=B3=D1=80?= =?UTF-8?q?=D0=B0=D1=84=D0=B8=D0=BA=D0=B0=20BAR=20=D0=B2=20P8PChart,=20?= =?UTF-8?q?=D0=B4=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=D0=BD=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B8=D0=BC=D0=B5=D1=80=20chart.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/p8p_chart.js | 2 +- app/panels/samples/chart.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/components/p8p_chart.js b/app/components/p8p_chart.js index 3e9a59e..112697a 100644 --- a/app/components/p8p_chart.js +++ b/app/components/p8p_chart.js @@ -17,7 +17,7 @@ import Chart from "chart.js/auto"; //Диаграммы и графики //Виды графиков const P8P_CHART_TYPE = { - BAR: "small", + BAR: "bar", LINE: "line", PIE: "pie", DOUGHNUT: "doughnut" diff --git a/app/panels/samples/chart.js b/app/panels/samples/chart.js index 453efff..d432d61 100644 --- a/app/panels/samples/chart.js +++ b/app/panels/samples/chart.js @@ -49,7 +49,6 @@ const Chart = ({ title }) => { //Отработка нажатия на график const handleChartClick = ({ item }) => { - console.log(item); pOnlineShowUnit({ unitCode: "Contracts", inputParameters: [{ name: item.SCOND, value: item.SCOND_VALUE }]