Interface: LayoutOptions
Represents layout options
Properties
background
• background: Background
Chart and scales background color.
Default Value
{ type: ColorType.Solid, color: '#FFFFFF' }
textColor
• textColor: string
Color of text on the scales.
Default Value
'#191919'
fontSize
• fontSize: number
Font size of text on scales in pixels.
Default Value
12
fontFamily
• fontFamily: string
Font family of text on the scales.
Default Value
-apple-system, BlinkMacSystemFont, 'Trebuchet MS', Roboto, Ubuntu, sans-serif
attributionLogo
• attributionLogo: boolean
Display the TradingView attribution logo on the main chart pane.
The licence for library specifies that you add the "attribution notice" from the NOTICE file to your code and a link to https://www.tradingview.com/ to the page of your website or mobile application that is available to your users. Using this attribution logo is sufficient for meeting this linking requirement. However, if you already fulfill this requirement then you can disable this attribution logo.
Default Value
true