Chart |
public abstract class ChartVisualBase : VisualBase, IChartVisual, IVisual<ChartVisualArgs>, IHitTest<ChartHitTestArgs>, IState, IObserver<Level1EventArgs>, IObserver<IEnumerable<Level1EventArgs>>, IObserver<Level2EventArgs>
The ChartVisualBase type exposes the following members.
| Name | Description | |
|---|---|---|
| ChartVisualBase |
| Name | Description | |
|---|---|---|
| AxisOrientation | AxisOrientation | |
| DebounceInterval | Debounce interval | |
| DialogService |
Opens a IDialogService dialog
(Inherited from ServiceBase) | |
| Dispatcher |
Gets the dispatcher
(Inherited from SharpScriptBase) | |
| DisplayName |
Gets the display name
(Inherited from SharpScriptBase) | |
| Error |
Gets the Error string
(Inherited from ServiceBase) | |
| FileService |
Opens a IFileService dialog
(Inherited from ServiceBase) | |
| HasLevel1Stream | Has Level-I stream | |
| HasLevel2Stream | Has Level-II stream | |
| HighestHigh | Highest high of the series | |
| IsAutoScale | Is autoscale | |
| IsSelected | Is the visual selected or not | |
| IsSharpScript | Gets if the drawing object is created by a sharpScript code | |
| IsValueChanged | ||
| IsVisible | Is series visible | |
| Item |
Gets the IDataErrorInfo error string
(Inherited from ServiceBase) | |
| LineHitTestWidth | Gets teh Line hit test width | |
| LowestLow | Lowest low of the series | |
| MessageBox |
Opens a IMessageBoxService dialog
(Inherited from ServiceBase) | |
| Name |
Gets the name
(Inherited from SharpScriptBase) | |
| ObserveAllMarketDataTypes | Observe all MarketDataType | |
| PanelIndex | Gets the panel index | |
| Parent | Gets the parent Bars | |
| SingletonService |
Opens a ISingletonService dialog
(Inherited from ServiceBase) | |
| State |
Gets the current State of the script
(Inherited from SharpScriptBase) | |
| Template |
Gets the Xaml template associated with the script
(Inherited from SharpScriptBase) |
| Name | Description | |
|---|---|---|
| Alert(String, String) | Alert, with Medium. This alert is raised once. | |
| Alert(String, String, TimeSpan) | Alert with Medium | |
| Alert(String, Priority, Brush, String) | Alert. This alert is raised only once | |
| Alert(String, Priority, Brush, String, TimeSpan) | Alert | |
| Alert(String, IInstrument, Priority, Brush, String, TimeSpan) |
Shoots an alert.
The alert is triggered only when the State is Realtime (Inherited from SharpScriptBase) | |
| CalculateMinMax | ||
| CalculatePriceFromY(Double, ChartVisualArgs) |
Calculate price from Y (Inherited from VisualBase) | |
| CalculatePriceFromY(Double, Double, Double, Double, Double, ScaleType) |
Calculate the price from Y (Inherited from VisualBase) | |
| CalculateXFromBarIndex |
Calculate the X from bars index
(Inherited from VisualBase) | |
| CalculateYFromPrice(Double, ChartVisualArgs) |
Calulate the Y point from price
(Inherited from VisualBase) | |
| CalculateYFromPrice(Double, Double, Double, Double, Double, ScaleType) |
Calculate Y from price
(Inherited from VisualBase) | |
| CanRender | ||
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | (Inherited from SharpScriptBase) | |
| GetHandleCursor | Returns the handle cursor | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| InvalidateView | ||
| InvokeAsync |
Invoke any action. It is recommended to draw any [!:ChartObject.DrawingBase] by invoking this method
(Inherited from SharpScriptBase) | |
| Log(String) |
Logs a message with Low (Inherited from SharpScriptBase) | |
| Log(Priority, String) |
Logs a message with the specified Priority (Inherited from SharpScriptBase) | |
| Log(Priority, Brush, String) |
Logs a message with the specified Priority and defined brush
(Inherited from SharpScriptBase) | |
| MakeHitTest | Makes the hit test | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Move | Mode the visual | |
| NotifyPropertyChanged | (Inherited from SharpScriptBase) | |
| OnLevel1 | Opens the Level-I stream | |
| OnLevel2 | Opens the Level-II stream | |
| OnRender | Render the visual | |
| OnRenderYAxis | Render the Y-Axis | |
| OnStateChange |
Invoked when the State changes
(Inherited from SharpScriptBase) | |
| PlaySound |
Play a sound file as located in the folder ~\Documents\ArthaChitra 2\Sounds
(Inherited from SharpScriptBase) | |
| Print(String, String) |
Prints a message with Low (Inherited from SharpScriptBase) | |
| Print(Brush, String, String) |
Prints a message with a defined foreground brush
(Inherited from SharpScriptBase) | |
| Print(Priority, String, String) |
Prints a message with the defined Priority (Inherited from SharpScriptBase) | |
| Recalculate | Recalculates the parameter. This is called for DrawingBase objects only. | |
| Round |
Rounds the value with the factor as defined in Options > General tab > RoundFactor (Inherited from SharpScriptBase) | |
| SelectionSteps |
How far the selection rectangle will be drawn
(Inherited from VisualBase) | |
| Share |
Share messages via to social media SocialType
The messages will be transmitted only when the state is Realtime
(Inherited from SharpScriptBase) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| ToStringFormat | Gets the formatted string value |
| Name | Description | |
|---|---|---|
| PropertyChanged | (Inherited from NotifyPropertyBase) |