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!

add some new options for perfomance

kruzhambusdd20b04203cf
diff --git a/src/pages/Project/View/ViewProject.helpers.tsx b/src/pages/Project/View/ViewProject.helpers.tsx
index edeb5def8..256f950c3 100644
--- a/src/pages/Project/View/ViewProject.helpers.tsx
+++ b/src/pages/Project/View/ViewProject.helpers.tsx
@@ -371,8 +371,6 @@ const getSettings = (
})
}
- // test
-
if (!_isEmpty(forecasedChartData) && _isEmpty(compareChart)) {
lines.push({
value: _last(chart?.x),
@@ -645,6 +643,9 @@ const getSettingsPerf = (
activeChartMetrics: string,
rotateXAxias: boolean,
chartType: string,
+ compareChart?: {
+ [key: string]: string[],
+ },
) => {
const xAxisSize = _size(chart.x)