# 工具栏自定义

## 按钮

您可以将自己的按钮添加到顶部工具栏。

[createButton(options)](https://zlq4863947.gitbook.io/tradingview/4-tu-biao-ding-zhi/widget-methods#createbuttonoptions)

## 样式

图表库具有2个预定义的颜色主题。 它们是显示图表的最佳选择。 但是，从1.16开始，您可以更改工具栏的颜色以使其完全适合您的背景。 您可以在[themes.html](https://github.com/tradingview/charting_library/blob/unstable/themed.html) 中看到自定义的示例。
