Click or drag to resize

IChart Interface

The interface for work with the chart.

Namespace:  StockSharp.Xaml.Charting
Assembly:  StockSharp.Xaml.Charting (in StockSharp.Xaml.Charting.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public interface IChart : IThemeableChart, IPersistable

The IChart type exposes the following members.

Properties
  NameDescription
Public propertyAreas
Chart areas.
Public propertyChartTheme
The name of the graphic theme.
(Inherited from IThemeableChart.)
Public propertyIndicatorTypes
The list of available indicators types.
Public propertyIsAutoRange
To use automatic range for the X-axis. The default is off.
Public propertyIsAutoScroll
To scroll Areas areas automatically when new data occurred. The default is enabled.
Public propertyXAxisType
Type of X axis for this chart.
Top
Methods
  NameDescription
Public methodAddArea
To add an area to the chart.
Public methodAddElement(ChartArea, IChartElement)
To add an element to the chart.
Public methodAddElement(ChartArea, ChartCandleElement, CandleSeries)
To add an element to the chart.
Public methodAddElement(ChartArea, ChartOrderElement, Security)
To add an element to the chart.
Public methodAddElement(ChartArea, ChartTradeElement, Security)
To add an element to the chart.
Public methodAddElement(ChartArea, ChartIndicatorElement, CandleSeries, IIndicator)
To add an element to the chart.
Public methodClearAreas
To remove all areas from the chart.
Public methodDraw
To process the new data.
Public methodGetIndicator
To get an indicator which is associated with ChartIndicatorElement.
Public methodGetSource
To get the data source for IChartElement.
Public methodLoad (Inherited from IPersistable.)
Public methodRemoveArea
To remove the area from the chart.
Public methodRemoveElement
To remove the element from the chart.
Public methodReset
To reset the chart elements values drawn previously.
Public methodSave (Inherited from IPersistable.)
Top
Extension Methods
See Also