Bars Class |
Namespace: SharpCharts.Base.Data
public class Bars : DependencyObject, INotifyPropertyChanged, ISeries<double>
The Bars type exposes the following members.
Name | Description | |
---|---|---|
Bars(Instrument, BarType, Session, DateTime, DateTime) | ||
Bars(Instrument, BarType, Session, DateTime, DateTime, BackfillPolicy, Boolean, Boolean) |
Constructor for bars
|
Name | Description | |
---|---|---|
Any | ||
Ask |
Gets the ask
| |
BackfillPolicy |
Gets or sets the backfill policy. Applicable for future instruments only.
| |
BarType |
Gets or sets the bar type
| |
Bid |
Gets the bid
| |
Count |
Gets the bar count
| |
DependencyObjectType | Gets the DependencyObjectType that wraps the CLR type of this instance. (Inherited from DependencyObject.) | |
Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) | |
DisplayName |
Gets the display name
| |
EndDate |
Gets or sets the end date
| |
Instrument |
Gets or sets the instrument
| |
IsFirstBarOfSession |
Gets if the running bar is start of a new session. The state will return true until the next bar of that session forms.
| |
IsFirstTickOfBar |
Gets if first tick of bar
| |
IsFirstTickOfSession |
Gets if first tick of session.
| |
IsHistoricalDataLoading |
Gets or sets if historical data loading
| |
IsRealTime |
Gets if real time
| |
IsSealed | Gets a value that indicates whether this instance is currently sealed (read-only). (Inherited from DependencyObject.) | |
Item |
returns the close price for the input bar idx
| |
LastBarPainted |
Gets or sets the last bar painted
| |
LastPrice |
Gets or sets the last price
| |
PanelCount |
Gets or sets the panel count
| |
SeriesDisplayName |
Gets the series display name
| |
Session |
Gets or sets the session
| |
StartDate |
Gets or sets the start date
| |
YAxisScaleType |
Gets or sets the YAxis Scale type
|
Name | Description | |
---|---|---|
Add |
Adds a bar to the list
| |
ClearValue(DependencyProperty) | Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier. (Inherited from DependencyObject.) | |
ClearValue(DependencyPropertyKey) | Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey. (Inherited from DependencyObject.) | |
CoerceValue | Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject. (Inherited from DependencyObject.) | |
Equals | Determines whether a provided DependencyObject is equivalent to the current DependencyObject. (Inherited from DependencyObject.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetBar |
Gets the IBar
| |
GetHashCode | Gets a hash code for this DependencyObject. (Inherited from DependencyObject.) | |
GetLocalValueEnumerator | Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. (Inherited from DependencyObject.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue | Returns the current effective value of a dependency property on this instance of a DependencyObject. (Inherited from DependencyObject.) | |
HasValue |
Does series has value
| |
InvalidateProperty | Re-evaluates the effective value for the specified dependency property (Inherited from DependencyObject.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NotifyPropertyChanged |
Notify property changed
| |
OnPropertyChanged | Invoked whenever the effective value of any dependency property on this DependencyObject has been updated. The specific dependency property that changed is reported in the event data. (Inherited from DependencyObject.) | |
ReadLocalValue | Returns the local value of a dependency property, if it exists. (Inherited from DependencyObject.) | |
SetCurrentValue | Sets the value of a dependency property without changing its value source. (Inherited from DependencyObject.) | |
SetValue(DependencyProperty, Object) | Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from DependencyObject.) | |
SetValue(DependencyPropertyKey, Object) | Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property. (Inherited from DependencyObject.) | |
ShouldSerializeProperty | Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (Inherited from DependencyObject.) | |
ToString | (Overrides ObjectToString.) |
Name | Description | |
---|---|---|
PropertyChanged |
Property changed event
|
Name | Description | |
---|---|---|
NewTickProperty |