IChart
Interface for working with charts.
Implements: IChartBuilder, IThemeableChart, IPersistable
Properties
public bool CrossHair { get; set; }
value = iChart.CrossHair
iChart.CrossHair = value
Crosshair.
public bool CrossHairAxisLabels { get; set; }
value = iChart.CrossHairAxisLabels
iChart.CrossHairAxisLabels = value
To show values on the axis for the crosshair.
public bool CrossHairTooltip { get; set; }
value = iChart.CrossHairTooltip
iChart.CrossHairTooltip = value
To show the prompt message for the crosshair.
public IList<IndicatorType> IndicatorTypes { get; }
value = iChart.IndicatorTypes
The list of available indicators types.
public bool IsAutoRange { get; set; }
value = iChart.IsAutoRange
iChart.IsAutoRange = value
To use automatic range for the X-axis. The default is off.
public bool IsAutoScroll { get; set; }
value = iChart.IsAutoScroll
iChart.IsAutoScroll = value
To scroll Areas areas automatically when new data occurred. The default is enabled.
public bool IsInteracted { get; set; }
value = iChart.IsInteracted
iChart.IsInteracted = value
The interactive mode. The default is off.
public bool OrderCreationMode { get; set; }
value = iChart.OrderCreationMode
iChart.OrderCreationMode = value
The order creation mode. The default is off.
public bool ShowLegend { get; set; }
value = iChart.ShowLegend
iChart.ShowLegend = value
To show the legend.
public bool ShowNonFormedIndicators { get; set; }
value = iChart.ShowNonFormedIndicators
iChart.ShowNonFormedIndicators = value
Show non formed indicators values.
public bool ShowOverview { get; set; }
value = iChart.ShowOverview
iChart.ShowOverview = value
To show the preview area.
public bool ShowPerfStats { get; set; }
value = iChart.ShowPerfStats
iChart.ShowPerfStats = value
Show FPS.
public TimeZoneInfo TimeZone { get; set; }
value = iChart.TimeZone
iChart.TimeZone = value
Local time zone for all DateTime values conversion.
Methods
public void AddArea(IChartArea area)
iChart.AddArea(area)
To add an area to the chart.
- area
- Chart area.
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.
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.
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.
public void RemoveArea(IChartArea area)
iChart.RemoveArea(area)
To remove the area from the chart.
- area
- Chart area.
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.
public void Reset(IEnumerable<IChartElement> elements)
iChart.Reset(elements)
To reset the chart elements values drawn previously.
- elements
- Chart elements.
Events
public event Action<IChartArea> AreaRemoved
iChart.AreaRemoved += handler
Areas removed event.