API Reference

Documentation for versions prior to m-2016-12-01.

API Reference

The ChartIQ API reference documents the namespaces, classes, functions, constants, web components, plug-ins, add-ons, and other programming constructs that constitute the ChartIQ library.

Core API

The fundamental elements of the library.

  • CIQ — Static methods and base namespace.
  • CIQ.ChartEngine — The basic chart class. A ChartEngine object must be created before any chart operations can be performed.
  • CIQ.Renderer — Draws visualizations of time series data.
  • CIQ.Drawing — Base class for drawing tools.
  • CIQ.I18N — Namespace for the internationalization API.
  • CIQ.Marker — DOM object to be managed by a chart. Markers are positoned on the chart by date, tick, or bar.
  • CIQ.Market — Class used by the chart to manage market hours for different exchanges.
  • CIQ.Studies — Namespace for technical indicators/studies applied to market data.
  • quotefeed — Interface that specifies how to implement a chart data feed. See the Data Integration: Considerations and Overview tutorial.


Modules that add powerful capabilities to charts.

Active Trader

Creates an information dashboard with real-time data, informative graphics, and an extensive assortment of tools for fast, in-depth market analysis.

Analyst Views

Provides analytics on tens of thousands of financial instruments.

  • CIQ.AnalystViews — Controller class that assists in the creation and processing of API requests.
  • cq-analystviews — Web component that manages the Analyst Views UI.

Cross Section

Plots cartesian coordinates for data sets of all kinds.

Estimize (formerly Visual Earnings)

Crowdsources earnings estimates and market expectations.


Enables the creation of custom technical indicators (or studies).

Technical Insights

Provides guidance on the directional outlook of stocks over the short or long term.

Time Span Events

Visualizes the relationship of chart data to events that occur over a long period of time.

Trade from Chart

Enables chart users to place trades directly from their charts.

  • CIQ.TFC — Creates and manages the Trade from Chart UI.
  • CIQ.Account — Supports placing, modifying, and canceling trade orders.


Classes that interact with the chart to provide new functionality.


  • CIQ.DataLoader — Simplified loading of static data into the chart.
  • CIQ.ExtendedHours — Displays extended hours data (pre- and post-market sessions).
  • CIQ.FullScreen — Adds a full-screen mode to charts, which enlarges the chart to fill the entire display area.
  • CIQ.InactivityTimer — Puts the chart into sleep mode when there is no user activity, reducing the polling rate of the quote feed.
  • CIQ.RangeSlider — Allows selection of a range of data within the chart data set using an interactive slider.
  • CIQ.Shortcuts — Displays a keyboard shortcuts legend in a movable, resizable window.
  • CIQ.TableView — Displays the chart data in a table overlaid on the chart.
  • CIQ.Tooltip — Adds a floating tooltip as the user mouses over data points on the chart.


  • CIQ.Animation — Makes the chart smoothly transition from one price to the next.
  • CIQ.ContinuousZoom — Automatically changes chart periodicity when zooming beyond preset thresholds.
  • CIQ.Outliers — Scales the y-axis to the main trend of the chart data, hiding outlier values.
  • CIQ.PlotComplementer — Enables a series to complement another series primarily for data forecasting.


Tools for building core charting functionality.

Advanced capabilities

Advanced methods used to modify the functionality of the library kernel.


Custom JavaScript global variables and functions.

  • $$ — Shorthand for getElementById().
  • $$$ — Functional equivalent of querySelector().
  • registerFDC3 — Function that registers the chart with the FDC3 connector.

Web components

User interface elements used in the library sample templates.

  • WebComponents — Namespace for all ChartIQ W3C web components.
  • CIQ.UI — Namespace for UI helper objects designed to be used with the library web components.

Mobile SDKs

API documentation for the implemented native methods for mobile devices.

Server-side modules

Node.js modules that can be included in your JavaScript application.

  • StudyCalculator — Calculates the results of studies applied to market data.