Skip to main content

Interface: CreateTradingViewStyledButtonOptions

Charting Library.CreateTradingViewStyledButtonOptions

Properties​

align​

align: "left" | "right"

Alignment for the button.

'left'

onClick​

Optional

onClick: () => void

A function called when the button is clicked.


text​

text: string

The text shown on the button.


title​

Optional

title: string

The text shown on hovering the button.


useTradingViewStyle​

useTradingViewStyle: true

A button with the built-in styles will be created in the header.