Skip to main content

Single Ticker Widget

This is the React component for the Single Ticker Widget

Example#

import { SingleTicker } from "react-ts-tradingview-widgets";
<SingleTicker colorTheme="dark" width="100%"></SingleTicker>

Used Public types#

TypeValue
ColorThemelight / dark

Properties#

PropertyTypeRequiredDefaultDescription
symbolstringfalseFX:EURUSDDefault symbol for widget
widthnumber/stringfalse350Sets a static width on the component
autosizebooleanfalsefalseSets the width to 100%
colorThemeColorThemefalselightSets the default theme
isTransparentbooleanfalsefalseTransparent background for component
localeLocalesfalseenSets the default locale
largeChartUrlstringfalseundefinedMake widget redirect to larger chart