Table of Contents

Class ChartHelper

Namespace
StockSharp.Xaml.Charting
Assembly
StockSharp.Xaml.Charting.dll

Extension class for IChart.

public static class ChartHelper
Inheritance
ChartHelper
Inherited Members

Properties

TryColorProvider

public static IIndicatorColorProvider TryColorProvider { get; }

Property Value

IIndicatorColorProvider

Methods

CurrChartTheme()

Get current chart theme.

public static string CurrChartTheme()

Returns

string

Chart theme.

EnsureColorProvider()

Ensure get color provider.

public static IIndicatorColorProvider EnsureColorProvider()

Returns

IIndicatorColorProvider

IIndicatorColorProvider.

FillDefaultValues(OptimizerChart3D)

Fill OptimizerChart3D axis values.

public static void FillDefaultValues(this OptimizerChart3D chart)

Parameters

chart OptimizerChart3D

OptimizerChart3D

GetIndicatorTypes()

Get all indicator types.

public static IEnumerable<IndicatorType> GetIndicatorTypes()

Returns

IEnumerable<IndicatorType>

All indicator types.

SaveToImage(IChart)

To save the chart as image.

public static Stream SaveToImage(this IChart chart)

Parameters

chart IChart

Chart.

Returns

Stream

The content of image.

ToChartTheme(string)

Convert Devexpress theme to chart theme.

public static string ToChartTheme(this string appTheme)

Parameters

appTheme string

Devexpress theme.

Returns

string

Chart theme.

UpdateTheme(IThemeableChart)

Update theme for the specified chart.

public static void UpdateTheme(this IThemeableChart chart)

Parameters

chart IThemeableChart

Chart.