mirror of
https://github.com/woodchen-ink/proxy-go.git
synced 2025-07-18 08:31:55 +08:00
- Updated the metrics chart rendering logic to reverse the data order for a more intuitive time progression from left to right. - Introduced chart options to ensure the x-axis is not reversed, improving the clarity of time-based data visualization. - Modified the updateChart function to accept additional options, allowing for more flexible chart configurations. - Added a safeguard in GetRecentMetrics to return a default empty record instead of null when no metrics are available, enhancing data reliability. These changes improve the user experience by providing clearer visualizations and ensuring consistent data handling in the metrics dashboard.