Smart Productivity Trends Analyzer
Add New Data Point
Data Log
| Date | Tasks Comp. | Focus (1-10) | Hours Worked | Interruptions | Notes | Actions |
|---|
Note: Data is stored in your browser's LocalStorage. Clearing it here will remove all logged data permanently from this browser.
Analyze Productivity Trends
Data for Selected Range & Metric
| Date | Metric Value |
|---|
Analysis Parameters
`; pdfHTML += `Metric Analyzed: ${metricLabel}
`; pdfHTML += `Date Range: ${rangeStart} to ${rangeEnd}
`; pdfHTML += `Moving Average Window: ${maWindow > 0 ? maWindow + ' points' : 'None'}
`; pdfHTML += `Trend Chart for ${metricLabel}
`; pdfHTML += `${trendSummaryText}
`; pdfHTML += `Data for Selected Range
`; const analysisTable = document.getElementById('spta-analysis-table-body').parentNode.outerHTML; pdfHTML += analysisTable; pdfHTML += `Full Data Log (${sptaProductivityData.length} entries)
`; pdfHTML += `| Date | Tasks Comp. | Focus | Hours Worked | Interruptions | Notes |
|---|---|---|---|---|---|
| ${d.date.toLocaleDateString()} | ${d.tasksCompleted} | ${d.focusLevel} | ${d.hoursWorked.toFixed(2)} | ${d.interruptions} | ${d.notes.substring(0,50)}${d.notes.length > 50 ? '...' : ''} |
