How to plot a chart with time as unit for y-axis
Mixpanel allows you to customize the y-axis unit, label, and precision for your charts. If your event property represents a duration (such as seconds or milliseconds), you can set the y-axis unit to reflect this. For example, if you have a property like "response_time" tracked in seconds or milliseconds, you can: 1. Set the y-axis label and unit: In the chart customization options, you can specify a custom unit (e.g., "s" for seconds or "ms" for milliseconds) for the y-axis. This will display your metric values with the correct unit on the chart.
2. Adjust the property value if needed: If your property is tracked in milliseconds but you want to display seconds, you can use a formula to divide the value by 1,000 and then set the unit to "s".
3. Customize axis and metric display: You can further configure axis labels, decimal precision, and abbreviations to ensure the chart is clear and accurate for performance metrics.> For any metric, you can configure the unit, abbreviation, and precision. For example, if you have a price
property that you know is in $
, you can set this, and any future usage of this property in measurements will default to using $
so this no longer needs to be set on every usage. Similarly, you can set custom units like "s" or "ms" for time-based properties Chart Customization.Note: The x-axis will still represent time (e.g., days, hours), and the y-axis will show your performance metric in the unit you specify. This setup is suitable for plotting app performance charts such as response times or load durations.If you need to convert a property (e.g., from milliseconds to seconds), you can use a formula in your report to perform the conversion before setting the unit.If you need more granular control (such as plotting distributions or percentiles), ensure your event property is numeric and use Mixpanel's formula and chart customization features to display it as desired.
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
Let me check the knowledge base for you again. One moment! 📚
I want to plot seconds on the y-axis, x-axis still has time and y axis as numbers which are actually seconds or milliseconds, need this for plotting app performance charts
I'm sorry, but the knowledge sources do not mention a way to plot a chart in Mixpanel with "time" as the unit for the y-axis. The documentation describes customizing the y-axis with units, labels, thresholds, decimals, and scale (linear/logarithmic), but it does not specify using "time" (such as seconds, minutes, or hours) as the y-axis unit. Most Mixpanel charts use time as the x-axis (for trends over time), while the y-axis typically represents counts, rates, or other metric values. If you need to visualize metrics like "time to convert," these are shown as summarized values or distributions, but not as the y-axis unit in a standard chart configuration Chart Customization, Time to Convert.If you have a specific use case, such as visualizing "time to convert" in a funnel, Mixpanel allows you to see this as a metric or distribution, but not as a y-axis unit for general charts.
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
Hi Anshul S., Please stand by as I search the Mixpanel knowledge base for an AI-powered answer. I normally take about 15 seconds or so. In case AI cannot answer your question, feel free to reach out to Mixpanel support at mixpanel.com/get-support. If you have follow-up questions for this thread, please tag me again with your question: @kapa.ai <follow-up question> 👋
Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai