Skip to content

Releases: plotly/plotly.js

2.28.0

05 Jan 21:09
Compare
Choose a tag to compare

Added

  • Add align option to sankey nodes to control horizontal alignment [#6800],
    with thanks to @adamreeve for the contribution!
  • Add the possibility of loading "virtual-webgl" script for WebGL 1 to help display several WebGL contexts on a page [#6784],
    with thanks to @greggman for the contribution!
  • Add options to use base64 encoding (bdata) and shape (for 2 dimensional arrays) to declare various typed arrays
    i.e. dtype=(float64|float32|int32|int16|int8|uint32|uint16|uint8) [#5230]

Fixed

  • Fix scattergl rendering bug on M1 mac devices [#6830],
    with thanks to @justinjhendrick for the contribution!
  • Fix hovering over sankey node only fully highlights first trace [#6799],
    with thanks to @DominicWuest for the contribution!
  • Fix error when the mouse moves to x=0 while dragging a rangeslider [#6780],
    with thanks to @david-bezero for the contribution!
  • Fix duplicated of major and minor ticks in calc data [#6829],
    with thanks to @ayjayt for the contribution!
  • Fix charset test dashboard [#6826],
    with thanks to @ayjayt for the contribution!
  • Fix range defaults to take into account minallowed and maxallowed values of the axis [#6796]
  • Fix scattergl legend when marker.angle is an array [#6787]
  • Fix plot schema not to show line.shape options for scatterpolargl trace [#6781]

v2.27.1

08 Nov 19:18
Compare
Choose a tag to compare

Changed

  • Adjust stamen styles to point to stadiamaps.com, the users may also need to provide their own API_KEY via config.mapboxAccessToken [#6776, #6778]

Fixed

  • Fix handling multi-line text in title automargin [#6758]

v2.27.0

20 Oct 14:12
Compare
Choose a tag to compare

Added

  • Add insiderange to cartesian axes to help avoid overlap between visible grid lines and tick labels of the counter axis when they are positioned inside [#6735],
    this feature was anonymously sponsored: thank you to our sponsor!

Fixed

  • Fix column order changes on hover [#6718],
    with thanks to @bhavinpatel1109 for the contribution!
  • Fix hover at timestamp '1970-01-01 00:00:00' [#6752],
    with thanks to @adamjhawley for the contribution!
  • Fix clearing empty candlestick using react [#6757]

v2.26.2

04 Oct 19:13
Compare
Choose a tag to compare

Fixed

  • Fix range interactions affecting partial ranges in other subplots [#6743]
  • Fix to emit plotly_click event on touchscreens with "select" dragmode [#6724]),
    with thanks to @lvlte for the contribution!
  • Fix error display for failing builds [#6739],
    with thanks to @dmt0 for the contribution!
  • Use the "willReadFrequently" 2d context creation attribute to optimize readback performance for heat map traces [#6741],
    with thanks to @bebeal for the contribution!

v2.26.1

22 Sep 20:17
Compare
Choose a tag to compare

Fixed

  • Fix horizontal title alignment [#6725],
    with thanks to @28raining for the contribution!
  • Fix single-point histogram when user has provided bin widths [#6725],
    with thanks to @28raining for the contribution!
  • Fix to allow custom plotly_legenddoubleclick handlers to execute even when the default plotly_legendclick event is cancelled (returns false) [#6727], with thanks to @andrej-vasilj for the contribution!
  • Fix Finnish translation for "Download plot" in fi locale [#6723],
    with thanks to @wkmor1 for the contribution!
  • Fix Czech number separators in cs locale [#6734],
    with thanks to @vlastimil-dolejs for the contribution!

v2.26.0

24 Aug 17:04
Compare
Choose a tag to compare

Added

  • Add "min", "max", "min reversed" and "max reversed" autorange options and handle partial ranges (i.e. one end being null), add autorangeoptions (clipmin, clipmax, minallowed, maxallowed, include) as well as minallowed and maxallowed to cartesian, gl3d and radial axes [#6547]
  • Add [n]-sigma (std deviations) box plots as an alternative to quartiles [#6697], with thanks to @28raining for the contribution!
  • Add "top left" & "top center" side options to legend title [#6711], with thanks to @28raining for the contribution!
  • Add "false" option to scaleanchor to allow removing a constraint that is set by default [#6712], with thanks to @lvlte for the contribution!

v2.25.2

11 Aug 16:10
Compare
Choose a tag to compare

Changed

  • Update Croatian translations in hr locale [#6690],
    with thanks to @Mkranj for the contribution!

Fixed

  • Fix potential prototype pollution in plot API calls [#6703, 6704]

v2.25.1

02 Aug 14:23
Compare
Choose a tag to compare

Fixed

  • Fix clearing legend using react (regression introduced in 2.25.0) [#6695]

v2.25.0

25 Jul 16:51
Compare
Choose a tag to compare

Added

  • Add "Equal Earth" projection to geo subplots [#6670],
    with thanks to @apparebit for the contribution!
  • Add options to include legends for shapes and newshape [#6653]
  • Add Plotly.deleteActiveShape command [#6679]

Fixed

  • Fix contour plot colorscale domain (take account of zmin, zmax, cmin and cmax) [#6625],
    with thanks to @lvlte for the contribution!
  • Fix text markers on non-mapbox styled maps [#6652],
    with thanks to @baurt for the contribution!
  • Fix unhide isolated traces in multi legend cases (regression introduced in 2.24.3) [#6684]

v2.24.3

18 Jul 19:33
Compare
Choose a tag to compare

Fixed

  • Fix double clicking one item in a legend hides traces in other legends [#6655]
  • Fix double click pie slices when having multiple legends [#6657]
  • Fix per legend group and traceorder defaults when having multiple legends [#6664]