Chart


Summary

Represents the Chart Interface.

Syntax

public interface Chart : ChartArea

Members

NameTypeSummary
Bars PropertyGets the chart Bar objects.
BarsTotal PropertyGets the total number of the bars on the chart.
ChartType PropertyGets or sets the type of the chart - Bar, Candlesticks, Line or Dots chart.
ChartTypeChanged EventOccurs when the chart type changes.
ColorsChanged EventOccurs when the chart color settings change.
ColorSettings PropertyGets the chart color settings.
DisplaySettings PropertyGets the chart display settings.
DisplaySettingsChanged EventOccurs when one or several charts display settings change.
FirstVisibleBarIndex PropertyGets the index of the first visible bar on the chart.
IndicatorAreaAdded EventOccurs when the indicator area is added.
IndicatorAreaRemoved EventOccurs when the indicator area is removed.
IndicatorAreas PropertyGets the read only list of the indicator areas.
IsScrollingEnabled PropertyGets or sets the value indicating whether the scrolling is enabled or disabled for the chart. If disabled, then the chart is not affected by scrolling, dragging, scaling, or pressing any keyboard keys, but is still affected by resizing, zooming, and API calls for changing X or Y-axis positions on the chart.
LastVisibleBarIndex PropertyGets the index of the last visible bar on the chart.
MaxVisibleBars PropertyGets the maximum number of the visible bars on the chart.
ResetBarColor MethodResets the color of the bar to the default.
ResetBarColors MethodResets the colors of all the bars.
ResetTickVolumeColor MethodResets the color of the tick volume line to the default at the specified bar index.
ResetTickVolumeColors MethodResets the color of all the tick volume bars.
ScrollXBy MethodScrolls the chart by the X-axis for the specified number of bars.
ScrollXTo MethodScrolls the chart by the X-axis to the bar with the specified index.
SetBarColor MethodSets the color of the bar at the specified bar index. It will change the bar fill color and the outline color.
SetBarFillColor MethodSets the fill color of the bar at the specified bar index.
SetBarOutlineColor MethodSets the outline color of the bar at the specified bar index.
SetTickVolumeColor MethodSets the color of tick volume line at the specified bar index.
Symbol PropertyGets the chart symbol.
SymbolName PropertyGets the symbol name.
TimeFrame PropertyGets the time frame of the chart from 1 minute to 1 month.
TryChangeTimeFrame MethodChanges the time frame on the chart.
TryChangeTimeFrameAndSymbol MethodChanges the time frame and the symbol on the chart.
ZoomChanged EventOccurs when the chart zoom options change.
ZoomLevel PropertyGets or sets the zoom percent values. Valid values are from 5 to 500 with a step of 5, as can be seen on UI in the charts Zoom control.
Reference