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 }]