API Reference
Namespaces
Classes
Events
Global
Externals

Class: TimeSpanEvent

CIQ.UI. TimeSpanEvent


new TimeSpanEvent(context, params)

UI helper for managing the time span event options for showing markers on the chart.

Parameters:
Name Type Description
context CIQ.UI.Context

The context.

params Object

Initialization parameters.

Properties
Name Type Argument Default Description
menuItemSelector string

The selector used to identify menu items for selecting markers.

activeClassName string <optional>
"ciq-active"

The class name to be added to a node when a layout item is enabled.

loadSample boolean <optional>

Determines whether to use the time span events sample data.

Since:
  • 7.2.0

Methods


showMarkers(node, type)

Shows or hides the time span event markers.

Parameters:
Name Type Description
node HTMLElement

The HTML element clicked.

type string

The type of time span event to show or hide.

Since:
  • 7.2.0