Skip to content

plot: Polish hover crosshair color and fix horizontal bar band#2513

Merged
madcodelife merged 1 commit into
mainfrom
plot-hover-crosshair-and-bar-band
Jun 25, 2026
Merged

plot: Polish hover crosshair color and fix horizontal bar band#2513
madcodelife merged 1 commit into
mainfrom
plot-hover-crosshair-and-bar-band

Conversation

@madcodelife

Copy link
Copy Markdown
Member
  • Darken the dashed crosshair by blending border toward foreground, so it reads a touch deeper than the (border-colored) grid lines in both light and dark themes.
  • Fix the horizontal bar hover band overflowing the value axis: it called .span() (which sets the vertical span) after .horizontal(), so the horizontal line fell back to w_full(). Use .h_span() to confine the band to the bar region.

- Darken the dashed crosshair by blending `border` toward `foreground`,
  so it reads a touch deeper than the (border-colored) grid lines in
  both light and dark themes.
- Fix the horizontal bar hover band overflowing the value axis: it
  called `.span()` (which sets the vertical span) after `.horizontal()`,
  so the horizontal line fell back to `w_full()`. Use `.h_span()` to
  confine the band to the bar region.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@madcodelife madcodelife force-pushed the plot-hover-crosshair-and-bar-band branch from c4a0a31 to 8bb795a Compare June 25, 2026 09:43
@madcodelife madcodelife enabled auto-merge (squash) June 25, 2026 09:43
@madcodelife madcodelife merged commit be4c5d3 into main Jun 25, 2026
3 checks passed
@madcodelife madcodelife deleted the plot-hover-crosshair-and-bar-band branch June 25, 2026 09:49
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