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: liner gradient for chart

kruzhambus3f30f1525aec
diff --git a/src/pages/Project/View/ViewProject.helpers.jsx b/src/pages/Project/View/ViewProject.helpers.jsx
index f42a9d932..074a79123 100644
--- a/src/pages/Project/View/ViewProject.helpers.jsx
+++ b/src/pages/Project/View/ViewProject.helpers.jsx
@@ -19,6 +19,7 @@ import JSZip from 'jszip'
import { tbsFormatMapper } from 'redux/constants'
import countries from 'utils/isoCountries'
+import Cloudflare from 'ui/icons/Cloudflare'
const getExportFilename = (prefix) => {
// turn something like 2022-03-02T19:31:00.100Z into 2022-03-02
@@ -254,6 +255,9 @@ const getSettings = (chart, timeBucket, activeChartMetrics, applyRegions) => {
},
},
},
+ area: {
+ linearGradient: true,
+ },
bindto: '#dataChart',
}
}