Drawing Tools
<< Click to Display Table of Contents >> Drawing Tools |
Custom Drawing Tools can be used to render custom shapes to a point on the chart to represent various information. The methods and properties covered in this section are unique to custom Drawing Tools development. Following is an index of the documented properties and methods related to drawing tools.
A virtual method which is called every time a Drawing Tool is copied and pasted to a chart |
|
Creates a collection of Chart Anchors which will represent various points of the drawing tool |
|
An object which holds information regarding where the drawing tool is attached |
|
Defines objects used by Drawing Tools which represent a point on the chart where the Drawing Tool is located |
|
Used to convert the cursor position (pixels) to device pixels represented on the Y axis of the chart |
|
Used to create a new chart anchor at a specified mouse point |
|
Determines if the drawing tool should be listed in the chart's drawing tool menus |
|
Releases any device resources used for the drawing tool |
|
Represents the current state of the drawing tool in order to perform various actions, such as building, editing, or moving |
|
Represents the NinjaScript object by which the drawing tool was created |
|
Returns information which relate to the underlying bars series in which the drawing tool is attached |
|
Returns the closest chart anchor within a specified maximum distance from the mouse cursor |
|
An event driven method which is called when a chart object is selected |
|
Returns the chart object's data points where the user can interact |
|
The shape which displays next to the drawing tool menu item |
|
Determines if the drawing tool chart anchor's will use the chart's Snap Mode mouse coordinates |
|
Determines if the drawing tool can be clicked on by the user |
|
Indicates if the drawing tool is currently attached to a NinjaScript object (such an indicator or a strategy) |
|
Indicates if the drawing tool is currently set as a Global Drawing object |
|
Determines if the drawing tool should be be locked in place |
|
Indicates if the drawing tool was manually drawn by a user |
|
An event driven method which is called any time the underlying bar series have changed for the chart where the drawing tool resides |
|
An event driven method which is called any time the mouse pointer over the chart control has the mouse button pressed |
|
An event driven method which is called any time the mouse pointer is over the chart control and a mouse is moving |
|
An event driven method is called any time the mouse pointer is over the chart control and a mouse button is being released |
|
Indicates if the drawing tool can be used for manually configured alerts through the UI |
|
Determintes the order in which the drawing tool will be rendered |