Skip to content

fix(chart): mark short-span stub series with endpoint dots#74

Open
holoros wants to merge 1 commit into
mainfrom
fix/chart-stub-series-markers
Open

fix(chart): mark short-span stub series with endpoint dots#74
holoros wants to merge 1 commit into
mainfrom
fix/chart-stub-series-markers

Conversation

@holoros

@holoros holoros commented Jun 12, 2026

Copy link
Copy Markdown
Owner

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

  • One file (src/GrowthChart.jsx), +12 lines, presentation-only.
  • Full-trajectory engines (span >= 25% of x-range, >3 pts) are unaffected — no dots.
  • npm run build passes.

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.

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.
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