-
Notifications
You must be signed in to change notification settings - Fork 0
Subscription
Kai Mun Lee edited this page Nov 20, 2018
·
1 revision
Subscription object is returned by Chart Methods. This object allows you to subscribe and unsubscribe to a chart event. It has two methods:
-
object
is a context to be used asthis
pointer for themethod
function. Usenull
if you don't need the context. -
method
is a function to be called when the event happens. -
singleshot
is an optional argument. Set it totrue
if you wish to be unsubscribed automatically when the event happens for the first time.
Use the same object
and method
that you used in the subscribe
function to unsubscribe from the event.
Use the same object
that you used in subscribe
function to unsubscribe object
from all events.
- 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