Namespace: cq-hu-static

WebComponents. cq-hu-static

The static heads up display web component <cq-hu-static>.

An encapsulation of the markup of a static heads up marker. The static heads up marker does not follow the mouse cursor.

Since:
  • 7.5.0

Example

<cq-hu-static>
	<div>
		<div>Price</div>
		<cq-hu-price></cq-hu-price>
		<div>Open</div>
		<cq-hu-open></cq-hu-open>
		<div>Close</div>
		<cq-hu-close></cq-hu-close>
	</div>
	<div>
		<div>Vol</div>
		<cq-volume-section>
			<cq-hu-volume></cq-hu-volume>
			<cq-volume-rollup></cq-volume-rollup>
		</cq-volume-section>
		<div>High</div>
		<cq-hu-high></cq-hu-high>
		<div>Low</div>
		<cq-hu-low></cq-hu-low>
	</div>
</cq-hu-static>

Methods


setContext(context)

Creates an instance of CIQ.UI.HeadsUp. Subscribes to the headsUp channel which provides messages to start and stop the marker.

Parameters:
Name Type Description
context CIQ.UI.Context

The chart user interface context.

Since:
  • 7.5.0