Releases: plotly/plotly.js
Releases · plotly/plotly.js
v1.33.0
Added
- Completely rewritten
scattergltrace type usingregl[#2258] - Completely rewritten polar chart renderer accompanied by new
scatterpolarandscatterpolargltrace types [#2200] - Add the ability to draw layout images and layout shapes on subplot
withscattergltraces [#2258] - Add
fillcapabilities toscattergltraces [#2258] - Add
spikedistance,hoverdistanceandskipsnapfor more customizable
spikes and hover behavior on cartesian subplots [#2247] - Add official Spanish translation (locale
es) [#2249] - Add official French translation (locale
fr) [#2252] - Add locale machinery to annotation new text placeholder [#2257]
Changed
- Old polar trace types (
scatterwith(r,t)coordinates,
barwith(r,t)coordinates andarea) are now deprecated.
Fixed
- Fix
gl2dtick label on pan interaction regression [#2258] - Fix
candlestickhover label regression (bug introduced in v1.32.0) [#2264] - Fix several
gl2daxis related bugs with new regl-basedscattergl[#2258]
See full list under the On-par gl2d milestone https://github.com/plotly/plotly.js/milestone/3 - Fix several polar bugs with
scatterpolar[#2200].
See full list under the On-par polar milestone https://github.com/plotly/plotly.js/milestone/2 - Fix
scatterglmarker.colorscale handling [#2258] - Fix ternary relayout calls involving axis tick styles and titles [#2200]
- Fix decimal and thousands settings in
delocale [#2246] - Make scroll handler passive, removing those annoying console warnings [#2251]
v1.32.0
Our blog post outlining some of these features: https://medium.com/@plotlygraphs/notes-from-the-latest-plotly-js-release-b035a5b43e21. The full list of changes is below.
Added
- Add localization machinery [#2195, #2207, #2210, #2232],
including an official German translation (localede) [#2217] - Add
violintrace type [#2116] - Add
selectedandunselectedattribute containers to customize selection states [#2135] - Add support for multi-selections [#2140]
- Add layout
colorwayto custom the trace-to-trace color sequence [#2156] - Add
tickformatstopsto set tick format per cartesian axis range [#1965] - Add hover labels and selections to box points [#2094]
- Histogram events & bin hover label improvements [#2113]
- Add support for aggregation in
pietraces [#2117] - Add annotations
startarrowhead,arrowside,startarrowsizeandstartstandoffattributes [#2164] - Add
zhoverformatto formatzvalues inheatmap,contourand 2d histogram traces [#2106, #2127] - Add
marker.opacityto bar traces [#2163] - Add
Cividiscolorscale [#2178] - Implement transform inverse mapping [#2126, #2162]
Changed
- Selections are now persistent [#2135]
- Make subplot initialization and removal more robust and consistent [#2227]
- Share WebGL context between
gl2dandparcoordssubplots [#2159, #2238] - Rename Save and edit plot in cloud mode bar button Edit in Chart Studio [#2183]
- Minify bundles using
minify-streaminstead of UglifyJS2 [#2187] - Update header for new year 2018 [#2231]
- Remove
type="text/javascript"from<script>tags present in our docs and test utilities [#2217]
Fixed
- Fix right-click handling [#2241]
- Miscellaneous fixes for
tabletraces [#2107, #2182] - Fix horizontal legend items alignment edge case [#2149]
- Fix shape and updatemenu layering [#2121]
- Fix bar with error bar with set
idsedge case [#2169] - Fix
cliponaxis: falsefor non linear cartesian axes [#2177] - Fix heatmap non-uniform brick gaps problem [#2213]
- Fix choropleth selection when
visible: falsetrace are present on graph [#2099, #2109] - Fix yet another contour drawing bug [#2091]
- Clean up pie event data [#2117]
- Fix scatter + bar hover edge cases [#2218]
- Allow hover labels to extend to edges of graph area [#2215]
- Harden location-to-feature against non-string country names for geo subplot [#2122]
- Remove obsolete
smithattribute from plot schema [#2093] - Fix colorbar class name [#2139]
- Make
Plotly.Plots.resizeaccept graph ids (as well as graph divs) [#2212]
v1.32.0-onprem
N.B. This release is an incomplete version of v1.32.0. It is not published on npm.
Based of plotly.js v1.31.2 with these additions:
Added
- Add
tickformatstopsto set tick format per cartesian axis range [#1965] - Add hover labels and selections to box points [#2094]
- Histogram events & bin hover label improvements [#2113]
- Add support for aggregation in
pietraces [#2117] - Add
zhoverformatto formatzvalues inheatmap,contourand 2d histogram traces [#2106, #2127] - Implement transform inverse mapping [#2126]
Fixed
- Miscellaneous fixes for
tabletraces [#2107, 14bc19a] - Fix shape and updatemenu layering [#2121]
- Fix choropleth selection when
visible: falsetrace are present on graph [#2099, #2109] - Fix yet another contour drawing bug [#2091]
- Clean up pie event data [#2117]
- Harden location-to-feature against non-string country names for geo subplot [#2122]
- Remove obsolete
smithattribute from plot schema [#2093]
v1.31.2
v1.31.1
Fixed
- Fix IE and Edge SVG
toImagesupport [#2068] - Return empty set during selections of
visible: falsetraces [#2081] - Fix scroll glitch in
tabletraces [#2064] - Fix handling of 1D header values in
table[#2072] - Fix
tableline style defaults [#2074] - Do not attempt to start drag on right-click [#2087]
- Phase out
alignment-baselineattributes in SVG text nodes [#2076] - Listen to document events on drag instead of relying on cover-slip node [#2075]
v1.31.0
Added
- Add
tabletrace type [#2052] - Add
geo.centermaking geo views fully reproducible using layout attributes [#2030] - Add lasso and select-box drag modes to
scattergeoandchoroplethtraces [#2030] - Add lasso and select-box drag modes to
barandhistogramtraces [#2045] - Add
scaleoption toPlotly.toImageandPlotly.downloadImage[#1979] - Add
plot-schema.jsontodist/[#1999]
Changed
- Throttle lasso and select-box events for smoother behavior [#2040]
- Harmonize gl3d and gl2d zoom speed with cartesian behavior [#2041]
Fixed
- Fix numerous
restyleandrelayoutbugs [#1999] - Fix handling of extreme off-plot data points in scatter lines [#2060]
- Fix
hoverinfoarray support forscattergeo,choropleth,scatterternaryandscattermapboxtraces [#2055] - Fix
Plotly.plotMathJax promise chain resolution [#1991] - Fix legend double-click trace isolation behavior for graphs with
visible: falsetraces [#2019] - Fix legend visibility toggling for traces with
groupbytransforms [#2019] - Fix single-bin histogram edge case [#2028]
- Fix autorange for bar with base zero [#2050]
- Fix annotations arrow rendering when graph div is off the DOM [#2046]
- Fix hover for graphs with
scattergeomarkers outside 'usa' scope [#2030] - Fix handling of cross anti-meridian geo
lonaxisranges [#2030] - Fix miter limit for lines on geo subplots [#2030]
- Fix
marker.opacityhandling forscattergeobubbles [#2030] - Fix layout animation of secondary axes [#1999]
- Fix
sankeyhover text placement for emptylink.labelitems [#2016] - Fix
sankeyrendering of nodes with very small values [#2017, #2021] - Fix
sankeyhover label positioning on pages that style the 'svg-container' div node [#2027] - Fix aggregation transforms restyle calls [#2031]
v1.30.1
v1.30.0
Added
- Add aggregate transform [#1924]
- Add
constraintextattribute for bar traces [#1931] - Add axis
layerattribute to ternary axes [#1952] - Add cross-trace matching auto-binning logic to histogram traces [#1944]
- Add
data/layout/configapi toPlotly.toImageto generate a static
graph without having to render an interactive graph first [#1939] - Add
nameformatattribute togroupbytransforms to set pattern by which
grouped traces are named [#1919]
Fixed
- Fix hover label exponents [#1932, #1949]
- Fix scatter fill with isolated endpoints [#1933]
- Fix parcoords axis tick scale when
ticktextis unordered [#1945] - Fix sankey with 4 multi-links or more [#1934]
- Fix exponent labels beyond SI prefixes [#1930]
- Fix image generation for marker gradient legend items [#1928]
- Fix parcoords image generation when multiple parcoords graphs
are present on page [#1947] - Ignore bare closing tags in pseudo-html string inputs [#1926]