feat(highcharts): implement ohlc-bar#7688
Conversation
Regen from quality 91. Addressed:
- Canvas fixed to 3200×1800 (was 4800×2700 — violated Step 0 contract)
- Theme support: reads ANYPLOT_THEME, uses PAGE_BG/INK/INK_SOFT/GRID tokens
- Output files renamed to plot-{THEME}.png and plot-{THEME}.html
- Title updated: added "python" token, changed "pyplots.ai" → "anyplot.ai"
- Colors switched to anyplot palette: #009E73 (green) for up bars, #B71D27 (red) for down bars (semantic exception for finance)
- Headless Chrome updated to --headless=new with CDP viewport override
- PIL dimension safety net added
- Font sizes updated to canonical highcharts values (66px title, 56px axis, 44px tick)
- Switched CDN to cdn.jsdelivr.net with User-Agent header (code.highcharts.com returns 403)
AI Review - Attempt 1/3Image Description
Score: 88/100
Visual Quality (30/30)
Design Excellence (10/20)
Spec Compliance (15/15)
Data Quality (15/15)
Code Quality (10/10)
Library Mastery (8/10)
Score Caps Applied
Strengths
Weaknesses
Issues Found
AI Feedback for Next Attempt
Verdict: REJECTED |
Attempt 1/3 - fixes based on AI review
🔧 Repair Attempt 1/4Applied fixes based on AI review feedback. Status: Repair completed, re-triggering review... |
AI Review - Attempt 2/3Image Description
Score: 88/100
Visual Quality (28/30)
Design Excellence (12/20)
Spec Compliance (15/15)
Data Quality (15/15)
Code Quality (10/10)
Library Mastery (8/10)
Score Caps Applied
Strengths
Weaknesses
Issues Found
AI Feedback for Next Attempt
Verdict: APPROVED |
Implementation:
ohlc-bar- python/highchartsImplements the python/highcharts version of
ohlc-bar.File:
plots/ohlc-bar/implementations/python/highcharts.pyParent Issue: #3293
🤖 impl-generate workflow