Highcharts Stock JS v9.1.x

Released: May 4, 2021

v9.1.x 中的更新

v9.1.2

Updated Jun 16, 2021

Features

  • Exposed Point.doDrilldown and Axis.drillDownCategory as official API methods.

Fixes

  • Stock: Indicator popup columns did not have separate scrollbars.
  • Stock: Panning on mobile devices with ordinal axis didn't work correctly.
  • Regression causing charts to crash some browsers where Intl was missing.
  • Boosted rendering sometimes crashed with multiple different chart types.
  • Selection marker showed without mousedown after export.
  • Shared tooltip with stickOnContact enabled did not always update position.
  • Made default pattern-fills more subtle and usable. Changed accessible-pie demo for better pattern handling.

v9.1.1

Updated Jun 4, 2021

Features

  • Added new option for bullet chart, targetOptions.borderRadius.
  • Improved legend accessibility by placing legend buttons in a list.

Fixes

  • Navigator positioned using navigator.xAxis.left flickered when dragging.
  • Error in some cases when destroying elements of the chart and Stock Tools were present.
  • Range selector button text vertical centering did not work well and paddingLeft and paddingRight in buttonTheme were not supported.
  • lastVisiblePrice label color class did not always match the series color class.
  • Fixed the measure annotation's label wasn't correctly rendered inside the annotation.
  • Fixed the axis range property was ignored when there were fewer data points.
  • Stock Tools overflowed the chart container when the class chart was not set on the container.
  • Clipping was wrong after calling setSize in load event with stock loaded.
  • Console warning when loading funnel 3D module, tableValues invalid attribute.
  • Heatmap.borderRadius did not work.
  • Offline exporting charts with HTML content to PNG or JPEG fell back to the export server even in browsers that supported it.
  • Fixed issue with extraneous table caption HTML encoding in the export data module.
  • Tooltip text alignment broke when setting font size.
  • Setting title.verticalAlign to middle did not vertically center the title completely.
  • Scatter line showed on hover after updating lineWidth to 0.
  • Error when calling removePlotBand after destroying Axis.
  • Panning after zooming sometimes broke with pointPlacement set to on or between.
  • Handling of local time with Safari 14.1.
  • Drilldown failed when points were cropped from the start of the series.
  • Tooltip covered interactive elements like the legend, buttons or annotations. Added a CSS class, highcharts-no-tooltip that can be applied to elements to prevent the data tooltip covering them.
  • Heatmap select state color did not work correctly.
  • Heatmap null points missed highcharts-null-point class.
  • Highcharts instance was accessed incorrectly on error.
  • Panning multiple axes did not work.
  • Boosted scatter chart with empty first series rendered ghost points.
  • ScrollablePlotArea regression, tooltip did not show sometimes.
  • Zones with no color set were invisible in boosted chart.
  • Legend items lost disabled state on keyboard navigation.
  • Shadow offset did not get applied on inverted charts.
  • Draggable point guide box was not big enough when the point was not fully inside.
  • Random stack labels with the value 0 showed when zooming in.
  • Inactive state remained on points after exiting chart with keyboard navigation.

v9.1.0

Updated May 4, 2021

Features

  • Added text to axis label context, making it possible to insert the default formatting inside labels.format.
  • Added additional item object context for lang.accessibility.legend.legendItem.
  • Improved Wordcloud keyboard navigation and added support for making the chart container a separate tab-stop.
  • Added error display fallback to the most recently added chart for debugger module.
  • Added new series.dataGrouping.anchor which allows you to control where grouped points are rendered within the group.
  • Added new technical indicators:
    • Disparity Index.
    • Directional Movement Index (DMI).
    • Chande Momentum Oscillator (CMO).
    • On-Balance Volume (OBV).
  • Added currentPriceIndicator and lastPrice for multiple series (also to indicators and volume).
  • Added line series as available type for the RSI Indicator.
  • Added lang options for indicators parameters in Stock Tools popup.
  • Improved currentPriceIndicator button functionality.

Fixes

  • The data grouping smoothed property has been deprecated and has been changed to firstAnchor, anchor and lastAnchor.
  • The default value of linearregression.params.xAxisUnit has been changed from undefined to null.
  • Adding a technical indicator in the Stock Tools when multiple axes were predefined would break the chart.
  • scrollbar.liveRedraw defaulting to true in modern browsers did not work when scrollbar was set in chart options instead of axis options.
  • When ordinal axis and dataGrouping were enabled, panning worked unevenly in one direction.
  • Disabled stock tools GUI buttons when all series were invisible.
  • Replaced the hex, and string colors in the stock tools with the colors defined in the palette.
  • className was not applied to lastPrice crosshair.
  • Split tooltip didn't work correctly with flag series type with empty text property.
  • Dynamically added series did not use range selector data grouping.
  • Data labels in navigator should be disabled in the default configuration.
  • Corrected API and Stock Tools popup list of indicators' params.
  • Clipping was sometimes wrong after update with stock loaded.
  • Dragging annotation after updating label threw and labels.overflow set to justify did not work correctly.
  • Vertical counter annotation did not work.
  • Fibonacci annotation lineColor and lineColors options did not work.
  • Options got mutated when creating stock chart.
  • Indicators did not recalculate when updating series type.
  • Updating flag shape did not work.
  • Point dataGroup start was not calculated correctly.
  • Boosted stacked chart with range selector enabled and a partial range selected threw.
  • Elements such as legend and title sometimes had the wrong position when using stock tools.
  • Console warning when using states in rangeSelector.buttonTheme options.
  • Dynamically added stock axes missed forced options.
  • Fixed dynamically added axis defaults in stock, axes dynamically added to stock charts got different defaults than the ones added through the chart constructor.
  • Range selector text input was too short when inputBoxWidth was not set, especially in Internet Explorer.
  • Clipping was wrong after plot height had been changed by a responsive rule firing during chart load with stock loaded.
  • Some Stock Tools annotations were being drawn incorrectly when yAxis.top was set.
  • Some line drawing tools of the Stock Tools package didn't work correctly.
  • When groupAll was set to true, group start was badly calculated.
  • getTimezoneOffset got called with NaN timestamp when rendering stock chart with at least one empty series.
  • LastPrice color was not applied properly.
  • After changing shortPeriod in MACD, points were missing.
  • CurrentPriceIndicator label was not always visible when navigating the data set.
  • Updating stock chart axes through Chart.update with oneToOne set to true did not work correctly.
  • Parts of the series disappeared when redrawing a regular chart with series.clip set to false and stock loaded.
  • Unable to scroll using mousewheel inside Stock Tools popups when mapNavigation was enabled.
  • GroupAll did not work correctly with OHLC-based series.
  • Navigator leaked event handlers into series and x-axis on Series.update.
  • Fixed issue where it was not possible to enter months starting with 1 into the range selector date input under certain conditions. When typing the extremes now only update on blur and when pressing enter, which is the same behavior the text inputs have.
  • Fixed issue where removing dynamically added y-axes did not work correctly with navigator enabled, causing the removed axis to show in exported charts.
  • Fixed issue where toggling currentPriceIndicator button threw error.