Reference
Troubleshooting
Common problems and fixes.
The chart is empty / zero height
Give the parent element a height.
"Invalid hook call" / two Reacts
Installed from a local folder without --install-links. Reinstall with it.
Webhooks fail with a network error
The receiver doesn't allow browser requests (CORS). Use onWebhook.
Wrong prices / decimals
Set digits (or pricescale) on your symbols, and send times in UTC.
History stops early
Return bars strictly older than to, and [] only when there really is nothing older.
Functions can't be passed to Client Components
Callbacks and datafeeds must be created in a file with "use client".