Version 8.2.0

Release date: 2/3/21

See the 8.1.0 to 8.2.0 upgrade notes for information about upgrading to this version.

MOBILE BREAKING CHANGE

The iOS and Android apps have been totally reengineered for improved usability and functionality. As a result, there is no upgrade path from the legacy apps (which are compatible with ChartIQ versions 7.0.5–7.5.0) to the new 8.2.0 apps/SDKs. To take advantage of the major improvements offered by the new mobile apps, upgrade to Version 8.2.0 of the library and reimplement any custom functionality from your legacy apps in the new apps. See the ChartIQ-iOS-SDK and ChartIQ-Android-SDK for more information.

New features

  • Mobile apps — The new iOS and Android mobile apps introduce redesigned native UIs and a comprehensive assortment of new features and enhancements, including:

    • Better UI workflow
    • New chart preferences, such as y-axis inversion and extended hours
    • Language preferences for both the UI and chart
    • New symbol comparison functionality
    • Improved periodicity selector that enables custom intervals
    • Integrated symbol lookup
    • Full-featured drawing tools with all options available
    • Redesigned drawing tools palette with tool sections and favorites
    • New undo/redo capability for drawings
    • Refactored heads-up display
    • Enhanced study edit dialog boxes
    • New clone feature for studies
  • Keyboard accessibility — Users can now tab to all items in the chart toolbar. Items are highlighted to indicate the tabbing focus. The Enter/Return key selects or deselects toggles (such as the crosshairs) and opens drop-down menus. The up and down arrow keys move the focus through menu items. The Enter/Return key selects a highlighted menu item. The Escape key closes an open menu or deselects a highlighted element.

  • Keyboard shortcuts legend — A movable, resizable window displays all chart drawing and navigation keyboard shortcuts.

    Keyboard shortcuts legend.
    Figure. Keyboard shortcuts legend.
    • New CIQ.Shortcuts class displays a legend of keyboard shortcuts and the actions the shortcuts perform.
    • New cq-floating-window web component creates a floating window that users can move, resize, minimize, and even drag outside the chart container element.
    • New WebComponents.cq-floating-window.DocWindow class provides the window implementation of the cq-floating-window web component.
    • New CIQ.ChartEngine~floatingWindowEventListener is called to open a window that can be repositioned by the user.
    • New "floatingWindow" event type is dispatched to invoke floating window event listeners.
  • Toasts — A new cq-message-toaster web component displays pop-up messages, also known as toasts, in response to chart events.

  • Baselines for secondary series and studies — Baseline charts now include user-adjustable baselines for comparison series and studies.

    Baseline chart with comparison series. Figure. Baseline chart with comparison series.

  • Term Structure

    • Heads-up display — Term Structure charts now include a static (stationary) heads-up display associated with the crosshairs.

      Term Structure chart with crosshairs and heads-up display. Figure. Term Structure chart with crosshairs and heads-up display.

      • New CIQ.TermStructure.HUD class creates a heads-up display (HUD) of term structure data for the data point selected by the term structure crosshairs.
    • Relative dates — Historical curves are now relative to the date of the primary curve.

      • New CIQ.TermStructure.calculateRelativeDate function calculates a date relative to a reference date; for example, the date 10 days prior to the current date.
      • New CIQ.TermStructure#recalculateRelativeDates function recalculates any relative dates if necessary; for example, when the main curve date has changed.
      • CIQ.TermStructure#setCurveDate function has added the date.timeUnit and date.multiplier parameters to enable relative dates. The function has also added support for the value "live" when date is a string to enable specification of the current date. The params.noDraw parameter has been added to optionally prevent the chart from being redrawn when the curve date is set.
      • CIQ.TermStructure#addCurve function has added the date.timeUnit and date.multiplier parameters to enable relative dates. Support for the value "live" when date is a string has also been added to enable specification of the current date.
    • Other improvements

      • CIQ.TermStructure#modifyCurve function has added the params.noRecord parameter to optionally prevent recording of the curve modifications to the chart layout, CIQ.ChartEngine#layout.
  • Smart log scale deactivation — Charts now switch automatically from a log scale y-axis to a standard y-axis when values on the axis include zero or negative numbers.

Enhancements

  • Chart tooltip and crosshairs The chart tooltip, or HUD, can now be a dynamic display or floating display, either of which can appear with or without the crosshairs. The crosshairs can now be displayed with or without a static (stationary) information display.

    • New cq-info-toggle-dropdown web component creates a toggle control that includes a drop-down menu of options. The new component typically wraps a cq-toggle component and cq-menu component. The cq-toggle web component creates the user interface toggle control. The cq-menu web component creates a drop-down menu that provides component options.
    • CIQ.Tooltip has added the tooltipParams.showBarHighlight parameter to enable or disable highlighting of the bar (data point) the mouse is hovering over when the floating tooltip is displayed without the crosshairs.
  • Chart loading

    • CIQ.UI.Chart#loadChart function has added the config.onChartReady parameter (a callback function to call when the chart has loaded) and config.initialData parameter (an array of formatted objects which provide the chart data).
    • CIQ.UI.Context#changeSymbol function has added the cb parameter, a callback function to execute once a chart symbol change is complete.
    • WebComponents.cq-lookup#selectItem function has removed the params parameter and added the fn parameter, a function to execute when the callback set by WebComponents.cq-lookup#setCallback finishes.
    • WebComponents.cq-comparison#selectItem function has removed the context parameter. The context is now accessed from the base component class.
    • WebComponents.cq-curve-comparison#selectItem function has removed the context parameter. The context is now accessed from the base component class.
  • Local storage

  • Responsive design

  • Y-Axis

  • FDC3

  • Rendering

  • Mobile

  • Other enhancements

    • New CIQ.Marker.initializeScrollBehavior function initializes the scroll behavior of marker expands.
    • New CIQ.Market#beginningDayOfWeek property establishes the day on which to begin a week: 0 = Sunday, 1 = Monday, ..., 6 = Saturday.
    • CIQ.displayableDate function has added the includeIntraYear parameter, which (when true) includes the year in the intraday dates.
    • CIQ.Studies.DialogHelper constructor function — Attribute property values in the study definition can now be functions.
    • CIQ.I18N.setLanguage function — If the root parameter (the DOM element from which to start translating) is not provided, the chart UI context is checked for its top node before defaulting to document.body.