Sidebar: rework the value readout
@mrcsin is already working on this.
Since Sep 10, 2026.
Assessment
This issue has not been assessed yet.
Description
Why
The sidebar's numbers are hard to use. The grey range on each row does not say what period it covers, and it is not the pen's data range.
What it actually is today
It is the axis range over the visible window, padded:
ScaleRangeTextreads thePenScalestored for the pen (Legend/TrendLegendRowViewModel.cs:90-100,Chart/TrendChartViewModel.cs:163-166).PenScaleModel.ComputeRangetakes the minimum and maximum of the envelope columns inside the navigation window, then adds 5 % on each side (Core/Trends/PenScaleModel.cs:60-85, padding at:191-201). A flat series becomes plus or minus 0.5.- When the window holds no column it falls back to the whole fetched band, which is the visible window plus one window width on each side (
Chart/HistoryPrefetch.cs:12). - Every pen sharing an axis shows identical numbers, because the range is per axis and the axis key is the group. #66 removes that half.
So the operator reads a padded axis bound and takes it for a measured extreme.
To decide
- What a row should carry: current value, value at the cursor, minimum and maximum over the visible window without padding, mean, the pen's configured scale, units.
- Whether the period is stated once in the header or chosen per view: visible window, last hour, whole archive.
- Whether the layout becomes a table with columns instead of the current six-cell row (
Legend/TrendLegendView.axaml:30-65), and whether the column set is a setting. - Where minimum and maximum come from. The envelope carries
Min,MaxandCenter(Core/Trends/PenHistoryEnvelope.cs:42-50); at a coarse layerMinandMaxare extremes of decimated buckets whileCenteris not. The two answers diverge as the layer coarsens, and the row has to say which it shows.
Discussion first, then a plan. Nothing here should be built before the shape is settled.
- Dominant language
- C#
- Stars
- 0
- Forks
- 0
- Avg merge
- 18m
- Merged PRs (30d)
- 42
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Semiteq/SemiPlot
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
question
-
enhancement
-
enhancement
-
enhancement
All issues in Semiteq/SemiPlot
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
area/docs-content Bug pulumi/docs
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
-
agentic-workflows untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100