Class: CurveEdit

CIQ.UI. CurveEdit


new CurveEdit( [node], context [, params])

UI Helper to enable term structure curve interaction by means of context menu options.

Parameters:
Name Type Argument Default Description
node HTMLElement <optional>
context.topNode

Automatically attaches to the top node of the context. Not currently used.

context CIQ.UI.Context

The context for the chart.

params Object <optional>
{}

Provides the path to a template used by the launchTimeSeries method to load a time series chart.

Since:
  • 7.4.0

Example

Example DOM

<cq-dialog>
	<cq-curve-context cq-time-series="true">
		<div stxtap="CurveEdit.launchTimeSeries()">Launch Time Series</div>
	</cq-curve-context>
</cq-dialog>

Methods


<static> launchTimeSeries()

Opens a window and loads a time series chart for a selected term structure instrument.

Since:
  • 7.4.0