- Since:
-
9.4.0
Type Definitions
-
EventMarkersConfig
-
Turns on the display of event markers on the chart. Note that events need to come from an external source, either a data file or a feed.
Type:
- Since:
-
9.4.0
Properties:
Name Type Argument Description backgroundColorstring <optional>
Event marker background color (when expanded).
colorMapRecord.<string, (string|undefined)> <optional>
Event marker color by marker key type (usually symbol).
-
EventParameters
-
Parameters passed to CompactChart#addEvents function.
Type:
- object
- Since:
-
9.4.0
Properties:
Name Type Argument Description dataArray.<EventRecord> <optional>
Static data to be added, in proper market data format.
tryQuoteFeedboolean <optional>
If false, bypass any attempt at supplementing data from quotefeed.
typestring <optional>
Type of event.
yPositionerYPositioner <optional>
Where to place the event marker.
includeSourceboolean <optional>
True to include the event data source.
sizestring <optional>
Marker size.
colorstring <optional>
Marker color.
-
EventRecord
-
Defines an object representing the event details at a specific time.
Type:
- object
- Since:
-
9.4.0
Properties:
Name Type Argument Description DTDate | string Date of record as JS Date or ISO string.
dataobject <nullable>
Details of record.
idstring Event id.
categorystring Category of event to which this record belongs.
headlinestring Event headline.
storystring <optional>
Event body. This would be the description of the event.
urlstring <optional>
URL to embed in event body, to link to a story on another page.
sourcestring <optional>
Source of data.
