ZoomCharts javascript library. Copyright 2014-2024, SIA Data Visualization Software Lab. All rights reserved. http://zoomcharts.com Version 1.21.0 ====== Changelog =========================== Version 1.21.0 (2024-11-08) All Charts: * Fix click event failing to fire on touch devices after rapidly clicking multiple different things * Fix the position of scaled tooltips when overlapping the screen edge NetChart: * Change legend to use unzoomed node size. TimeChart/FacetChart: * Add index parameter to value label contentsFunction * Allow subpixel precision for zero line rendering * Fix title rendering in horizontal mode * Fix vavlue label rendering with based stacks at exactly the same value * Fix value axis zero line disappearing in horizontal mode * Fix incorrect click and drag behavior before first interaction * Fix legend marker colors when gradient is used -------------------------------------------- Version 1.20.4 (2024-09-30) All Charts: * Add "I" license mode * Fix entity decode in strict mode giving warnings with unescaped ampersands * Fix right click in Safari 17+ * Fix CSV export with multiple escaped quotes * Fix reset button icon alignment * Update SheetJS PieChart: * Fix chart size when startAngle or endAngle are reduced via a settings update GeoChart: * Update leaflet.js * Add pointer events NetChart: * Label scaling by font size * Allow chart panning while using lasso tool * Add option to keep existing selection when drag selection is used * Add option to have a delay before showing the info popup * Fix auto zoom not applying on startup in certain cases * Fix zoom control movements not accounting for CSS transform on the toolbar TimeChart/FacetChart: * Add series parameter to value label contentsFunction * Add useApproximateFontReduction setting for better performance with expensive value label contentsFunctions * Add allowOverlappingLabelStacking setting * Add alignToChartWhenHorizontal toolbar setting * Hovering the value label now counts as hovering the corresponding series * Fix drawing of rounded columns with negative height * Fix value label overlap being erroneously allowed in some cases TimeChart: * Add flexibleAllDataUnit toolbar setting -------------------------------------------- Version 1.20.3 (2024-01-31) All Charts: * Add new "inline" legend mode * Add "shouldFill" legend panel option for using space beyond the chart * Add legend pages in "inline" legend mode * Add onLongPress event * Change all icons to use SVG images instead of PNG * CSS styling added to toolbar items is preserved when settings are updated * Fix tooltip positioning when tooltip is scaled TimeChart/FacetChart: * Add valueLabel.allowLabelSkip setting to allow skipping labels when space is limited * Add snapScale and snapOffset settings for value axis to control where values snap to * Add offset setting for forced top and bottom values * Fix rare performance issue with value axis labels * Fix legend vanishing bug in odd cases with multiple value axes and thresholds enabled * Fix potential performance spike when invalid data counts are provided. * Fix value labels not drawing if a series is empty * Fix skip noDataPolicy not stacking correctly in some cases * Fix zero noDataPolicy not stacking correctly in some cases * Fix legend alignment settings behavior in horizontal mode TimeChart: * Add option to combine same selection labels * Update moment.js to 2.29.4 * Fix chart update origin when using scroll buttons * Fix clicking on time axis sending extraneous onSelectionChange event * Fix clicking on value axis not deselecting if a selection is off screen * Fix targetTime in onSelectionChange events * Fix console error upon clicking on empty period * Fix drilldown from months to weeks having the wrong time range * Fix data chart update sometime having api origin in rare cases FacetChart: * Add 'maxSize' config option for facetAxis * Add 'forceNoWrap' config option for facetAxis labels * Add label wrapping for rotated facetAxis labels * Fix facetAxis sizing on load * Fix first back button state NetChart: * Add option to customize node/link class list delimiter * Add categoryHierarchy layout mode for creating hierarchies while grouping certain nodes together * Add centerNodes option for hierarchy mode * Add shouldKeepGraphOnScreen option to allow zooming on areas outside the chart * Fix default font color for node tooltip in dark mode * Fix lasso area highlighting on touch devices * Fix node class handling when nodes and their class are removed. PieChart: * Add Pie Markers * Add setting to disable either name or percentage in pie label * Pie fits canvas area when only a partial circle is drawn -------------------------------------------- Version 1.20.2 (2023-01-02) All Charts: * Add setting for custom file names on chart export * Add API parameter for specifying file name for chart export TimeChart/FacetChart: * Add auto label spacing mode * Fix toolbar compacting when toolbar is recreated * Fix navigation arrow placement * Fix navigation arrow flicker * Fix tooltip colors not matching series colors * Fix legend disappearing * Fix tooltip console errors * Fix tooltip hover selection in based stacks TimeChart: * Add label alignment setting * Fix TimeChart minWidth calculation * Fix Timechart crashes on interaction with the legend FacetChart: * Fix FacetChart selection removal on chart update * Fix horizontal legend height wrapping * Fix inconsistent view when setPie API is used without a specified count * Add shift+click selection * Add API option for specifying origin of zoomOut and expandSlice calls NetChart: * Update hierarchy layout on style change * Start curved links at the edge of nodes PieChart: * Fix pie chart legend click on touch device * Add shift+click selection -------------------------------------------- Version 1.20.1 (2022-07-19) All Charts: * Add setting for custom additional rendering on chart export * Change long press triggering right click to only work on mobile * Update to newer SheetJS * Fix case where toolbar could select non-existent elements after export TimeChart/FacetChart: * Add threshold value function * Add settings for how long legend text should be displayed * Add scroll button size animation on hover * Add line gradient support * Add tooltip item color settings * Add gradients & styleFunctions for non-column modes * Add gradient styling for markers * Add conditional tooltip name shadow * Fix cases of legend flickering * Fix cases of legend orientation being detected incorrectly * Fix cases of legend size being incorrect on chart load * Fix cases of bad value label placement * Fix scroll button arrow highlighting * Fix cases of line markers not showing * Fix column size accounting for off screen data FacetChart: * Add 'getItemAt' API * Change cursor to only become a pointer if the hovered item can be expanded * Fix logo hitbox in horizontal mode TimeChart: * Add custom data aggregation function support * Add matchDisplayUnit mode which tries to keep display units aligned on zoom out * Add scroll buttons * Add option to configure which day of the week is considered the start of the week * Add items styleFunction * Add setting for allowing unit multiples when useSmallerUnitCache is false * Update to newer moment.js * Fix animated zoom out using the current display unit instead of the unit the animation started with * Fix display unit handling when view contains a single column * Fix display unit calculation ignoring unit rounding NetChart: * Add curved link support * Add orthogonal link support * Add link item alignment settings * Add link item width settings * Add item scale settings * Add swimlane layout * Add setting to control whether a two-finger zoom takes precedence over an existing node drag * Change default for alwaysZeroMode setting to false * Fix zoom slider jerking on visual resize GeoChart: * Change map server from CartoDB to OpenStreetMap * Fix leaflet interactions in Chrome * Fix out of bounds nodes sometimes being detected as hovered PieChart: * Add hover effect on slices with gradients * Fix back button color in dark mode -------------------------------------------- Version 1.20.0 (2021-08-13) All Charts: * Add render fail event * Add strictEscaping setting * Fix chart growing infinitely if assigned a non-empty container element * Fix label resize performance TimeChart/FacetChart: * Add Legend Grouping * Add option to hide value axis when no data is present * Add scrollbar for dropdown menu when "limitDropdownHeight" setting is enabled * Add alwaysZero no data mode * Fix forced top/bottom values with no axis data * Fix zero line center when all values are zero * Fix default Y-axis maximum for percentage values * Fix forced min/max values overlapping the zero line * Fix zero line potentially drawing in chart margins * Fix tooltip not matching selection on mobile * Fix degenerate lines appearing in stepped line mode * Fix missing value label FacetChart: * Fix horizontal charts disappearing on zoom out * Fix horizontal toolbar sizing with certain chart sizes * Fix horizontal toolbar menu being off screen with certain chart types * Fix horizontal chart border TimeChart: * Add Flexible All Data setting * Add settings for click to zoom * Add semiauto display unit setting * Add zoom out selection settings * Add setting to show info popup at data point * Change default time rounding to nearest time * Prevent setting invalid display period/unit combo * Fix edge case where negative series appeared on positive axis * Fix display unit dropdown showing "All Data" incorrectly in some cases * Fix getting 'stuck' on small display units in some cases * Fix time range rounding in different time zones * Fix dropdown sync with equal display units * Fix zoom in on click when column takes entire canvas width * Fix current time marker vanishing on refresh * Fix display unit console error when chart is hidden * Fix secondary Y axis sometimes breaking the x axis * Fix unit changing on right click when column takes entire canvas width * Fix no unit found error when scene is zero width NetChart: * Add setting for handling image load errors GeoChart: * Add Lasso Tool * Add option to centralize aggregated nodes * Fix node order changing on hover * Fix selected shapes hiding behind non-selected shapes PieChart: * Add PieChart popup API -------------------------------------------- Version 1.18.13 (2020-10-14) All Charts: * Add support for double click on iOS * Fix double click with double click timeout set to null * Fix location of unlicensed logo. * Fix font cropping with certain label size and font size combinations TimeChart/FacetChart: * Add options for how to render single point "degenerate" lines * Add option for a unit name in the info popup * Add 'invisible' option for invisible series * Add option to auto-scale label spacing with font size * Add setting to only show min/max of value axis * More consistent stacking behavior with null data * Skip redundant value axis labels * Fix hit test in case of equal items * Fix series ordering in toolbar and legend * Fixed text alignment in the toolbar * Fix legend area on mobile devices * Fix vanishing value axis label * Fix value axis range when all data is equal * Fix edge case with line area stacking * Fix zero line position with extreme display units * Fix value axis labels being left aligned instead of right aligned * Fix crash with specific choice of font and font size FacetChart: * Add min unit width setting for facet axis * Smarter label hiding in FacetAxis * Fix facet axis label height in CSS scaled reports * Fix unit height settings in horizontal mode * Fix axis width settings in horizontal mode * Fix edge case crash on refresh * Fix tooltip hiding when panning TimeChart: * Add API function to get user selected display period selected from toolbar * Add threshold data aggregation mode * Add percentile data aggregation mode * Add median data aggregation mode * Add option to clear selection on display unit change * Add setting for max unit width for time axis * Add warning if no display units are available * Fix toolbar flickering on some recalculations NetChart: * Add "hollow arrow" line decoration * Add "open arrow" line decoration * Add directional expansion in focus node mode * Add options to control sorting on expand in hierarchy layout with focus node navigation mode * Add API to freeze the layout * Hierarchy mode takes into account user-moved nodes * Performance improvement to expanding nodes in focus node mode * Fix zoom control position when legend is enabled * Fix control positions in CSS scaled viewports * Fix node switching in radial layout GeoChart: * Fix mouse offset when used in a container scaled by CSS. * Fix error about unimplemented toolbar PieChart: * Add custom label append function -------------------------------------------- Version 1.18.12 (2020-03-10) All Charts: * Fix legend wrapping on resize * Fix css-transformed elements in non-webkit mobile browsers * Fix occasional dark menu elements in light theme * Fix Excel export NetChart: * Smooth hierarchy add animation * Hierarchy animation focuses on last clicked node -------------------------------------------- Version 1.18.11 (2020-03-02) All Charts: * Fix menu positioning * Fix ellipsis and non-breaking space rendering on non-unicode pages * Fix inaccurate font size calculations TimeChart/FacetChart: * Add option for "sticky" toolbar that stays visible when scrolling * Allow tooltips in custom HTML containers * Allow non-integer data counts * Fix legend position in horizontal mode * Fix legend interaction in horizontal mode * Fix value axis title angle in horizontal mode * Fix x axis label offset in horizontal mode * Fix value axis floating away on visual resize in horizontal mode * Fix render order for columns * Fix column label placement with negative values * Fix threshold aggregated values with null or undefined data * Fix hit test in charts in column mode with exactly 1 column * Fix default value axis display units * Fix dark mode not applying to highlighted menu items in some cases FacetChart: * Fix hovering on mobile TimeChart: * Add API function to set display unit and display period in a single call * Change default display unit for markers at day scale * Fix rounding error in display units NetChart: * Add diamond and rhombus shapes * Add option to sort nodes in hierarchy layout * Add option for tooltip positioning relative to node * Add option for initial focus node expansion radius * Radial layout sends "onPositionChange" event when nodes are moved * Reduce default legend padding when on the left or right * Fix link menu updates when link is modified * Fix missing corner when outlining square and rhombus shapes * Fix layout resetting with a different RNG seed * Fix link items being rendered underneath nodes * Fix auras with different legend positioning -------------------------------------------- Version 1.18.10 (2019-11-06) All Charts: * Added callbacks for when chart rendering begins or ends PieChart: * Added support for rounded pie chart TimeChart/FacetChart: * Added optional horizontal mode * Added API to return data from a hovered column * Added setting to allow overlap in value labels * Separated showInLegend and showInPopUpInfo settings * Fixed value label flickering in very specific cases * Fixed hover returns for column renderer * Fixed highlight offset * Fixed display order of threshold lines compared to value labels TimeChart: * Added option to configure amount of padding for time axis labels * Added API to set time range without changing selection FacetChart: * Added option to automatically resize category axis to fit label size Netchart: * Added option to highlight all nodes by legend * Fixed onPositionChange event in radial layout -------------------------------------------- Version 1.18.9 (2019-07-04) All Charts: * Various minor updates * Fixed selflink rendering issue at specific case * Fixed regression where new dashed line shape killed the decorations * Added support for doubleClickZoom feature * New version of hiding toolbar items when there is not enough space * Fixed legend rendering if item is present * Fixed hover event dispatching in facet chart * Fixed issue where empty series can cause exception in TC with value labels * Improved label hiding algorithm * Added support for css transformation detection in chrome * Added radial gradient support for circle and rectangle shapes in netchart * Added line gradient support for linearcharts * Added grid positioning setting to timechart * Added label rendering support to thresholds * NetChart AutoZoom fix * Fixed bar-active color in dark mode * Removed error on missing class name * Reverted regression in toolbar style * Fixed piechart inner gradient issue * Fixed PieValues error * Fix TimeChart selected period display * Added cluster performance test * Fixed transparency with overlapping columns * Fixed column spacing issue * Fixed handling cFillHeight for negative columns * Altered overlappingStacks example * Fixed timechart log scale updates * Only fill stack for based rendering * Fix transparency with based columns * Fixed TimeSeries data aggregation issue * New settings for whisker support * Zero value axis alignment * ValueAxis improved align zero * Fixed min transparency for info popup * More precise zero selection in valueaxis alignZero * Added dynamic threshold support in FacetChart * Added Option to remove zero values from info popup * Fixed extreme percentiles in threshold labels * Added connector lines for column renderer * Added first and last option for Dynamic Thresholds * Added cluster padding settings * Fixed an issue with incorrect integer rounding used in timechart -------------------------------------------- Version 1.18.8 (2018-08-10) All Charts: * Fixed regression of 1.18.6 with "bold" font fix -------------------------------------------- Version 1.18.7 (2018-08-03) All Charts: * Temporary solution for a regression from 1.18.6 -------------------------------------------- Version 1.18.6 (2018-08-03) All Charts: * Fixed bug with "bold" font support in Safari TimeChart, FacetChart: * Added border radius for columns. PieChart: * Added radial gradient support for PieChart slices NetChart: * Fixed bug with clickEvent on legend -------------------------------------------- Version 1.18.5 (2018-07-10) All Charts: * Added `minHeight` setting for legend. * Added `clickCredits` and `credits` in base event, so custom code can be executed upon a click on credits. NetChart: * Added `lineDashShape` property for `link.style`. Available shapes: `triangle`, `diamond`, `hexagon` default being `rectangle`. * Added `lineDashBackgroundFillColor` for `link.style` property. -------------------------------------------- Version 1.18.4 (2018-04-20) * Internal fixes, improvements. -------------------------------------------- Version 1.18.3 (2018-04-20) * Fixed `scaleAdjustmentTolerance` property for `valueAxis` - when maximum or minimum value was fixed 100, then chart padding broke. Now proportional stack type automatically adjusts chart padding as needed. * Internal fixes, improvements. -------------------------------------------- Version 1.18.2 (2018-02-20) * Fixed `lineDash` property - when explicitly setting line to be from dashed back to solid broke chart. * Documentation improvements. * Additional internal and Performance improvements for all charts. GeoChart * Fixed background.params.* - unable to set new values. FacetChart * GetSeries API method added allowing to get all series, even those that are not enabled. TimeChart * GetSeries API method added allowing to get all series, even those that are not enabled. -------------------------------------------- Version 1.18.1 (2017-12-08) * Some events (e.g. onPointerUp, onPointerDown, onDrag) are currently only available to NetChart so mentioned properties are now removed from other chart families. NetChart * Fixed hover/click area detection bug when using a long link label. FacetChart * Fixed issue with rapid 'back' and 'zoomOut' button clicking causing chart to break. -------------------------------------------- Version 1.18.0 (2017-10-05) * Fixed bug when ZoomCharts logos were showing under child charts instead of parent. * Changed ZoomChart logos. * Fixed leggend toggler - there was a bug when re-enabling legend, it's content disappeared. * Added advanced title property 'addAfterToolbar' - additional positioning for title. FacetChart * Added valueFormat for valueAxis - gives possibility to define value format for both valueAxis and value inside popup. * Added percentage (%) support for valueFormat. * Added currency support for valueFormat. * Added gradient color support for columns, also with options to define custom color stop-points. * Added 'fillGradientType' property, supporting 'cylinder' value. * Added 'fillGradientMode' property supporting 'horizontal' and 'vertical' properties. * Added option to turn on animation on initial loading with various customization parameters. * Fixed pointer events not working on popup HTML elements. Now by default pointer events are allowed for ,