Skip to content

Releases: plotly/plotly.js

v1.31.0

05 Oct 20:28

Choose a tag to compare

Added

  • Add table trace type [#2052]
  • Add geo.center making geo views fully reproducible using layout attributes [#2030]
  • Add lasso and select-box drag modes to scattergeo and choropleth traces [#2030]
  • Add lasso and select-box drag modes to bar and histogram traces [#2045]
  • Add scale option to Plotly.toImage and Plotly.downloadImage [#1979]
  • Add plot-schema.json to dist/[#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 restyle and relayout bugs [#1999]
  • Fix handling of extreme off-plot data points in scatter lines [#2060]
  • Fix hoverinfo array support for scattergeo, choropleth, scatterternary and scattermapbox traces [#2055]
  • Fix Plotly.plot MathJax promise chain resolution [#1991]
  • Fix legend double-click trace isolation behavior for graphs with visible: false traces [#2019]
  • Fix legend visibility toggling for traces with groupby transforms [#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 scattergeo markers outside 'usa' scope [#2030]
  • Fix handling of cross anti-meridian geo lonaxis ranges [#2030]
  • Fix miter limit for lines on geo subplots [#2030]
  • Fix marker.opacity handling for scattergeo bubbles [#2030]
  • Fix layout animation of secondary axes [#1999]
  • Fix sankey hover text placement for empty link.label items [#2016]
  • Fix sankey rendering of nodes with very small values [#2017, #2021]
  • Fix sankey hover label positioning on pages that style the 'svg-container' div node [#2027]
  • Fix aggregation transforms restyle calls [#2031]

v1.30.1

06 Sep 13:45

Choose a tag to compare

Fixed

  • Fix shapes on overlaid axes [#1975]
  • Correctly clear cartesian axis titles on full axis updates [#1981]
  • Make cartesian hover spikes work when no tick labels are present [#1980]

v1.30.0

21 Aug 14:49

Choose a tag to compare

Added

  • Add aggregate transform [#1924]
  • Add constraintext attribute for bar traces [#1931]
  • Add axis layer attribute to ternary axes [#1952]
  • Add cross-trace matching auto-binning logic to histogram traces [#1944]
  • Add data/layout/config api to Plotly.toImage to generate a static
    graph without having to render an interactive graph first [#1939]
  • Add nameformat attribute to groupby transforms 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 ticktext is 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]

v1.29.3

27 Jul 14:00

Choose a tag to compare

Fixed

  • Fix groupby / filter interactions when filter includes target data [#1892]

v1.29.2

26 Jul 14:44

Choose a tag to compare

Fixed

  • Add fallback for ArrayBuffer.isView fixing gl2d and gl3d rendering
    in environments that don't support it (e.g. RStudio) [#1915]

v1.29.1

25 Jul 15:28

Choose a tag to compare

Fixed

  • Fix axis line rendering when showticklabels is false (bug introduced in 1.29.0) [#1910]
  • Fix histogram auto bin restyle [#1901]
  • Fix colorbar edge case that caused infinite loops [#1906]

v1.29.0

19 Jul 21:04

Choose a tag to compare

Added

  • Add touch interactions to cartesian, gl2d and ternary subplots including for
    select and lasso drag modes [#1804, #1890]
  • Add support for contour line labels in contour and contourcarpet traces [#1815]
  • Add support for select and lasso drag modes on scattermapbox traces [#1836]
  • Add double click interactions to mapbox subplots [#1883]
  • Add reset view and toggle hover mode bar buttons to mapbox subplots [#1883]
  • Add support for array marker.opacity settings in scattermapbox traces [#1836]
  • Add namelength layout and trace attribute to control the trace name's
    visible length in hover labels [#1822]
  • Add cliponaxis attribute to scatter and scatterternary traces to allow
    markers and text nodes to be displayed above their subplot's axes [#1861]
  • Add axis layer attribute with 'above traces' and 'below traces' values [#1871]
  • Add granular editable configuration options [#1895]
  • Expanded traces generated by transforms now have unique colors [#1830]

Fixed

  • Fix axis line width, length, and positioning for coupled subplots [#1854]
  • Fix alignment of cartesian tick labels [#1854]
  • Fix rendering and updates of overlaying axis lines [#1855]
  • Fix hover for 2D traces with custom colorbar tickvals [#1891]
  • Fix hover and event data for heatmapgl and contourgl traces [#1884]
  • Fix event data for pie and sankey traces [#1896]
  • Fix drag mode 'pan'in IE and Edge [#1871]
  • Fix bar, error bar and box point scaling on scroll zoom [#1897]
  • Fix shading issue in surface trace in iOS [#1868]
  • Fix lasso and select drag modes for scatterternary traces [#1831]
  • Fix cases of intersecting contour lines on log axes [#1856]
  • Safer construction of popup click handler [#1888]
  • Fix animation of annotations, shapes and images [#1315]
  • Fix histogram bin computation when more than 5000 bins are needed [#1887]
  • Fix tick label rendering when more than 1000 labels are present [#1898]
  • Fix handling of empty transforms item [#1829]

v1.28.3

26 Jun 19:35

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

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

Choose a tag to compare

Fixed

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