forked from CITKParus/P8-Panels
WEB APP: Исправлен тип графика BAR в P8PChart, доработан пример chart.js
This commit is contained in:
parent
508aa585d4
commit
46c9ce194e
@ -17,7 +17,7 @@ import Chart from "chart.js/auto"; //Диаграммы и графики
|
||||
|
||||
//Виды графиков
|
||||
const P8P_CHART_TYPE = {
|
||||
BAR: "small",
|
||||
BAR: "bar",
|
||||
LINE: "line",
|
||||
PIE: "pie",
|
||||
DOUGHNUT: "doughnut"
|
||||
|
@ -49,7 +49,6 @@ const Chart = ({ title }) => {
|
||||
|
||||
//Отработка нажатия на график
|
||||
const handleChartClick = ({ item }) => {
|
||||
console.log(item);
|
||||
pOnlineShowUnit({
|
||||
unitCode: "Contracts",
|
||||
inputParameters: [{ name: item.SCOND, value: item.SCOND_VALUE }]
|
||||
|
Loading…
x
Reference in New Issue
Block a user