Releases: highcharts/highcharts-ios
Releases · highcharts/highcharts-ios
v12.0.2
Version 12.0.2
Framework:
- Refactored the Series class to organize its data in a DataTable instead of parallel arrays. Removed the internal Series properties xData, yData, processedXData and processedYData, as well as some additional series-specific data arrays, in favor of Series.dataTable.
- Added support for data.x values as date strings. These can now be defined for example as '2024-10-03' as a more human readable alternative to timestamps. Also allowed date string in other options referring to x values, like xAxis.min, xAxis.max, series.pointStart, plotLines.value, Gantt series start and end, Axis.setExtremes() etc.
- Refactored all internal time zone handling with functions powered by Intl.DateTimeFormat.
- Added new option, lang.locale, to determine in what language dates are rendered.
- Added support for locale-aware date formatting through the Intl.DateTimeFormat browser API. Changed all default datetime format strings to locale-aware formats.
- Added ucfirst template helper function to allow upper case first in strings.
- Added support for string parameters in template helper functions.
- Added support for textOverflow: 'ellipsis' with texts and labels spanning multiple lines, as well as the lineClamp CSS property. This allows better control over the layout of axis labels and data labels.
- Changed the default chart font-family to better match system fonts and improve legibility.
- Changed the default build system to webpack, allowing for tree shaking in the build process and smaller builds.
- Improved default alignment of title, subtitle and the context menu button. Added new option, title.minScale.
- Added option legendColor to set legend symbol color as distinct from series color, see #21776.
- Added tweening support for 4 and 8 digit hex colors.
- Use Point instances as context for tooltip and data label formatters and formats.
- Added support for individual whisker length for box plots and error bars. See #21648.
- Fixed #22243, compiled files were not available on npm.
Framework upgrade notes:
- When importing Highcharts as a node module, additional modules no longer require initialization. Previously modules would be first imported, then initialized.
- Since v12, the module will not return a factory function, so above code will cause an error. Instead, import it.
- All date and time strings are now by default rendered in the web page's default language as set in the html.lang attribute, or falls back to the browser default. Setting lang.locale to en-GB will restore the labels approximately as they were prior to v12. For exact backwards compatibility, set all the time format options (xAxis.dateTimeLabelFormats, tooltip.dateTimeLabelFormats etc) back to their v11 defaults in addition.
- The time.getTimezoneOffset function callback no longer works. Instead, use the timezone option.
- All time-related options in the global group were removed. Use the time options instead.
- The data handling of the Series class has been rewritten to use the DataTable class directly. As a consequence, the parallel arrays storing the series data are removed, and replaced by Series.getColumn().
Series.xData is replaced by Series.getColumn('x')
Series.yData is replaced by Series.getColumn('y')
Series.processedXData is replaced by Series.getColumn('x', true)
Series.processedYData is replaced by Series.getColumn('y', true) - The "Download PDF" menu item was removed from the default exporting menu, in preparation for a future update where exporting is done on the client side by default. The future update will require PDF download to either run via the export server like before, or to load a third party script. To re-enable the PDF download in the menu, add downloadPDF in the contextButton.menuItems.
- The HighchartModuleLoaded window event is no longer supported as we moved to webpack builds with tree shaking capabilites. Instead, extensions must rely on events and wrapped methods.
- The title.widthAdjust option is removed. Instead, use contextButton.buttonSpacing to make space for non-default context button.
- Titles and subtitles now have adaptive alignment. To revert to the pre-v12 defaults, set title.align and subtitle.align to center, and title.minScale to 1.
- The Point instances are now used as context for tooltip and data label formatters and format strings, instead of an abstract context object. In most cases this will cause no changes as the properties of the context object are now moved to the Point itself, but some changes may occur. Specifically the {point.x} key for points on a category axes will no longer return the category name. Instead, use {category}.
Framework bug fixes:
- Fixed #21793, templating did not correctly parse sub expressions inside nested if conditions.
- Fixed #22188, graphs were clipped at the left side when zooming on a series containing zones, and the x-axis was of type category.
- Fixed #20550, centerInCategory did not work with multiple stacks.
- Changed default exporting.url to a more stable server, dedicated to SVG export only.
- Fixed #22187, word wrap failed for SVG when a word with markup fell at the breaking point.
- Fixed #22100, pie data label was cut off in some cases when rendered at the bottom of the pie. Altered positioning logic by letting labels gravitate towards the sides when there is space available, which also leaves room for the pie to render larger in limited space.
- Fixed #19335, accessibility focus border was incorrectly positioned in some edge cases.
- Fixed #21863, a regression causing the Boost module to fail with treemap series.
- Fixed #21890, scrollablePlotArea was not supporting parallelCoordinates.
- Fixed #21684, tooltip with outside did not receive css themes assigned to container.
- Fixed #21924, custom sizes in marker states did not work.
- Fixed #21098, corrections for ie11 compatibility fix.
- Fixed #21136, pointer events were called on points outside of plot area with scrollablePlotArea enabled.
- Fixed #21267, a regression causing elements to disappear when zooming on an X-range chart.
- Fixed #21804, columns were crisped to full pixel width even when the crisp option was explicitly false.
- Fixed #16931, errors in Chrome when modifying chart before printing the page.
- Fixed #21745, click event was fired on drag for multiple charts.
- Fixed #21530, tick values were padded onto user-defined category axes.
- Fixed #18461, changes to options3d alpha and beta were not applied to pie body.
- Fixed #21534, mouseover point event broke drilldown.
- Fixed #20470, allow values from nested properties in exported data.
- Fixed #22124, numeric font-size for labels didn't work as announced.
- Fixed #22258, v12 modules didn't work with highstock, highmaps and highcharts-gantt NPM bundles.
- Fixed #22052, drilldown breadcrumb showed the wrong label when scrollbar was enabled.
- Fixed #22088, tooltip could spill over at certain widths.
- Fixed #21897, missing points in scatter series with boost.
- Fixed #22169, only the first zone got shadow when shadow was true.
v11.4.8
Version 11.4.8
Framework bug fixes:
- Fixed #21165, series didn't render properly when the chart height was very large.
- Fixed #21106, series clipped on boost disabled and increased the chart size.
- Fixed #21734, minor ticks were wrongly distributed with multiple axes or when tickAmount was set.
- Fixed #21521, plot band labels and plot line labels would overlap if positioned too close. Added inside and allowOverlap options to the Axis.plotBands.label options.
- Fixed #20499, data labels failed to apply width in styled mode.
- Fixed #21205, offline PDF exporting was broken by attempted erroneous child node removal when the chart contained text paths.
- Fixed #21241, accessibility could not be dynamically enabled or disabled.
- Fixed #21188 and #21510, hidden divs with special CSS styles increased chart height by firing ResizeObserver.
- Fixed #21650, the data module was not successfully updating the x-axis in some cases.
- Fixed #21255, tooltip with outside rendered outside viewport, making document.documentElement expand.
- Fixed #21605, legend text was not vertically aligned with the symbol.
v11.4.7
Version 11.4.7
Framework bug fixes:
- Fixed #21554, tab navigation was trapped in a loop after printing the chart.
- Fixed #20456, boosted heatmaps were not rendering in some cases.
- Fixed #21501, #21547 and #21569, various tooltip and interaction issues caused by a temporary pointerEvents fix for older Chromium.
- Fixed #21277, version and other metadata was not being replaced after building esm-modules.
- Fixed #21429, the rounded solid gauge series was misaligned when close to 100%.
- Fixed #21281, hovering line with split tooltip, then scatter, caused tooltip animation to start in top-left.
- Fixed #17854 , fillOpacity was too strong in boosted series.
- Fixed #9748, the mouseup event was not respected after setting the event.
- Fixed #21315 inverted bubble point halos were not positioned correctly.
v11.4.6
Version 11.4.6
Framework bug fixes:
- Fixed #21470, bad require tagging causing bad module references.
v11.4.5
Version 11.4.5
iOS:
- Fixed HITooltip block comment warning, #439
- Fixed typo in changelog
- Made WebView inspectable
- Fixed Sankey plugin issue, #442
- Add JSON object validation before serialization, #248
Framework bug fixes:
- Fixed #21446, a regression causing broken imports of modules due to bad relative paths.
- Fixed #21445, generated TypeScript declarations for deprecated option series.events.legendItemClick.
v11.4.3
Version 11.4.3
iOS:
- Remove graphics folder from the framework, #438
Framework:
- Fixed #21109, tooltip animation was not smooth. Added the option to set tooltip.animation as an animation object, not just a boolean as previously.
- Added new options pane.background.borderRadius, and plotBands.borderRadius for gauges.
Framework bug fixes:
- Fixed #20451, legend.symbolWidth and legend.symbolHeight didn't change color axis dimensions if colorAxis.width or colorAxis.height were not set.
- Fixed #20876, redraw and drillupall events were called too many times during chart drill up.
- Fixed #5334, pixel alignment issues between grid lines, column series, error bars and scatter points.
- Fixed #20585, gap in the border at the bottom of bubbles at some sizes.
- Fixed #20729, pressing "enter" on a tabbed point resulted in different event than clicking it with a mouse.
- Fixed chart height docs, updated 500px-sample title, and added new demo showing height inherited from container.
- Fixed #18776, the series colors were not found when boosting multiple series in a single canvas in styled mode.
- Fixed #21125, a regression causing wrong positioning of bubbles in an inverted bubble chart.
- Fixed #20564, minus sign was displayed for the number zero if it was rounded from a negative value.
- Fixed #20816, time zone wasn't respected in Templating in format strings.
- Fixed #20804, setOptions didn't change radial axis defaults.
- Fixed #20146, dragging didn't work for the errorbar series.
- Fixed #20988, exporting chart, then dragging an annotation and exporting again used to cause wrong annotation position in the subsequently exported charts.
- Improved the default padding of axis labels, and fixed their collision calculations.
- Fixed #20998, data labels overflowed the plot area when the axis position was different from default.
- Fixed #20405, a regression in network graph. When dragging a node, others didn't follow.
- Fixed #20560, destroyed points in the area range series were wrongly used during mouse hover.
- Fixed #20656, series with manipulated points were missing a11y description on initial load.
- Fixed #20965, unwanted animation of right-aligned label when only the text changed.
- Fixed #20784, a regression in v11.4.0 causing wrong min and max extremes for the selection event in column charts.
- Fixed #20710, bubble legend with color-axis moved after redraw.
- Fixed #20792, plot lines' HTML labels rendered incorrectly.
- Fixed #18980, the highcharts.d.ts type definition file was too large and caused issues in editors. Moved majority of series options into separate definition files.
- Fixed #20871, a regression with resetting zoom across synchronized charts.
- Fixed #20586, plot line CSS classes were not concatenated with spaces, causing the className option to fail.
- Fixed #20548, chart not resizing after closing fullscreen.
v11.4.1.1
Version 11.4.1.1
iOS:
- Update Privacy Manifest File
v11.4.1
Version 11.4.1
iOS:
- Fixed Privacy Manifest File, #434
Framework bug fixes:
- Fixed #20784, a regression in v11.4.0 causing wrong min and max extremes for the selection event in column charts.
- Fixed #20710, bubble legend with color-axis moved after redraw.
- Fixed #20792, plot lines' HTML labels rendered incorrectly.
- Fixed #18980, the
highcharts.d.ts
type definition file was too large and caused issues in editors. Moved majority of series options into separate definition files. - Fixed #20871, a regression with resetting zoom across synchronized charts.
- Fixed #20586, plot line CSS classes were not concatenated with spaces, causing the
className
option to fail. - Fixed #20548, chart not resizing after closing fullscreen.
v11.4.0
Version 11.4.0
iOS:
Framework:
- Added new option
sankey.nodeDistance
and the possibility of settingsankey.nodeWidth
toauto
. The same option pair is also supported by organization chart and treegraph series. - Enhanced the pinch zoom behavior to redraw the axes and series continuously. Previously it created a preview by scaling the graphs, then did a full review at the end. Also a deeper refactor and unification of the whole zoom, pan and mousewheel logic.
- Added new option
organization.hangingSide
which allows nodes to hang from the right side in inverted organization charts. See #17240.
Framework bug fixes:
- Fixed #20334, chart width exceeded container width on Windows when the chart itself caused page scrollbars.
- Fixed #20572, destroying a chart after point hover sometimes produced an error.
- Fixed #15921 by applying
fillColor
to series fromhighContrastTheme.colors
if set. - Fixed #20166, ticks and gridlines were visible outside the axis in some corner cases.
- Fixed code scan issues 56, incomplete string escaping or encoding in SVGRenderer, and 72, incomplete multi-character sanitization in SVGRenderer.
- Fixed code scan issue 73, incomplete multi-character sanitization in SVGElement node title.
- Fixed code scan issue 90, permissive regex in
mapcharts.js
. - Fixed code scan issue 111, potential prototype pollution in
Utilities.ts
. - Fixed code scan issue 112, potential prototype pollution in
NavigationBinding.ts
. - Fixed #20329, detached elements and events in the Accessibility module produced a memory leak.
- Fixed #20394,
series.color
only initially impacted the color of x-range points. - Fixed #20435, point events update didn't work.
- Fixed #20516,
this
was not bound to plot line or plot band object in event callbacks. - Fixed #20429, toggling bellcurve visibility threw error.
- Fixed #20440 and #20569, multiple series zones broke graph.
- Fixed regression since v11.3, column range series had area-style legend marker.
- Fixed #20433, boosted scatter chart did not work without axis min/max-options.
- Fixed #20307 and #20301, alignment and overlap detection for rotated data labels didn't work correctly.
- Fixed #19730, centerInCategory on inverted column chart had incorrect series order.
- Fixed #20264, the packed bubble series was not rendered correctly in an inverted chart.
v11.3.0
Version 11.3.0
iOS:
- Added methods for updating the chart options with JSON to
HIChartView
, #429
Framework:
- Implemented native handling of the
time.timezone
option, making the dependency on moment.js redundant. - Added new options
colorAxis.width
andcolorAxis.height
, allowing absolute or relative size. See #17870. - Added new option
chart.axisLayoutRuns
. It allows opting in for more predictable axis tick and label layout, at the cost of performance. See #19794. - Added new default
legendSymbol
for area series and its derivatives.
Framework upgrade notes:
- The
exporting.formAttributes
no longer works because the internalpost
function was replaced by thefetch
API. TheformAttributes
option can for some purposes be replaced withexporting.fetchOptions
. Seethe fetch article on MDN
for more information about possible options.
Framework bug fixes:
- Fixed #19169, the
focusBorder
was not removed fromSVGElement
after the element had been unfocused. - Fixed #20319, funnel point path not rendered properly when the point's top coordinates were within top boundaries of the funnel neck.
- Fixed #20291, y-axis crosshair was missing for 3d column.
- Fixed #20340, histogram bins
x2
value was wrongly calculated. - Fixed #20191, exporting a chart using the export module caused
beforeunload
event to fire. - Fixed #20142, pie selected point was semi-transparent on legend hover in styled mode.
- Fixed #18744, a point covered by an area series should be fully clickable if the tooltip shows.
- Fixed #20129, the lack of root and window in the NX environment was causing an error on load.
- Fixed #20097, script errors and invisible series in error bar with certain extremes.
- Fixed #19857, short x-axis labels disappeared in some edge cases when
labels.autoRotation
was set. - Fixed #18804, zooming in below
boostThreshold
didn't disable boost on scatter series. - Fixed #20120, data labels in packed bubble series were misaligned after updating the series position.
- Fixed #16920, formalized and fixed the
data.columnTypes
option. - Fixed #17545, misplaced funnel and pyramid data labels after legend item click when
dataLabels.inside
set to false. - Fixed #19497, some points disappeared when changing extremes of the category axes in boost.
- Fixed #20098, multiple data labels were not rendered when enabled in
plotOptions
. - Fixed #19895, removing a series while rendering in boost mode could cause a TypeError.
- Fixed #20002, stroke wasn't applied to annotations during offline PDF export.
- Fixed #19976, columns threw off center when using mouse wheel zoom.
- Fixed #19621, errors instead of expected behavior when using arrow-keys to navigate first and last items in legend.
- Fixed #19130,
negativeColor
was applied to positive graphs for the part of the line that extended below the threshold. - Fixed #19604, ticks were sometimes differently calculated after a series update.
- Fixed #20007, contrast color setting for data labels did not respect their background colors.
- Fixed #19946, nodes in the organization chart weren’t centered while using node width or height options.
- Fixed #19917, setting options in a series without
series.data
would add default aria-label.