new Driver(stx, quoteFeed [, behavior] [, filter])
Drives the chart's relationship with the quote feed object provided to the chart.
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
stx |
CIQ.ChartEngine | A chart engine instance. |
|
quoteFeed |
object | A quote feed object. |
|
behavior |
object |
<optional> |
See CIQ.ChartEngine#attachQuoteFeed for object details. |
filter |
function |
<optional> |
See CIQ.ChartEngine#attachQuoteFeed for function details. |
- Since:
-
- 5.1.1 Added
maximumTicks
tobehavior
parameter. - 7.3.0 Moved
intervalTimer
property intobehavior
parameter. Addedfilter
parameter. - 8.5.0 Moved
intervalTimer
property into quoteFeed.
- 5.1.1 Added
Properties:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
behavior.loadingNewChart |
boolean |
<optional> |
false | READ ONLY boolean telling when a chart is loading |
behavior.updatingChart |
boolean |
<optional> |
false | READ ONLY boolean telling when a chart is updating |
Classes
Methods
-
pause(symbol)
-
Pauses updates from the quoteDriver without killing or disattaching it. Takes a symbol that is stored to know when it can be resumed.
Parameters:
Name Type Description symbol
string symbol to pause on
- Since:
-
8.4.0
-
resume()
-
Called by CIQ.ChartEngine#loadChart to resume updating when the symbol changes.
- Since:
-
8.4.0