Drawing |
public abstract class DrawingBase : ChartVisualBase, ISerialize
The DrawingBase type exposes the following members.
Name | Description | |
---|---|---|
![]() | DrawingBase |
Name | Description | |
---|---|---|
![]() | AxisOrientation |
Gets the Axis orientation. Axis orientation is derived from its Owner
Set value is ignored
(Overrides ChartVisualBaseAxisOrientation) |
![]() | DebounceInterval |
Debounce interval
(Inherited from ChartVisualBase) |
![]() | DialogService |
Opens a IDialogService dialog
(Inherited from ServiceBase) |
![]() | Dispatcher |
Gets the dispatcher
(Inherited from SharpScriptBase) |
![]() | DisplayName |
Gets the display name of the object
(Overrides SharpScriptBaseDisplayName) |
![]() | Error |
Gets the Error string
(Inherited from ServiceBase) |
![]() | FileService |
Opens a IFileService dialog
(Inherited from ServiceBase) |
![]() | HandleCount | Gets the total number of handles |
![]() | HasLevel1Stream |
Has Level-I stream
(Inherited from ChartVisualBase) |
![]() | HasLevel2Stream |
Has Level-II stream
(Inherited from ChartVisualBase) |
![]() | HighestHigh |
Highest high of the series
(Inherited from ChartVisualBase) |
![]() | Icon | Gets the icon as displayed in the tool bar of a chart |
![]() | IsAlert | Gets or sets if the DrawingBase can shoot an alert |
![]() | IsAutoScale |
Is autoscale
(Inherited from ChartVisualBase) |
![]() | IsSelected |
Is the visual selected or not
(Inherited from ChartVisualBase) |
![]() | IsSharpScript |
Gets if the drawing object is created by a sharpScript code
(Inherited from ChartVisualBase) |
![]() | IsValueChanged |
Checks if the view width or height, scale max or min etc parameters has changed. In case there has been a change, user needs to render the view
(Overrides ChartVisualBaseIsValueChanged) |
![]() | IsVisible |
Is series visible
(Inherited from ChartVisualBase) |
![]() | Item |
Gets the IDataErrorInfo error string
(Inherited from ServiceBase) |
![]() | LineHitTestWidth |
Gets teh Line hit test width
(Inherited from ChartVisualBase) |
![]() | LineWidth | Returns the PenThickness or 5 whichever is higher |
![]() | LowestLow |
Lowest low of the series
(Inherited from ChartVisualBase) |
![]() | MessageBox |
Opens a IMessageBoxService dialog
(Inherited from ServiceBase) |
![]() | Name |
Gets the name
(Inherited from SharpScriptBase) |
![]() | ObserveAllMarketDataTypes |
Observe all MarketDataType (Inherited from ChartVisualBase) |
![]() | Owner | Gets or sets the owner |
![]() | PanelIndex |
Gets the panel index. The index is derived from its Owner
Set value is ignored
(Overrides ChartVisualBasePanelIndex) |
![]() | Parent |
Gets the parent
(Overrides ChartVisualBaseParent) |
![]() | Pen | Gets or sets the pen |
![]() | PenHelper | |
![]() | ReferenceDate | Gets the data which determines if the drawing object will be loaded in the bars |
![]() | SingletonService |
Opens a ISingletonService dialog
(Inherited from ServiceBase) |
![]() | State |
Gets the current State of the script
(Inherited from SharpScriptBase) |
![]() | Template |
Gets the template as displayed in the property dialog
(Overrides SharpScriptBaseTemplate) |
Name | Description | |
---|---|---|
![]() | Alert(String, String) |
Alert, with Medium. This alert is raised once.
(Inherited from ChartVisualBase) |
![]() | Alert(String, String, TimeSpan) |
Alert with Medium (Inherited from ChartVisualBase) |
![]() | Alert(String, Priority, Brush, String) |
Alert. This alert is raised only once
(Inherited from ChartVisualBase) |
![]() | Alert(String, Priority, Brush, String, TimeSpan) |
Alert
(Inherited from ChartVisualBase) |
![]() | Alert(String, IInstrument, Priority, Brush, String, TimeSpan) |
Shoots an alert.
The alert is triggered only when the State is Realtime (Inherited from SharpScriptBase) |
![]() | CalculateMid | Calculate the mid point of a line |
![]() | CalculateMinMax | (Inherited from ChartVisualBase) |
![]() | 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) |
![]() | CalculateSlope | Calculates the slope between 2 points |
![]() | CalculateXFromBarIndex |
Calculate the X from bars index
(Inherited from VisualBase) |
![]() | CalculateXFromTimeOrBarIndex | Calculates the X from time or bar index |
![]() | 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 | (Inherited from ChartVisualBase) |
![]() | CloseLevel1Stream | Close the Level1Stream |
![]() | Contains | Checks if the hit-test contains a drawing object |
![]() | CreateCollectionT | Creates a ConcurrentObservableCollection |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | Finalize | (Inherited from SharpScriptBase) |
![]() | GetAngle | Gets the angle of two points |
![]() | GetExtendedPoint(Point, Point, ChartVisualArgs) | Get the extended point between two points |
![]() | GetExtendedPoint(Point, Point, Double) | Calculates the extend point value of a line |
![]() | GetHandle | Gets the handle |
![]() | GetHandleCursor |
Returns the handle cursor
(Inherited from ChartVisualBase) |
![]() | GetHandleRect | Returns the rectangle handle |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetLength | Returns the distance between 2 points |
![]() | GetParallalPoint | Gets the parallal points from a line |
![]() | GetSnapPoint(ChartVisualArgs) | Gets the snap point depending on the SnapMode. |
![]() | GetSnapPoint(Point, ChartVisualArgs) | Gets the snap point depending on the SnapMode |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | InvalidateView | (Inherited from ChartVisualBase) |
![]() | InvokeAsync |
Invoke any action. It is recommended to draw any [!:ChartObject.DrawingBase] by invoking this method
(Inherited from SharpScriptBase) |
![]() | IsLineIntersectsLine | Checks if two line intersects with each other |
![]() | IsLineIntersectsRect | Checks if a line intersects with a Rect |
![]() | IsLineVisibleOnScreen | Checks if the line is displayed on the view |
![]() | 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 |
Hit test.
Return value: -1 - no hit, 0 - hit anywhere, > 1 - handle number
(Overrides ChartVisualBaseMakeHitTest(ChartVisualArgs)) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
![]() | Move |
Mode the visual
(Inherited from ChartVisualBase) |
![]() | MoveHandleTo | Moves the handle to the specified point |
![]() | NotifyPropertyChanged | (Inherited from SharpScriptBase) |
![]() | OnLevel1 |
Opens the Level-I stream
(Inherited from ChartVisualBase) |
![]() | OnLevel2 |
Opens the Level-II stream
(Inherited from ChartVisualBase) |
![]() | OnPreviewMouseDown | If overriden then the drawing cursor will be available in the chart drawing menu item. This will be not called if the DrawingBase object is drawn programmatically. |
![]() | OnPreviewMouseMove | Invoked on mouse move while creating or modifying DrawingBase object manually This will be not called if the DrawingBase object is drawn programmatically. |
![]() | OnPreviewMouseUp | Triggers on mouse up |
![]() | OnPreviewTextInput | Invoked upon text input via keyboard when a DrawingBase object is selected |
![]() | OnRender |
Renders the DrawingBase (Overrides ChartVisualBaseOnRender(DrawingContext, ChartVisualArgs)) |
![]() | OnRenderYAxis |
Renders the YAxis
(Overrides ChartVisualBaseOnRenderYAxis(DrawingContext, ChartVisualArgs)) |
![]() | 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 parameters
(Overrides ChartVisualBaseRecalculate(ChartVisualArgs)) |
![]() | 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
(Inherited from ChartVisualBase) |
Name | Description | |
---|---|---|
![]() | PropertyChanged | (Inherited from NotifyPropertyBase) |