-
Notifications
You must be signed in to change notification settings - Fork 36
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:
-
objectis a context to be used asthispointer formethodfunction. Usenullif you don't need the context. -
methodis a function to be called when the event happens -
singleshotis an optional argument. Set it totrueto 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