Releases: plotly/plotly.js
Releases · plotly/plotly.js
v1.48.0
Added
- Add
funneltraces [#3817, #3911] - Add
funnelareatraces [#3876, #3912] - Add support for shared color axes via
coloraxisattributes
in the layout [#3803, #3786, #3901, #3916] - Add support for sorting categorical cartesian axes by value [#3864]
- Add
bingrouptohistogram,histogram2dandhistogram2dcontourto group
traces to have compatible auto-bin values [#3845] - Add legend
itemclickanditemdoubleclickattributes to set or disable
the legend item click and double-click behavior [#3862] - Add
insidetextanchorattribute forbarandwaterfalltraces [#3817] - Add
textangleattribute forbarandwaterfalltraces [#3817] - Add
textinfotowaterfalltraces [#3790] - Add support for side-by-side
scatter3dmarkerandlinecolorbars [#3803] - Add
metaattribute to traces to complementlayout.meta[#3865] - Emit
plotly_relayoutingduring drag motion on subplots [#3888] - Add Swedish locale (
sv) [#3821]
Changed
- Use
sane-topojson@v3.0.1(backed by Natural Earth v4.1.0 shapefiles)
to generate geographic features ingeosubplots. Most notably, the Russia/Ukraine
border has been updated [#3856] - Draw
boxandviolinpoints as legend item when other parts have opacity0[#3846] - Draw
marker.linefor bars with no-span [#3848] - Do not make request for topojson files when drawing geo subplot
without geographic features [#3856]
Fixed
- Fix
categoryarrayordering forheatmapandcontourtraces [#3827] - Fix
heatmapbrick positioning for non-overlapping categories [#3827] - Fix
Plotly.updatecalls that resulted in removal of modebar buttons [#3825] - Fix auto-range for one-sided
violinwith setwidth[#3842] - Fix hover label placement for one-sided
violinwith setwidth[#3842] - Fix
scatterglmode ordering in/out of selections [#3810] - Fix
scatterglunselected styling in/out of select/lasso dragmode [#3810] - Fix
automarginedge cases where draw code can be stuck in infinite loops [#3811] - Fix
locationmode: 'USA-states'on world scope under50mresolution [#3856] - Fix reset view interactions on geo subplots following
geo.scopeupdates [#3856] - Fix
Plotly.animateon graphs with multiple subplot types [#3860] - Fix
filtertransforms that result in empty coordinate arrays [#3766] - Fix handling of
0number inpieandsunbursttext and hover [#3847] - Fix
sunbursttext in sectors centered around theta=180 [#3907] - Fix handling of number
0insunburstids/parents [#3903] - Fix selection range event data on category axes [#3869]
- Fix
contourwith heatmap coloring rendering after graph resize [#3803] - Fix
histogram2dhover label content for trace with bins spanning multipleysample values [#3890] - Fix
parcoordsrendering of first value when it is part of ownconstraintrange[#3915] - Fix rgba colorscale fallback for
parcoordstraces [#3917] - Fix de-selected style of error bar on
bartraces [#3644] - Fix hover labels rendering for some zoomed-in
violintraces [#3889] - Fix
mesh3dvertexcolorattribute description [#3688]
v1.47.4
v1.47.3
Fixed
- Fix MathJax rendering in Firefox [#3783]
- Fix
waterfallhover underhovermode: 'closest'[#3778] - Fix
waterfallconnector.line.widthupdates [#3789] - Fix
waterfallpositioning on date axes [#3791] - Fix
waterfalldefault connector line color [#3788] - Fix
hoverlabel.alignbehavior for centered hover labels [#3781]
v1.47.2
v1.47.1
v1.47.0
Added
- New
volumegl3d trace type [#3488] - Implement node grouping via box and lasso selections for
sankeytraces [#3712, #3750] - Implement
hovermode: 'x'forsankeytraces,
allowing users to compare links in a flow on hover [#3730] - Add way for
Plotly.toImageandPlotly.downloadImageto export images
with current graph width/height by passing width/height option asnull[#3746] - Add legend attribute
itemsizingwith value'constant'making legend item symbol sizing
independent of the sizing of their corresponding trace item [#3732] - Add
hoverlabel.alignwith value'left','right'and'auto'to set the horizontal
alignment of the text content within hover labels [#3753] - Add
contour.start,contour.endandcontour.sizeattribute tosurfacetraces [#3469] - Add
isosurfaceandvolumeto thegl3dbundle [#3488]
Changed
- Allow re-plot during drag interactions [#3716]
- Use high-precision in
scatterglerror bars shader [#3739]
Fixed
- Fix implementation of geo
lonaxisandlataxisattributetick0[#3706] - Fix
scrollZoom: falseconfiguration on mapbox subplots [#3745] - Fix rendering of alpha channel in
mesh3dtraces [#3744] - Fix
hoverlabel.namelength: 0case [#3734] - Fix implementation of
hoverlabel.namelengthforpie,sankey,sunburstand
the gl3d traces [#3734] - Fix
waterfallrendering when transforms filter out all
increasing or decreasing bars [#3720] - Fix clip-path attributes for pages with parenthesis in their
<base>URL [#3725]
v1.46.1
v1.46.0
Added
- New
waterfalltrace type [#3531, #3708] - New
sunbursttrace type [#3594] - Add attributes
node.xandnode.ytosankeytraces [#3583] - Implement
connectgapsonsurfacetraces [#3638] - Implement
hovertemplateforboxandviolinpoints [#3685]
Changed
- Display hover labels above modebar, ensuring that the hover labels
are always visible within the graph div [#3589, #3678]
Fixed
- Fix horizontal legend item wrapping by pushing overflowed items to newline [#3628]
- Fix erroneous gap for histogram under relative
barmode[#3652] - Fix position of overlapping grouped bars within trace [#3680]
- Fix
violinbandwidthlogic for traces with identical values in sample [#3626] - Fix
violintracescalegroupdescription [#3687] - Fix stacked scatter for groupby traces [#3692]
- Fix outside text on empty items in
bartraces undertextposition: 'outside'[#3701] - Fix
pieun-hover event emission after updates [#3662, 3690] - Fix
scatterline decimation algo for filled trace with far-away data points [#3696] - Fix
heatmapandcontourcomputation for traces with category coordinates containing0[#3691] - Fix zoom interactions on gl3d subplots using an orthographic projection [#3601]
- Fix miscellaneous gl3d camera on-initialization bugs [#3585]
- Fix
surfacecontour line rendering in some Firefox versions [#3670] - Fix rendering of marker points and gl3d subplots on date axes (or with coordinates close to 64K floating limits)
for WebGL-based traces on some iOS devices [#3666, #3672, #3674, #3676] - Fix center-aligned hover labels positioning [#3681]
v1.45.3
Fixed
- Fix legend click dispatch on legend item symbols (bug introduced in 1.44.0) [#3635]
- Fix overlapping of "very close" hover labels [#3645]
- Fix
hovermodedefault logic for stackedscattertraces [#3646] - Fix
glPixelRatiohandling insurfacecontour lines [#3641] - Fix
gl2dsubplot zoombox appearance (bug introduced in 1.32.0) [#3647] - Fix axis label updates on
gl2dsubplots on scroll (bug introduced in 1.32.0) [#3647] - Fix
dragmoderelayout calls ongl2dsubplots [#3647] - Improve info about
<extra>inhovertemplatedescription [#3623]