Version 1.13 has been released. While the 1/stable
alias still points to 1.11, we plan to change it to 1.13 within a month.
Perhaps the most significant improvement in this version is the improved interaction in FacetChart - moving the chart around to zoom in/out should now be much more fluid and without any jumps that could be experienced in previous version.
- All charts
- Added
advanced.pointer.mouseWheelRequiresFocus
setting that prevents charts from capturing mouse wheel events if the chart is not focused.
- Improvements to documentation comments.
-
updateSize()
method now correctly recalculates toolbar size if the container was initially invisible.
-
advanced.highDpi
can now specify constant scaling independent on the browser DPI.
- TypeScript definition file now specifies string literals ("min"|"max") as types for enum fields.
-
PieChart
- Zoom-out button can now be enabled by setting
toolbar.zoomOut = true
.
-
data.sortField
can now be specified as an array to sort by multiple fields.
- Legend is now more likely to show when there is limited space available.
-
NetChart
- No longer fail for nodes without ID, instead automatic ID is assigned and an warning is shown.
- Restored the default behavior of
autoZoomExtent
of 1.11 so that even very large networks are fully shown by default.
-
TimeChart
- Fixed value label positioning if only some stacked series have them enabled.
- Added
series.valueLabels.useStackedValue
setting that enabled stacked series to display the stacked value in the value label instead of just its specific value.
- Improvements to the handling of
minUnitWidth
/maxUnitWidth
in various scenarios.
- Fixed
timeAxis.style.dateLighten
setting which had no effect before.
-
timeAxis.style.dateHolidays
can now specify line style as well as fill color.
- Data limits are now calculated from all active data sources, not just the default.
- Improvements to chart behavior when no data limits are given and
addData()
is used.
-
followAnchor
animation now works correctly during other animations such as zoom-out.
- Added
interaction.scrolling.maxAnimationLength
setting.
- Increased the default value of
interaction.zooming.sensitivity
from 1
to 2
.
- The
credits
image is now aligned at the right edge even if right side vertical axis are used.
-
FacetChart
- Improved user experience while zooming the chart by swiping up or down.
- Fixed value label positioning if only some stacked series have them enabled.
- Added
series.valueLabels.useStackedValue
setting that enabled stacked series to display the stacked value in the value label instead of just its specific value.
- Multiple bugfixes when using
replaceData()
method.
- Interaction during animation no longer leaves the chart in invalid state.
-
data.sortField
can now be specified as an array to sort by multiple fields.
- Improved performance, no longer processing data in every frame.
- Increased the default value of
interaction.zooming.sensitivity
from 1
to 2
.
- Line series with enabled smoothing now are drawn the same on all zoom levels.
- The
credits
image is now aligned at the right edge even if right side vertical axis are used.
-
GeoChart
-
background.params
type updated to include most Leaflet TileLayer options.