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
areaIChartAreaChart area.
elementIChartCandleElementThe chart element.
subscriptionSubscription
AddElement(IChartArea, IChartIndicatorElement, Subscription, IIndicator)
To add an element to the chart.
void AddElement(IChartArea area, IChartIndicatorElement element, Subscription subscription, IIndicator indicator)
Parameters
areaIChartAreaChart area.
elementIChartIndicatorElementThe chart element.
subscriptionSubscriptionindicatorIIndicatorIndicator.
SetSubscription(IChartElement, Subscription)
To set the source for the element.
void SetSubscription(IChartElement element, Subscription subscription)
Parameters
elementIChartElementThe chart element.
subscriptionSubscriptionSubscription.
TryGetSubscription(IChartElement)
To get the data source for IChartElement.
Subscription TryGetSubscription(IChartElement element)
Parameters
elementIChartElementThe chart element.
Returns
- Subscription
Market-data source.