Skip to content

Releases: plotly/plotly.js

v1.28.3

26 Jun 19:35
Compare
Choose a tag to compare

Fixed

  • Fix deselect on double-clicking for gl2d traces [#1811]
  • Fix Plotly.purge for gl2d and gl3d subplots
    (bug introduced in 1.28.0, leading to memory leaks) [#1821]
  • Fix hover labels for ohlc and candlestick traces
    (bug introduced in 1.28.0) [#1808]
  • Fix event data for scattergeo traces [#1819]
  • Fix support of HTML entity number in pseudo-html inputs [#1820]

v1.28.2

21 Jun 17:55
Compare
Choose a tag to compare

Fixed

  • Fix IE rendering error (node.children doesn't work on SVG nodes in IE) [#1803]

v1.28.1

20 Jun 14:04
Compare
Choose a tag to compare

Fixed

  • Fix scattergl selected points. Points do not disappear after zoom any more
    in fast mode [#1800]

v1.28.0

19 Jun 16:01
Compare
Choose a tag to compare

Added

  • Allow constraints by domain on cartesian axes using new axis attributes:
    constrain: 'domain' and constraintoward [#1767]
  • Add gl3d annotations [#1638, #1786]
  • Add support for lasso and select dragmode on scattergl traces [#1657]
  • Add 48 new scattergl marker symbols (for total of 56) [#1781]
  • Add array support for hoverinfo [#1761]
  • Add animation support for fillcolor attribute [#1722]
  • Add colorscale attributes to mesh3d traces [#1719]
  • Add support for target and popup attributes pseudo-html text links [#1726]
  • Add per-direction updatemenu dropdown arrows [#1792]
  • Add execute attribute to sliders and updatemenus to skip method calls while
    still triggering associated events [#1700]
  • Add skip value to the method attribute for sliders and updatemenus which
    acts as a no-op [#1699]

Changed

  • Include values of all array attributes in hover/click/select event data
    including ids and customdata [#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 category axes [#1748, #1791]
  • Fix non-linear gl3d axis range settings [#1730]
  • Fix ohlc and candlestick when 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 ids ordering on updates [#1709]
  • Fix Plotly.validate for dynamic enumerated attribute
    (e.g. axis anchor, 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 sankey positioning 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

17 May 15:34
Compare
Choose a tag to compare

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 mesh3d with vertexcolor coloring [#1686]
  • Fix sort transform with set categoryarray [#1689]
  • Fix scatter text node data join [#1672]
  • Fix plot promise resolution in graphs with layout images in IE11 [#1691]

v1.27.0

10 May 19:25
Compare
Choose a tag to compare

Added

  • Sankey diagram with new trace type sankey [#1591, #1664]
  • Add hoverlabel trace and layout attributes to customize hover label colors
    and fonts [#1582]
  • Add marker.gradient attributes for scatter, scattergeo, scatterternary
    and scattercarpet traces [#1620]
  • Add sort transform [#1609]
  • Add preservegaps filter transform attribute [#1589]
  • Add != (not equal) filter transform operation [#1589]
  • Add labelfont, tickfont and rangefont attributes for parcoords traces
    [#1624]
  • Pass DOM mouse event on plotly_clickannotations events [#1652]

Changed

  • Performance optimization for range sliders and Drawing cache [#1585]

Fixed

  • Fix scattergl marker 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 carpet traces [#1636]
  • Fix restyle for scattercarpet for style attributes with array support [#1641]
  • Fix restyle for 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 restyle for contour zmin and zmax [#1653]
  • Fix scatter text node transitions [#1616, #1626]

v1.26.1

21 Apr 14:44
Compare
Choose a tag to compare

Fixed

  • Fix pie fill opacity [#1615]
  • Fix contour.value declaration for contourcarpet trce [#1612]

v1.26.0

18 Apr 01:42
Compare
Choose a tag to compare

Added

  • Carpets plots with new trace types: carpet, scattercarpet and
    contourcarpet [#1595, #1596]
  • Axis constraints with new cartesian and gl2d axis attributes scaleanchor and
    scaleratio [#1522]
  • Annotations width, height, valign and xshift and yshift attributes
    [#1551, #1590]
  • Hover text over annotations with hovertext and hoverlabel attributes
    [#1573, #1590]
  • Add hovertext attribute to trace types that can show text values on graph
    to allow setting hover text independently [#1523]
  • Add spikes interactions functionality to cartesian subplots [#1461]
  • Pass mouse DOM mouse event during plotly_click, plotly_hover and
    plotly_unhover [#1505]
  • Add visible attribute to cartesian and gl3d axes to easily make them
    disappear [#1595, #1599]
  • Make deleteFrames(gd) delete all frames [#1531]

Changed

  • Lock down gl-plot3d and matrix-camera-controller dependencies to include
    latest memory management improvements [#1570]
  • Performance improvements for category axes [#1544]
  • Skip overhead for showLink config option is false [#1557]
  • Optimize scatter trace sorting on updates [#1555]
  • Lock down gl-scatter2d-sdf dependency to 1.3.4 while waiting for bug fix
    there [#1572]

Fixed

  • Fix bar sizes of traces with (x,y) NaN items [#1519]
  • Fix handling of NaN items in array-ok attributes for scattergeo and
    scattermapbox traces [#1538, #1564]
  • Fix hover label position for bar traces with set width [#1527]
  • Fix restyle for attribute containers [#1536]
  • Fix restyle exception for scattergl traces with no y data [#1567]
  • Fix animation of text nodes that contain <br>s [#1602]
  • Fix toImage for mapbox subplots when access token is set in the config
    options [#1598]
  • Emit plotly_hover on pie traces when hoverinfo: 'none' [#1505]
  • Pass trace info during plotly_click on pie traces [#1505]
  • Pass through the wheel event if the scrollbar is at the very top or bottom
    [#1588]

v1.25.2

31 Mar 14:01
Compare
Choose a tag to compare

Fixed

  • rm const token from dist bundles that depend on big-rat,
    see rat-nest/big-rat#4 for more details.

v1.25.1

28 Mar 21:09
Compare
Choose a tag to compare

Fixed

  • Fix restyle for scattergl traces with array marker.size (bug introduced
    in 1.25.0) [#1521]
  • Fix relayout for histogram2dcontour traces [#1520]
  • Do not unnecessary mutate parcoords full trace objects when computing
    line color and colorscale [#1509, #1508]
  • Do not unnecessary coerce trace opacity in parcoords traces [#1506]