DataInterval Class (Component)
Defines the structure for an object that represents a data interval.
Namespace: tsdata.marketdata
Properties
Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).
Name | Type | Description | |
![]() |
ChartType | enum | Gets the chart type. See DataChartType for a list of possible values. |
![]() |
IntervalSpan | int | Gets the range of values shown in the interval. |
![]() |
IntervalType | enum | Gets the type of the data interval. See DataIntervalType for a list of possible values. |
![]() |
IsReadOnly | bool | True is the data is read-only. |
![]() |
Shares | int | Gets the number of the shares. |
Methods
Name | Description | |
![]() |
Create() | Initializes a new instance of the class. |
![]() |
FromCurrentSymbolData(barType,barInterval) | Static method that returns a DataInterval object of the specified barType and barInterval. |
![]() |
SetAsBarChart(intervalType,intervalSpan) | Sets to a bar chart with the specified DataIntervalType and interval span value. |
![]() |
SetAsDailyBarChart | Sets to a bar chart with a daily interval. |
![]() |
SetAsMinuteBarChart(minutes) | Sets to a bar chart with an interval of a specified number of minutes. |
![]() |
SetAsMontlyBarChart | Sets to a bar chart with a monthly interval. |
![]() |
SetAsSecondBarChart(second) | Sets to a bar chart with an interval of a specified number of seconds. |
![]() |
SetAsTickBarChart(ticks) | Sets to a tick bar chart with an interval of a specified number of ticks. |
![]() |
SetAsTickVolumeChart(shares) | Sets to a tick bar chart with a specified volume interval. |
![]() |
SetAsWeeklyBarChart | Sets to a bar chart with a weekly interval. |