new HeadsUp(node, context [, params])
UI Helper that keeps the heads up display operating.
Designed to be used as a helper method for the included WebComponents. A full tutorial on how to work with and customize the web components can be found here: Web Component Interface
There are three modes:
- params.followMouse=true - The heads up display will follow the mouse
- params.staticNode=true - The heads up will simply update a DOM node managed by you
- default - The heads up will be a marker within the chart, positioned in the chart panel unless overidden
Parameters:
Name | Type | Argument | Description | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
node |
HTMLElement | The node which should be the template for the heads up. |
||||||||||||||||||||||||||
context |
CIQ.UI.Context | The context |
||||||||||||||||||||||||||
params |
object |
<optional> |
Optional parameters Properties
|
- Since:
-
- 3.0.0
- 6.0.0 Now also has internationalizer support for dates. See CIQ.I18N.setLocale or CIQ.I18N.localize.