-
Notifications
You must be signed in to change notification settings - Fork 38
Subscription
Nikita Vetrov edited this page Oct 28, 2017
·
2 revisions
Subscription object is returned by Chart Methods. Using this object you can subscribe to a chart event and unsubscribe from it. So it has two methods:
-
object
is a context to be used asthis
pointer formethod
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
to be automatically unsubscribed when the event happens first time.
Use the same object
and method
which you used in subscribe
function to unsubscribe from the event.
#Wiki Content
- What is Charting Library
- Getting Started
- Package Content
- Running Your Charting Library
- Data Binding
- How To Connect My Data
- JS API
- UDF
- Symbology
- Trading Sessions
- Quotes
- Chart Customization
- Charts Customization 101
- Client-Side Customization 1. Widget Constructor 2. Widget Methods 3. Chart Methods 4. Featuresets
- Server-Side Customization
- Trading Platform
- Brief Intro
- Trading Controller
- Saving/Loading Charts
- Creating Custom Studies
- Best Practices
- Breaking changes in versions