Table of Contents

Interface IChart

Namespace
StockSharp.Charting
Assembly
StockSharp.Charting.Interfaces.dll

The interface for work with the chart.

public interface IChart : IChartBuilder, IThemeableChart, IPersistable
Inherited Members
Extension Methods

Properties

Areas

Chart areas.

IEnumerable<IChartArea> Areas { get; }

Property Value

IEnumerable<IChartArea>

CrossHair

Crosshair.

bool CrossHair { get; set; }

Property Value

bool

CrossHairAxisLabels

To show values on the axis for the crosshair.

bool CrossHairAxisLabels { get; set; }

Property Value

bool

CrossHairTooltip

To show the prompt message for the crosshair.

bool CrossHairTooltip { get; set; }

Property Value

bool

IndicatorTypes

The list of available indicators types.

IList<IndicatorType> IndicatorTypes { get; }

Property Value

IList<IndicatorType>

IsAutoRange

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

bool IsAutoRange { get; set; }

Property Value

bool

IsAutoScroll

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

bool IsAutoScroll { get; set; }

Property Value

bool

IsInteracted

The interactive mode. The default is off.

bool IsInteracted { get; set; }

Property Value

bool

OrderCreationMode

The order creation mode. The default is off.

bool OrderCreationMode { get; set; }

Property Value

bool

ShowLegend

To show the legend.

bool ShowLegend { get; set; }

Property Value

bool

ShowNonFormedIndicators

Show non formed indicators values.

bool ShowNonFormedIndicators { get; set; }

Property Value

bool

ShowOverview

To show the preview area.

bool ShowOverview { get; set; }

Property Value

bool

ShowPerfStats

Show FPS.

bool ShowPerfStats { get; set; }

Property Value

bool

TimeZone

Local time zone for all DateTimeOffset values conversion.

TimeZoneInfo TimeZone { get; set; }

Property Value

TimeZoneInfo

Methods

AddArea(IChartArea)

To add an area to the chart.

void AddArea(IChartArea area)

Parameters

area IChartArea

Chart area.

AddElement(IChartArea, IChartCandleElement, CandleSeries)

To add an element to the chart.

void AddElement(IChartArea area, IChartCandleElement element, CandleSeries candleSeries)

Parameters

area IChartArea

Chart area.

element IChartCandleElement

The chart element.

candleSeries CandleSeries

Candles series.

AddElement(IChartArea, IChartElement)

To add an element to the chart.

void AddElement(IChartArea area, IChartElement element)

Parameters

area IChartArea

Chart area.

element IChartElement

The chart element.

AddElement(IChartArea, IChartIndicatorElement, CandleSeries, IIndicator)

To add an element to the chart.

void AddElement(IChartArea area, IChartIndicatorElement element, CandleSeries candleSeries, IIndicator indicator)

Parameters

area IChartArea

Chart area.

element IChartIndicatorElement

The chart element.

candleSeries CandleSeries

Candles series.

indicator IIndicator

Indicator.

RemoveArea(IChartArea)

To remove the area from the chart.

void RemoveArea(IChartArea area)

Parameters

area IChartArea

Chart area.

RemoveElement(IChartArea, IChartElement)

To remove the element from the chart.

void RemoveElement(IChartArea area, IChartElement element)

Parameters

area IChartArea

Chart area.

element IChartElement

The chart element.

Reset(IEnumerable<IChartElement>)

To reset the chart elements values drawn previously.

void Reset(IEnumerable<IChartElement> elements)

Parameters

elements IEnumerable<IChartElement>

Chart elements.

Events

AreaAdded

Areas added event.

event Action<IChartArea> AreaAdded

Event Type

Action<IChartArea>

AreaRemoved

Areas removed event.

event Action<IChartArea> AreaRemoved

Event Type

Action<IChartArea>