Class ChartHelper
- Namespace
- StockSharp.Xaml.Charting
- Assembly
- StockSharp.Xaml.Charting.dll
Extension class for IChart.
public static class ChartHelper
- Inheritance
-
ChartHelper
- Inherited Members
Methods
CurrChartTheme()
Get current chart theme.
public static string CurrChartTheme()
Returns
- string
Chart theme.
FillDefaultValues(OptimizerChart3D)
Fill OptimizerChart3D axis values.
public static void FillDefaultValues(this OptimizerChart3D chart)
Parameters
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
IChartChart.
Returns
- Stream
The content of image.
ToChartTheme(string)
Convert Devexpress theme to chart theme.
public static string ToChartTheme(this string appTheme)
Parameters
appTheme
stringDevexpress theme.
Returns
- string
Chart theme.
UpdateTheme(IThemeableChart)
Update theme for the specified chart.
public static void UpdateTheme(this IThemeableChart chart)
Parameters
chart
IThemeableChartChart.