Toolbars
Buttons
You can add your own buttons to the top toolbar.
Accessible Buttons
Custom buttons created with TradingView's built-in style using the createButton
overload will benefit from the library's accessible keyboard navigation added in version 26.002.
Custom buttons created using the non-TradingView style createButton
overload will not benefit from keyboard accessibility features.
Styles
The library has 2 predefined color themes. They are optimal for displaying the charts. However, since version 16 you can change the colors of the toolbars to perfectly fit to your background. You can see an example of the customization in themes.html 🔐 (restricted access).