fix(chart): mark short-span stub series with endpoint dots#74
Open
holoros wants to merge 1 commit into
Open
Conversation
gcbm_moja_v6 (CBM) spans only 2022-2026 on Maine while every other engine runs to 2072+. On the full-horizon chart it rendered as a short floating dashed segment that read like a glitch. Short-span series (<=3 pts or spanning <25% of the x-range) now get endpoint dot markers so they read as the measured anchor points they are. No data dropped; the line still draws. Build verified.
This was referenced Jun 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
On the growth-curve chart,
gcbm_moja_v6(CBM class) is a short anchor run spanning only 2022-2026 while every other engine projects to 2072 or 2125. On the full-horizon chart it rendered as a short floating dashed segment in the upper-left that reads like a rendering glitch (flagged in the 11 June live-site spot-check).Fix
Series whose plotted span covers less than 25% of the chart x-range (or that have <=3 points) now get small endpoint dot markers at each data point, so a short anchor stub reads as the measured points it is rather than a stray line. The line itself still draws and no data is dropped or filtered.
Scope / risk
src/GrowthChart.jsx), +12 lines, presentation-only.npm run buildpasses.Alternative considered
Filtering sub-horizon stubs out of the trajectory lines entirely (keeping them in hover/ensemble). Not chosen here because it hides a model; this presentation fix keeps everything visible. Happy to switch to filtering if preferred.
Opened for review — not auto-merged.