Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fix: ai chart

kruzhambusf39933a8aa43
diff --git a/src/pages/Project/View/ViewProject.helpers.tsx b/src/pages/Project/View/ViewProject.helpers.tsx
index 65159af0f..29d0c0150 100644
--- a/src/pages/Project/View/ViewProject.helpers.tsx
+++ b/src/pages/Project/View/ViewProject.helpers.tsx
@@ -306,7 +306,6 @@ const getSettings = (
const lines = []
const modifiedChart = { ...chart }
let regions
- const columns = getColumns(chart, activeChartMetrics)
const customEventsToArray = customEvents ? _map(_keys(customEvents), (el) => {
return [el, ...customEvents[el]]
}) : []
@@ -322,6 +321,8 @@ const getSettings = (
modifiedChart.sdur = [...modifiedChart.sdur, ...forecasedChartData.sdur]
}
+ const columns = getColumns(modifiedChart, activeChartMetrics)
+
if (applyRegions) {
let regionStart