Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(customer-analytics): label active users chart lines distinctly (#74476)

Ben Lea2f3dc8435e53
diff --git a/products/customer_analytics/frontend/customerAnalyticsSceneLogic.ts b/products/customer_analytics/frontend/customerAnalyticsSceneLogic.ts
index 53f5d24b4070..fbfbb640516e 100644
--- a/products/customer_analytics/frontend/customerAnalyticsSceneLogic.ts
+++ b/products/customer_analytics/frontend/customerAnalyticsSceneLogic.ts
@@ -567,7 +567,13 @@ export const customerAnalyticsSceneLogic = kea<customerAnalyticsSceneLogicType>(
source: {
kind: NodeKind.TrendsQuery,
tags: CUSTOMER_ANALYTICS_DEFAULT_QUERY_TAGS,
- series: [dauSeries, wauSeries, mauSeries],
+ // Label each line distinctly here rather than on the shared
+ // selectors, which are reused by other single-metric charts.
+ series: [
+ { ...dauSeries, custom_name: 'Daily active' },
+ { ...wauSeries, custom_name: 'Weekly active' },
+ { ...mauSeries, custom_name: 'Monthly active' },
+ ],
interval: 'day',
dateRange: {
date_from: dateRange.date_from,