Skip to main content

Economic Calendar

This is the React component for the Economic Calendar

Example#

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

Used Private types#

TypeValue
ImportanceFilter-1,0,1 / 0,1

Used Public types#

TypeValue
ColorThemelight / dark

Properties#

PropertyTypeRequiredDefaultDescription
colorThemeColorThemefalselightSets the default theme
isTransparentbooleanfalsefalseTransparent background for component
widthnumber/stringfalse425Sets a static width on the component
heightnumber/stringfalse450Sets a static height on the component
autosizebooleanfalsefalseSets the width and height to 100%
localeLocalesfalseenSets the default locale
importanceFilterImportanceFilterfalse-1,0,1High performance
countryFilterstringfalseundefinedDefault countries