Skip to content

Cite the data source at the foot of every chart - #62

Merged
robdevops merged 4 commits into
mainfrom
claude/peaceful-mendel-5u93lo
Nov 1, 2026
Merged

robdevops merged 4 commits into
mainfrom
claude/peaceful-mendel-5u93lo

Conversation

@robdevops

Copy link
Copy Markdown
Owner

Every chart now names its data source in small muted text at the bottom left ("Source: Yahoo Finance").

  • render.Chart gains a source field; draw() writes it on the canvas when saved. It is part of the cache key, so cached charts redraw once.
  • Reports set it: Yahoo Finance (price lines, compare, movers, rankings), Sharesight (treemaps), Sharesight and Yahoo Finance (performance), Short Man (shorts).
  • The treemap leaves a strip below its tiles for the line.
  • New test in tests/test_charts.py; full suite passes.

Generated by Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RsqJny87LfkxT9UwQbuAsH
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RsqJny87LfkxT9UwQbuAsH
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RsqJny87LfkxT9UwQbuAsH
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RsqJny87LfkxT9UwQbuAsH
@robdevops
robdevops merged commit b183d1e into main Nov 1, 2026
4 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.

2 participants