ChartHelper

StockSharp.Xaml.Charting

Extension class for IChart.

Propiedades

TryColorProvider : IIndicatorColorProvider

IIndicatorColorProvider.

Métodos

CurrChartTheme() : string

Get current chart theme.

Devuelve: Chart theme.

DrawPnL(EquityCurveChart, Strategy, IChartBandElement, IChartBandElement, IChartBandElement)

Draw equity curve.

chart
EquityCurveChart
strategy
Strategy
pnl
IChartBandElement for PnL.
unrealized
IChartBandElement for UnrealizedPnL.
commission
IChartBandElement for Commission.
EnsureColorProvider() : IIndicatorColorProvider

Ensure get color provider.

Devuelve: IIndicatorColorProvider.

FillDefaultValues(OptimizerChart3D)

Fill OptimizerChart3D axis values.

chart
OptimizerChart3D
GetIndicatorTypes() : IEnumerable<IndicatorType>

Get all indicator types.

Devuelve: All indicator types.

SaveToImage(IChart) : Stream

To save the chart as image.

chart
Chart.

Devuelve: The content of image.

ToChartTheme(string) : string

Convert Devexpress theme to chart theme.

appTheme
Devexpress theme.

Devuelve: Chart theme.

TryGetIndicator(IChartIndicatorElement) : IIndicator

Try get IIndicator for the specified element.

element
IChartIndicatorElement

Devuelve: IIndicator

TryGetSubscription(IChartElement) : Subscription

Try get Subscription for the specified element.

element
IChartElement

Devuelve: Subscription

UpdateTheme(IThemeableChart)

Update theme for the specified chart.

chart
Chart.