-
Notifications
You must be signed in to change notification settings - Fork 0
Shape Api
Returns true
if the shape cannot be selected by a user.
-
enable
-true
orfalse
Enables or disables shape selection (see disableSelection
option of createMultipointShape
).
Returns true
if the shape is not saved on the chart.
-
enable
-true
orfalse
Enables or disables saving of the shape in the chart layout (see disableSave
option of createMultipointShape
).
Returns true
if the shape is displayed in the Objects Tree dialog.
-
enabled
-true
orfalse
Enables or disables displaying of the shape in the Objects Tree dialog.
Returns true
if a user can remove/change/hide the shape.
-
enabled
-true
orfalse
Enables or disables removing/changing/hiding of the shape by a user
Places the line tool on top of all other chart objects.
Places the line tool behind all other chart objects.
Gets all the properties of the shape.
-
properties
- an object with new properties. It should have the same structure as an object from getProperties. It can only include the properties that you want to override.
Sets the properties of the shape.
Returns the points of the shape - an array of the PricedPoint objects.
-
points
- an array with the new points for the shape. The format of each shape is the same aspoints
argument from createMultipointShape method.
Set the new points of the shape.
An object with the following keys:
-
price
- price value of the point -
time
- time of the point
- What is Charting Library
- Getting Started
- Data Binding
- Chart Customization
- Customization Overview
- Client-Side Customization
- Server-Side Customization
- Customization Use Cases
- Trading Terminal
- Saving/Loading Charts
- Creating Custom Studies
- Breaking changes in versions