Interface IWpfChart
- Namespace
- StockSharp.Xaml.Charting
- Assembly
- StockSharp.Xaml.Charting.dll
The interface describing the chart control.
public interface IWpfChart : IChart, IChartBuilder, IThemeableChart, IPersistable
- Inherited Members
- Extension Methods
Properties
Subscriptions
Subscriptions.
IEnumerable<Subscription> Subscriptions { get; }
Property Value
Methods
AddElement(IChartArea, IChartCandleElement, Subscription)
To add an element to the chart.
void AddElement(IChartArea area, IChartCandleElement element, Subscription subscription)
Parameters
area
IChartAreaChart area.
element
IChartCandleElementThe chart element.
subscription
Subscription
AddElement(IChartArea, IChartIndicatorElement, Subscription, IIndicator)
To add an element to the chart.
void AddElement(IChartArea area, IChartIndicatorElement element, Subscription subscription, IIndicator indicator)
Parameters
area
IChartAreaChart area.
element
IChartIndicatorElementThe chart element.
subscription
Subscriptionindicator
IIndicatorIndicator.
SetSubscription(IChartElement, Subscription)
To set the source for the element.
void SetSubscription(IChartElement element, Subscription subscription)
Parameters
element
IChartElementThe chart element.
subscription
SubscriptionSubscription.
TryGetSubscription(IChartElement)
To get the data source for IChartElement.
Subscription TryGetSubscription(IChartElement element)
Parameters
element
IChartElementThe chart element.
Returns
- Subscription
Market-data source.