TimeFrameItem
Interface
Definition of visible time frames that can be selected at the bottom of the chart
Example
{ text: "3y", resolution: "1W", description: "3 Years", title: "3yr" }
Properties
description
OptionalOptional text displayed in the pop-up menu. If not set, title
wil be used instead.
Type
string
resolution
Resolution to be set
Type
text
Defines the range to be set for the given resolution. It has the <integer><y|m|d>
( \d+(y|m|d) as Regex ) format.
Type
string
title
OptionalOptional text representing the time frame. If not set a generated string will be set based on text
property.
Type
string