Search Framework:
IChart
Namespace: WealthLab.WPF
Parent:

The IChart interface allows WL9 to communicate with a chart contained in a ChildWindow. The WealthLab.WPF Chart class implements IChart. If you are implementing a ChildWindow in a WealthLab extension that contains a chart, override the ChildWindow Chart property to return an instance of this interface.

Members
AlwaysShowToolBar
void AlwaysShowToolBar(bool show)

Controls whether the chart toolbar should always remain visible. WL9 calls this method in response to the corresponding chart toolbar display option.


BarsCharted
BarHistory BarsCharted

Returns the BarHistory instance currently being displayed in the chart.


ChartThisSymbol
void ChartThisSymbol(string symbol, DataSet ds)

WL9 calls this method when a user clicks a symbol in the DataSet tree. The parent DataSet is passed in the ds parameter.


GetPlottedIndicators
List<IndicatorBase> GetPlottedIndicators()

Returns a List of IndicatorBase instances representing the indicators currently plotted on the chart.


IsLinked
bool IsLinked

Gets or sets whether the chart participates in WL9's chart linking functionality.


IsStreaming
bool IsStreaming

Gets or sets whether streaming is active for the chart.


PushKey
void PushKey(Key key)

WL9 calls this method when the chart is visible and the user presses a key. The WealthLab chart implementation uses the key to support symbol entry and special keystrokes such as Backspace and Ctrl+Left/Right Arrow.


ShowStatusBar
void ShowStatusBar(bool show)

Shows or hides the chart status bar.


SyncCrosshair
void SyncCrosshair(bool sync)

Enables or disables crosshair synchronization for the chart.


SyncCrosshair
void SyncCrosshair(DateTime dt, double value, string paneName, MarketDetails market)

Synchronizes the chart crosshair to the specified dt and value. The paneName identifies the chart pane containing the synchronized y-axis value, and market supplies the MarketDetails associated with the source chart so that WL9 can account for differences between markets.