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
CrossHair
Crosshair.
bool CrossHair { get; set; }
Property Value
CrossHairAxisLabels
To show values on the axis for the crosshair.
bool CrossHairAxisLabels { get; set; }
Property Value
CrossHairTooltip
To show the prompt message for the crosshair.
bool CrossHairTooltip { get; set; }
Property Value
IndicatorTypes
The list of available indicators types.
IList<IndicatorType> IndicatorTypes { get; }
Property Value
IsAutoRange
To use automatic range for the X-axis. The default is off.
bool IsAutoRange { get; set; }
Property Value
IsAutoScroll
To scroll Areas areas automatically when new data occurred. The default is enabled.
bool IsAutoScroll { get; set; }
Property Value
IsInteracted
The interactive mode. The default is off.
bool IsInteracted { get; set; }
Property Value
OrderCreationMode
The order creation mode. The default is off.
bool OrderCreationMode { get; set; }
Property Value
ShowLegend
To show the legend.
bool ShowLegend { get; set; }
Property Value
ShowNonFormedIndicators
Show non formed indicators values.
bool ShowNonFormedIndicators { get; set; }
Property Value
ShowOverview
To show the preview area.
bool ShowOverview { get; set; }
Property Value
ShowPerfStats
Show FPS.
bool ShowPerfStats { get; set; }
Property Value
TimeZone
Local time zone for all DateTimeOffset values conversion.
TimeZoneInfo TimeZone { get; set; }
Property Value
Methods
AddArea(IChartArea)
To add an area to the chart.
void AddArea(IChartArea area)
Parameters
area
IChartAreaChart area.
AddElement(IChartArea, IChartCandleElement, CandleSeries)
To add an element to the chart.
void AddElement(IChartArea area, IChartCandleElement element, CandleSeries candleSeries)
Parameters
area
IChartAreaChart area.
element
IChartCandleElementThe chart element.
candleSeries
CandleSeriesCandles series.
AddElement(IChartArea, IChartElement)
To add an element to the chart.
void AddElement(IChartArea area, IChartElement element)
Parameters
area
IChartAreaChart area.
element
IChartElementThe 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
IChartAreaChart area.
element
IChartIndicatorElementThe chart element.
candleSeries
CandleSeriesCandles series.
indicator
IIndicatorIndicator.
RemoveArea(IChartArea)
To remove the area from the chart.
void RemoveArea(IChartArea area)
Parameters
area
IChartAreaChart area.
RemoveElement(IChartArea, IChartElement)
To remove the element from the chart.
void RemoveElement(IChartArea area, IChartElement element)
Parameters
area
IChartAreaChart area.
element
IChartElementThe 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
AreaRemoved
Areas removed event.
event Action<IChartArea> AreaRemoved