📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
(fix) x axias for timeFormat
kruzhambus012247cecc5d
diff --git a/src/pages/Project/View/ViewProject.helpers.tsx b/src/pages/Project/View/ViewProject.helpers.tsxindex 61c63cb08..94046df59 100644--- a/src/pages/Project/View/ViewProject.helpers.tsx+++ b/src/pages/Project/View/ViewProject.helpers.tsx@@ -677,6 +677,7 @@ const getSettingsPerf = (activeChartMetrics: string,rotateXAxias: boolean,chartType: string,+ timeFormat: string,compareChart?: {[key: string]: string[],},@@ -739,11 +740,14 @@ const getSettingsPerf = (},axis: {x: {- type: 'timeseries',+ clipPath: false,tick: {- format: tbsFormatMapper[timeBucket],+ fit: true,rotate: rotateXAxias ? 45 : 0,+ format: timeFormat === TimeFormat['24-hour'] ? (x: string) => d3.timeFormat(tbsFormatMapper24h[timeBucket])(x) : (x: string) => d3.timeFormat(tbsFormatMapper[timeBucket])(x),},+ localtime: timeFormat === TimeFormat['24-hour'],+ type: 'timeseries',},y: {tick: {