Skip to content

Releases: plotly/plotly.js

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]

v1.25.0

20 Mar 19:04
Compare
Choose a tag to compare

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 scattergl traces by only creating
    visible objects [#1444]
  • Use color-rgba instead of tinycolor2 to convert plotly color definitions to
    WebGL buffers improving performance for gl3d and gl2d traces [#1443]
  • Bump uglify-js minifier to version 2.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 parcoords object tree be garbage collected on restyle [#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 relayout when trying to update empty axis containers (bug introduced in
    1.24.0) [#1494]

v1.24.2

10 Mar 16:48
Compare
Choose a tag to compare

Fixed

  • Fix removal of last annotation or shape [#1451]
  • Fix shape and image clip path removal [#1453]
  • Fix overdrawing of data-referenced images [#1453]
  • Make handling of layer: 'below' shape more robust [#1453]
  • Allow multiple parcoords dimensions with the same label [#1457]

v1.24.1

07 Mar 15:16
Compare
Choose a tag to compare

Fixed

  • Ensure calling restyle or relayout in a plotly_unhover handler does not
    result in an infinite loop (bug introduced in 1.24.0) [#1448]
  • Ensure autorange routine is bypassed when axis range is set (bug introduced in
    1.24.0) [#1425]
  • Fix annotations dragging in editable mode (bug introduced in 1.22.0) [#1441]
  • Show correct curve number in gl2d hover data [#1427]
  • Clear parcoords canvas specially if no panel exist [#1440]
  • Fix parcoords to render last block increment [#1447]
  • Axis keys in hover data are no longer plagued by circular references [#1431]

v1.24.0

27 Feb 18:51
Compare
Choose a tag to compare

Added

  • Add parcoords trace type (parallel coordinate plots) [#1256]
  • Add support for multiple range sliders [#1355]
  • Add 'aitoff' and 'sinusoidal' geo projection types [#1422]
  • Implement scene.dragmode: false to disable drag interaction on 3D subplots
    [#1377]
  • Add showAxisDragHandles and showAxisRangeEntryBoxes configuration options
    [#1389]
  • Add customdata attribute to scatter traces to add custom data to scatter SVG
    nodes [#1379]

Changed

  • Consistent handling of array containers during relayout [#1403]
  • Improve hover for choropleth traces [#1401]
  • Make range slider handles and mask crispier [#1409]
  • Bump country-regex dependency to 1.1.0 [#1392]

Fixed

  • Fix 3D on iOS devices [#1411]
  • Fix surface trace opacity scaling [#1415]
  • Fix hover data in animations [#1274]
  • Fix annotations edit when dragging from one axis to another [#1403]
  • Fix 3D hover labels for date axes [#1414]
  • Deleting cartesian subplots now clear their corresponding axis titles [#1393]
  • Fix hover for xyz column heatmap trace 'text' [#1417]
  • Fix scattermapbox lines with trailing gaps [#1421]
  • Make restyle, relayout and update not mutate input update objects [#1376]
  • Fix race condition in gl2d toImage [#1388]
  • Fix handling of Virgin Islands country name [#1392]
  • Fix Plotly.validate for colorscale attributes [#1420]

v1.23.2

15 Feb 19:18
Compare
Choose a tag to compare

Changed

  • Bower installs now fetch un-minified dist/plotly.js bundle [#1373]
  • Add package to packagist repository [#1375]