Releases: plotly/plotly.js
Releases · plotly/plotly.js
v1.28.1
v1.28.0
Added
- Allow constraints by domain on cartesian axes using new axis attributes:
constrain: 'domain'andconstraintoward[#1767] - Add gl3d annotations [#1638, #1786]
- Add support for lasso and select
dragmodeonscattergltraces [#1657] - Add 48 new
scatterglmarker symbols (for total of 56) [#1781] - Add array support for
hoverinfo[#1761] - Add animation support for
fillcolorattribute [#1722] - Add
colorscaleattributes tomesh3dtraces [#1719] - Add support for target and popup attributes pseudo-html text links [#1726]
- Add per-
directionupdatemenu dropdown arrows [#1792] - Add
executeattribute to sliders and updatemenus to skip method calls while
still triggering associated events [#1700] - Add
skipvalue to themethodattribute for sliders and updatemenus which
acts as a no-op [#1699]
Changed
- Include values of all array attributes in hover/click/select event data
includingidsandcustomdata[#1770] - Make gl2d axis tick labels on-par with SVG versions [#1766]
- Build SVG text nodes directly instead of using
DOMParser[#1783] - Rework transform style into array syntax [#1794]
- Recompute hover on click to increase click robustness [#1646]
- Miscellaneous performance improvements including improved bounding box caching
and adding a few short-circuit [#1772, #1792]
Fixed
- Fix pan/zoom for layout component linked to
categoryaxes [#1748, #1791] - Fix non-
lineargl3d axis range settings [#1730] - Fix
ohlcandcandlestickwhen open value equals close value [#1655] - Fix annotations positioning when MathJax symbols are present [#1788]
- Fix array values in event data for transformed traces [#1717, #1727, #1737]
- Fix relayout event data for gl3d camera interactions [#1732]
- Fix scatter markers and text nodes linked to
idsordering on updates [#1709] - Fix
Plotly.validatefor dynamic enumerated attribute
(e.g. axisanchor,overlaying) [#1769] - Fix pseudo-html handling in sliders, updatemenus, range-sliders,
range-selectors and carpet traces [#1792] - Fix annotation bounding box and arrow heads in IE [#1782]
- Fix svg exports in IE for graphs with multiple clip paths [#1740]
- Fix
sankeypositioning in IE [#1723, #1731, #1729, #1735] - Fix relative links in IE [#1715]
- Suppress render warning in gl3d graphs with error bars [#1718]
v1.27.1
Fixed
- Fix text box positioning on scrolled windows (bug introduced in 1.27.0) [#1683, #1690]
- Fix styling over links in annotation text [#1681]
- Fix
mesh3dwithvertexcolorcoloring [#1686] - Fix
sorttransform with setcategoryarray[#1689] - Fix
scattertext node data join [#1672] - Fix
plotpromise resolution in graphs with layout images in IE11 [#1691]
v1.27.0
Added
- Sankey diagram with new trace type
sankey[#1591, #1664] - Add
hoverlabeltrace and layout attributes to customize hover label colors
and fonts [#1582] - Add
marker.gradientattributes forscatter,scattergeo,scatterternary
andscattercarpettraces [#1620] - Add
sorttransform [#1609] - Add
preservegapsfiltertransform attribute [#1589] - Add
!=(not equal)filtertransform operation [#1589] - Add
labelfont,tickfontandrangefontattributes forparcoordstraces
[#1624] - Pass DOM mouse event on
plotly_clickannotationsevents [#1652]
Changed
- Performance optimization for range sliders and Drawing cache [#1585]
Fixed
- Fix
scatterglmarker symbol positioning (bug introduced in 1.25.0) [#1633] - Fix gl2d zoom where two clicks would trigger a zoom box (bug introduced 1.26.0) [#1632]
- Fix legend double click handler for
carpettraces [#1636] - Fix
restyleforscattercarpetfor style attributes with array support [#1641] - Fix
restylefor array layout components when more than 10 items are present
[#1639] - Fix select-box and lasso selections so that they don't include bad-data items
[#1656] - Fix
restylefor contourzminandzmax[#1653] - Fix
scattertext node transitions [#1616, #1626]
v1.26.1
v1.26.0
Added
- Carpets plots with new trace types:
carpet,scattercarpetand
contourcarpet[#1595, #1596] - Axis constraints with new cartesian and gl2d axis attributes
scaleanchorand
scaleratio[#1522] - Annotations
width,height,valignandxshiftandyshiftattributes
[#1551, #1590] - Hover text over annotations with
hovertextandhoverlabelattributes
[#1573, #1590] - Add
hovertextattribute to trace types that can showtextvalues on graph
to allow setting hover text independently [#1523] - Add
spikesinteractions functionality to cartesian subplots [#1461] - Pass mouse DOM mouse event during
plotly_click,plotly_hoverand
plotly_unhover[#1505] - Add
visibleattribute to cartesian and gl3d axes to easily make them
disappear [#1595, #1599] - Make
deleteFrames(gd)delete all frames [#1531]
Changed
- Lock down
gl-plot3dandmatrix-camera-controllerdependencies to include
latest memory management improvements [#1570] - Performance improvements for
categoryaxes [#1544] - Skip overhead for
showLinkconfig option is false [#1557] - Optimize scatter trace sorting on updates [#1555]
- Lock down
gl-scatter2d-sdfdependency to1.3.4while waiting for bug fix
there [#1572]
Fixed
- Fix bar sizes of traces with (x,y)
NaNitems [#1519] - Fix handling of
NaNitems in array-ok attributes forscattergeoand
scattermapboxtraces [#1538, #1564] - Fix hover label position for
bartraces with setwidth[#1527] - Fix
restylefor attribute containers [#1536] - Fix
restyleexception forscattergltraces with noydata [#1567] - Fix animation of text nodes that contain
<br>s [#1602] - Fix
toImagefor mapbox subplots when access token is set in the config
options [#1598] - Emit
plotly_hoveronpietraces whenhoverinfo: 'none'[#1505] - Pass trace info during
plotly_clickonpietraces [#1505] - Pass through the wheel event if the scrollbar is at the very top or bottom
[#1588]
v1.25.2
Fixed
- rm
consttoken from dist bundles that depend onbig-rat,
see rat-nest/big-rat#4 for more details.
v1.25.1
Fixed
- Fix
restyleforscattergltraces with arraymarker.size(bug introduced
in1.25.0) [#1521] - Fix
relayoutforhistogram2dcontourtraces [#1520] - Do not unnecessary mutate
parcoordsfull trace objects when computing
line color and colorscale [#1509, #1508] - Do not unnecessary coerce trace opacity in
parcoordstraces [#1506]
v1.25.0
Added
- Double click handler on legend items to isolate 1 traces / group on graph
[#1432]
Changed
- Use signed distance fields (SDF) method to render heterogeneous
scattergl
traces improving performance [#1398] - Improve first-render performance in
scattergltraces by only creating
visible objects [#1444] - Use
color-rgbainstead oftinycolor2to convert plotly color definitions to
WebGL buffers improving performance for gl3d and gl2d traces [#1443] - Bump
uglify-jsminifier to version2.8.12[#1450]
Fixed
- Fix 3D trace ordering on visibility toggle [#1466]
- Fix gl2d trace ordering on visibility toggle [#1444]
- Fix autorange routine for bar traces [#1475]
- Fix shapes and images referencing a missing subplot [#1481]
- Ensure array attributes can be restyled in all situations [#1488]
- Fix XYZ-column-to-2D-z convert routine for columns containing nulls [#1491]
- Fix range slider display when anchored to log axes [#1472]
- Make sure all trace types can be deleted from range sliders [#1472]
- Let the
parcoordsobject tree be garbage collected onrestyle[#1479] - Bring back support for histogram colorscales (bug introduced in
1.21.3)
[#1500] - Support all axis types for clicktoshow annotations [#1497]
- Fix 3D margin relayout calls (bug introduced in
1.24.1) [#1494] - Fix
relayoutwhen trying to update empty axis containers (bug introduced in
1.24.0) [#1494]