Interface IChart
Access to the chart panel
Namespace: TradingPlatform.BusinessLayer.Chart
Syntax
public interface IChart
Properties
Account
Provides account of current chart.
Declaration
Account Account { get; }
Property Value
Type | Description |
---|---|
Account |
BarsWidth
Current X scale value - width of the bar in pixels
Declaration
int BarsWidth { get; }
Property Value
Type | Description |
---|---|
int |
CurrentSessionContainer
Provides custom sessions of current chart.
Declaration
ISessionsContainer CurrentSessionContainer { get; }
Property Value
Type | Description |
---|---|
ISessionsContainer |
CurrentTimeZone
Provides time zone of current chart.
Declaration
TimeZone CurrentTimeZone { get; }
Property Value
Type | Description |
---|---|
TimeZone |
Drawings
Collection of chart drawingsCollection
Declaration
IChartDrawingsCollection Drawings { get; }
Property Value
Type | Description |
---|---|
IChartDrawingsCollection |
ID
Chart panel unique ID
Declaration
string ID { get; }
Property Value
Type | Description |
---|---|
string |
MainWindow
Main window of the chart
Declaration
IChartWindow MainWindow { get; }
Property Value
Type | Description |
---|---|
IChartWindow |
RightOffset
Current right offset value
Declaration
int RightOffset { get; }
Property Value
Type | Description |
---|---|
int |
TickSize
Current tick size of the chart
Declaration
double TickSize { get; }
Property Value
Type | Description |
---|---|
double |
Windows
Collection of chart windows
Declaration
IChartWindow[] Windows { get; }
Property Value
Type | Description |
---|---|
IChartWindow[] |
Methods
Refresh()
Force chart refreshing
Declaration
void Refresh()
Events
AccountChanged
The AccountChanged event occurs when the account was changed
Declaration
event EventHandler<ChartEventArgs> AccountChanged
Event Type
Type | Description |
---|---|
EventHandler<ChartEventArgs> |
MouseClick
The MouseClick event occurs when the mouse button is clicked
Declaration
event EventHandler<ChartMouseNativeEventArgs> MouseClick
Event Type
Type | Description |
---|---|
EventHandler<ChartMouseNativeEventArgs> |
MouseDown
The MouseDown event occurs when the mouse button is pressed down
Declaration
event EventHandler<ChartMouseNativeEventArgs> MouseDown
Event Type
Type | Description |
---|---|
EventHandler<ChartMouseNativeEventArgs> |
MouseEnter
The MouseDown event occurs when the mouse enter the chart
Declaration
event EventHandler<ChartMouseNativeEventArgs> MouseEnter
Event Type
Type | Description |
---|---|
EventHandler<ChartMouseNativeEventArgs> |
MouseLeave
The MouseDown event occurs when the mouse leave the chart
Declaration
event EventHandler<ChartMouseNativeEventArgs> MouseLeave
Event Type
Type | Description |
---|---|
EventHandler<ChartMouseNativeEventArgs> |
MouseMove
The MouseMove event occurs when the mouse moving over the chart
Declaration
event EventHandler<ChartMouseNativeEventArgs> MouseMove
Event Type
Type | Description |
---|---|
EventHandler<ChartMouseNativeEventArgs> |
MouseUp
The MouseUp event occurs when the mouse button is released
Declaration
event EventHandler<ChartMouseNativeEventArgs> MouseUp
Event Type
Type | Description |
---|---|
EventHandler<ChartMouseNativeEventArgs> |
MouseWheel
The MouseDown event occurs when the user scrolling mouse wheel
Declaration
event EventHandler<ChartMouseNativeEventArgs> MouseWheel
Event Type
Type | Description |
---|---|
EventHandler<ChartMouseNativeEventArgs> |
SettingsChanged
The SettingsChanged event occurs when any settings were changed
Declaration
event EventHandler<ChartEventArgs> SettingsChanged
Event Type
Type | Description |
---|---|
EventHandler<ChartEventArgs> |