TradingView has introduced a major update to its Lightweight Charts, with version 5 now available.
Despite adding a wealth of new features, TradingView has reduced the bundle size by 16%, bringing the base bundle size down to 35kB. Through enhanced tree-shaking, a modernized architecture, and optimization, this release delivers more while using less.
One of the most requested features is here — multi-pane support! Create complex chart layouts with multiple independent viewing areas, making advanced technical analysis seamless and efficient.
TradingView has introduced two new chart types.
Yield curve charts: display yield curves designed for financial analysis.
Options charts: use price values on the horizontal scale for better visualization.
TradingView has enhanced its plugin system to streamline workflows and improve customization.
Up/Down Markers: visualize price changes effectively with up/down markers.
Watermarks: add professional branding or annotations with new watermark plugins.
Series Markers: now modular for better tree-shaking and optimized integration.
Migration to modern ES2020 syntax: boosts performance and ensures compatibility with modern JavaScript.
Enhanced color support: your charts now shine brighter with expanded color capabilities.
Expanded native support for sRGB-based colors (RGB, RGBA, hex, named colors, and HSL)
Support for expanded color gamuts like Display P3
Ability to specify a custom color parser to add support for non-sRGB formats
Improved plugin system: attach plugins directly to panes with Pane Primitives for precise functionality.