Skip to content

Feature/week trend and new graph - #116

Merged
Ashfaaq18 merged 3 commits into
mainfrom
feature/week-trend-and-new-graph
Aug 23, 2026
Merged

Feature/week trend and new graph#116
Ashfaaq18 merged 3 commits into
mainfrom
feature/week-trend-and-new-graph

Conversation

@Ashfaaq18

Copy link
Copy Markdown
Owner

No description provided.

Removes the LiveChartsCore.SkiaSharpView.Avalonia dependency in favor of
a purpose-built Avalonia Control that renders the network speed graph
directly via DrawingContext.

- SpeedHistory: O(1) ring buffer replacing the two ObservableCollections
- AxisScale: nice 1/2/5x10^n Y-axis tick computation
- CurveBuilder: Catmull-Rom-derived smoothed stroke/fill geometry,
  clamped to the zero baseline
- SpeedChart: gradient-filled lines, continuous eased scroll driven by
  TopLevel.RequestAnimationFrame, gated on visibility/minimize/tab-switch
  so it costs nothing while off-screen
- Fixes light-theme label legibility (hardcoded SkiaSharp colors never
  participated in the theme dictionaries) and the dead bits/bytes format
  binding (axis rebuilt on setting change but never re-rendered)
- Adds SpeedHistory/AxisScale unit tests
@Ashfaaq18
Ashfaaq18 merged commit 4019a24 into main Aug 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant