IChart

StockSharp.Charting

Interface for working with charts.

Implements: IChartBuilder, IThemeableChart, IPersistable

Properties

Areas
public IEnumerable<IChartArea> Areas { get; }
value = iChart.Areas

Chart areas.

CrossHair
public bool CrossHair { get; set; }
value = iChart.CrossHair
iChart.CrossHair = value

Crosshair.

CrossHairAxisLabels
public bool CrossHairAxisLabels { get; set; }
value = iChart.CrossHairAxisLabels
iChart.CrossHairAxisLabels = value

To show values on the axis for the crosshair.

CrossHairTooltip
public bool CrossHairTooltip { get; set; }
value = iChart.CrossHairTooltip
iChart.CrossHairTooltip = value

To show the prompt message for the crosshair.

IndicatorTypes
public IList<IndicatorType> IndicatorTypes { get; }
value = iChart.IndicatorTypes

The list of available indicators types.

IsAutoRange
public bool IsAutoRange { get; set; }
value = iChart.IsAutoRange
iChart.IsAutoRange = value

To use automatic range for the X-axis. The default is off.

IsAutoScroll
public bool IsAutoScroll { get; set; }
value = iChart.IsAutoScroll
iChart.IsAutoScroll = value

To scroll Areas areas automatically when new data occurred. The default is enabled.

IsInteracted
public bool IsInteracted { get; set; }
value = iChart.IsInteracted
iChart.IsInteracted = value

The interactive mode. The default is off.

OrderCreationMode
public bool OrderCreationMode { get; set; }
value = iChart.OrderCreationMode
iChart.OrderCreationMode = value

The order creation mode. The default is off.

ShowLegend
public bool ShowLegend { get; set; }
value = iChart.ShowLegend
iChart.ShowLegend = value

To show the legend.

ShowNonFormedIndicators
public bool ShowNonFormedIndicators { get; set; }
value = iChart.ShowNonFormedIndicators
iChart.ShowNonFormedIndicators = value

Show non formed indicators values.

ShowOverview
public bool ShowOverview { get; set; }
value = iChart.ShowOverview
iChart.ShowOverview = value

To show the preview area.

ShowPerfStats
public bool ShowPerfStats { get; set; }
value = iChart.ShowPerfStats
iChart.ShowPerfStats = value

Show FPS.

TimeZone
public TimeZoneInfo TimeZone { get; set; }
value = iChart.TimeZone
iChart.TimeZone = value

Local time zone for all DateTime values conversion.

Methods

AddArea
public void AddArea(IChartArea area)
iChart.AddArea(area)

To add an area to the chart.

area
Chart area.
AddElement
public void AddElement(IChartArea area, IChartIndicatorElement element, Subscription subscription, IIndicator indicator)
iChart.AddElement(area, element, subscription, indicator)

To add an indicator element to the chart.

area
Chart area.
element
The indicator chart element.
subscription
Subscription.
indicator
Indicator.
AddElement
public void AddElement(IChartArea area, IChartCandleElement element, Subscription subscription)
iChart.AddElement(area, element, subscription)

To add a candle element to the chart.

area
Chart area.
element
The candle chart element.
subscription
Subscription.
AddElement
public void AddElement(IChartArea area, IChartElement element)
iChart.AddElement(area, element)

To add an element to the chart.

area
Chart area.
element
The chart element.
RemoveArea
public void RemoveArea(IChartArea area)
iChart.RemoveArea(area)

To remove the area from the chart.

area
Chart area.
RemoveElement
public void RemoveElement(IChartArea area, IChartElement element)
iChart.RemoveElement(area, element)

To remove the element from the chart.

area
Chart area.
element
The chart element.
Reset
public void Reset(IEnumerable<IChartElement> elements)
iChart.Reset(elements)

To reset the chart elements values drawn previously.

elements
Chart elements.

Events

AreaAdded
public event Action<IChartArea> AreaAdded
iChart.AreaAdded += handler

Areas added event.

AreaRemoved
public event Action<IChartArea> AreaRemoved
iChart.AreaRemoved += handler

Areas removed event.