Currently, ComChan provides real-time serial data plotting in the terminal (TUI). However, there is no option to export plotted data as image files.
This issue proposes adding a feature to export plotted data as image files (e.g., PNG or SVG), enabling users to save and share visualizations outside the terminal.
This feature is already listed as “Coming Soon” in the documentation, so implementing it would align the project with planned functionality.
🎯 Proposed Solution
Capture existing plot data (already stored for visualization).
Use a Rust plotting crate such as:
plotters
or image + custom rendering
Generate a PNG or SVG file.
Add a CLI flag or keybinding (example: --export or press E in TUI).
Example idea:
comchan --export output.png
Or inside TUI:
Press E → Save current plot as image.
✅ Acceptance Criteria
User can export current plot as PNG
Export works with real-time data buffer
Saved image has proper axis scaling and labels
No impact on existing TUI performance
Documentation updated
💡 Why This Feature Matters
Enables sharing data visually
Useful for reports and debugging
Improves project completeness
Matches documentation roadmap
Please assign me under OSCG
Currently, ComChan provides real-time serial data plotting in the terminal (TUI). However, there is no option to export plotted data as image files.
This issue proposes adding a feature to export plotted data as image files (e.g., PNG or SVG), enabling users to save and share visualizations outside the terminal.
This feature is already listed as “Coming Soon” in the documentation, so implementing it would align the project with planned functionality.
🎯 Proposed Solution
Capture existing plot data (already stored for visualization).
Use a Rust plotting crate such as:
plotters
or image + custom rendering
Generate a PNG or SVG file.
Add a CLI flag or keybinding (example: --export or press E in TUI).
Example idea:
comchan --export output.png
Or inside TUI:
Press E → Save current plot as image.
✅ Acceptance Criteria
User can export current plot as PNG
Export works with real-time data buffer
Saved image has proper axis scaling and labels
No impact on existing TUI performance
Documentation updated
💡 Why This Feature Matters
Enables sharing data visually
Useful for reports and debugging
Improves project completeness
Matches documentation roadmap
Please assign me under OSCG