-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Description
Problem
The two apps use completely different approaches for chart right-click save/export filenames:
Dashboard (Dashboard/Helpers/TabHelpers.cs – SetupChartContextMenu):
- Custom context menu with descriptive, structured filenames
- PNG:
{chartName}_{yyyy-MM-dd_HH-mm-ss}.png— e.g.UserDB_Read_Throughput_2026-02-25_11-30-00.png - CSV:
{chartName}_data_{yyyy-MM-dd_HH-mm-ss}.csv - Includes chart title and data source info in the menu
Lite (no custom context menu):
- Falls through to ScottPlot's built-in right-click menu
- Default filename is just
ScottPlot.png— no context, no timestamp, no chart identity
Expected Behavior
Lite should use the same ContextMenuHelper-based pattern as Dashboard, with descriptive filenames that include:
- A chart-specific name (e.g.
cpu_usage,file_io_read_latency) - A timestamp (
yyyyMMdd_HHmmss— Lite's existing convention)
This would make saved exports identifiable without renaming them, matching Dashboard behavior.
Implementation Notes
- Lite already has
Helpers/ContextMenuHelper.csfor CSV exports — a chart save method could live there - Dashboard's
SetupChartContextMenuinTabHelpers.csis the reference implementation - Lite uses
yyyyMMdd_HHmmssformat (e.g.alert_history_20260225_113000.csv) vs Dashboard'syyyy-MM-dd_HH-mm-ss— pick one and use it consistently
🤖 Generated with Claude Code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels