Say you started a new treatment eleven weeks ago and want to see your pain since then. The fixed ranges on the History chart always end today and reach back 7, 30 or 90 days. “-90D” mixes in almost two weeks from before the start, and “-30D” leaves out almost seven weeks of treatment. A pain chart custom date range starts where your treatment did.
Since version 1.17.0, PainTrack Pro lets you set your own range: since a date, from one day to another, or from an event such as the start of a treatment. The report for your doctor and the text for an AI chat take a custom range too.
Where fixed ranges fall short
Whether a treatment works is a question of weeks and months, so you need stretches tied to your own dates:
- Since the start: everything from the day the treatment began until today. The stretch grows every day.
- The time before: a closed period before the start, for comparison, such as the eight weeks before a change.
- Your whole history: everything since your first entry. Up to version 1.16.0 the chart had an “All” option; since 1.17.0, “Since date” covers that.
A fair comparison needs periods of similar length and equally thorough entries before and after. For how to set up such a before-and-after comparison, read Is my pain treatment working?.
The three options in the “Custom range” sheet
| Option | Start | End | Use it for |
|---|---|---|---|
| “Since date” | a day you choose | today, keeps growing | whole history, everything since a set day |
| “From to” | a day you choose | a day you choose, also in the past | closed periods, such as the weeks before a treatment |
| “From event” | the day of an event | today, keeps growing | treatment start, medication change, surgery |
All three need at least 7 days, no day before your first entry and none after today. With less than a week of entries, the sheet says you need more first. Without an active range, it suggests the last 90 days. If you move the start in “From to”, the end moves along when needed to keep the range valid.
From event: a range tied to your treatment start
You add events for free under More → Events: “Started therapy”, “Changed medication”, “Surgery”, “Changed daily routine” or “Other”, with a label and a note. When you add a “Regular medication”, PainTrack suggests a matching event right away. On the History chart, a dashed vertical line marks each event.
Under “From event”, the sheet lists your events with the newest on top, each with “Since” and its date. An event less than a week ago is greyed out, because the range would be too short. If you later change an event's date, the range moves with it.
The range shows you the curve since the event. A before-and-after figure comes from the event analysis (Pro) in the “Insights” card, and the “Pain days per month” card compares pain days before and after your latest event. More in Events and trigger analysis.
Setting a custom range
- Open Analysis. Above the “History” chart sit “-7D”, “-30D”, “-90D” and a calendar icon next to them.
- Tap the calendar icon. The “Custom range” sheet opens.
- Choose “Since date”, “From to” or “From event” at the top. Set the days or tap an event.
- Tap “Apply”. The chart redraws for your range.
- A chip now sits below the ranges, such as “Since Sep 1, 2026” or one with the event's name. Tap it to reopen the sheet; the × resets the range.
PainTrack doesn't remember the custom range. After you restart the app, the chart shows “-7D” again. Within a custom range you zoom with two fingers as usual, and the “Daily average” and “Daily peak” chips still apply. Days without an entry break the line, so over long ranges you also see the gaps in your diary. For how to avoid them, read How to keep a pain diary.
Custom range in the report for your doctor and AI chats
You open the report with “Report” in your Diary, with the “Doctor's report” block at the bottom of Analysis, or under More → Report. In the “Export report” dialog, “Time range” offers presets from “1 week” to “All”. Once the selected pains have entries from at least one week, a “Custom range” chip joins them. Tap it with Pro and the “From” and “To” fields appear below. The start first takes over the last preset you picked, and the end is set to today.
The dialog doesn't take over the range from the History chart, and it has no “Since date” or “From event”. For “since the treatment started”, set “From” to the day of the event. An end in the past works too, for example for the eight weeks before a change. The choice applies to both formats, “PDF for your doctor” and “Text for AI chat”.
The report covers the days you chose, and the summary names the first and last day. Comparisons such as the weekly trend and events also draw on days outside the range, as the dialog notes below the fields. If the range ends before today, the report calculates the weekly trend, patterns, the medication effect curves and milestones up to its last day.
Free and Pro at a glance
| Feature | Free | Pro |
|---|---|---|
| History: “-7D” and “-30D” | yes | yes |
| History: “-90D” | locked | yes |
| History: “Custom range” sheet | try it out, “Apply” opens the paywall | yes |
| Report: “1 week” to “3 months” | yes | yes |
| Report: “6 months”, “1 year” and “All” | locked | yes |
| Report: “Custom range” with “From” and “To” | locked | yes |
| Adding events | yes | yes |
Without Pro you can still set everything in the sheet. If your subscription ends, an active custom range disappears; your entries stay.
Frequently asked questions
How do I see my pain since starting a treatment? Add an event dated to your treatment start under More → Events. Then tap the calendar icon above the History chart in Analysis, choose “From event” and the event, and tap “Apply”. This needs Pro.
Where did “All” go on the History chart? The option was dropped in version 1.17.0. “Since date” now shows your whole history when you set the date to your first entry.
Does the doctor's report use the custom range from the chart? No. In the “Export report” dialog you choose “Custom range” and set “From” and “To” yourself, for the PDF and the AI chat text.
How short can a custom range be? At least 7 days, as long as the shortest fixed range. You also need entries from at least one week.
PainTrack is not a medical device and does not replace medical diagnosis or treatment. The app is intended for personal documentation and self-observation.