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
Public property ChartType enum Gets the chart type. See DataChartType for a list of possible values.
Public property IntervalSpan int Gets the range of values shown in the interval.
Public property IntervalType enum Gets the type of the data interval. See DataIntervalType for a list of possible values.
Public property IsReadOnly bool True is the data is read-only.
Public property Shares int Gets the number of the shares.
Methods
  Name Description
Public property Create() Initializes a new instance of the class.
Public property FromCurrentSymbolData(barType,barInterval) Static method that returns a DataInterval object of the specified barType and barInterval.
Public property SetAsBarChart(intervalType,intervalSpan) Sets to a bar chart with the specified DataIntervalType and interval span value.
Public property SetAsDailyBarChart Sets to a bar chart with a daily interval.
Public property SetAsMinuteBarChart(minutes) Sets to a bar chart with an interval of a specified number of minutes.
Public property SetAsMontlyBarChart Sets to a bar chart with a monthly interval.
Public property SetAsSecondBarChart(second) Sets to a bar chart with an interval of a specified number of seconds.
Public property SetAsTickBarChart(ticks) Sets to a tick bar chart with an interval of a specified number of ticks.
Public property SetAsTickVolumeChart(shares) Sets to a tick bar chart with a specified volume interval.
Public property SetAsWeeklyBarChart Sets to a bar chart with a weekly interval.