Skip to content

Releases: plotly/plotly.js

v2.32.0

23 Apr 18:58
Compare
Choose a tag to compare

Added

  • Add "bold" weight, "italic" style and "small-caps" variant options to fonts [#6956]

Fixed

  • Fix applying autotickangles on axes with showdividers as well as cases
    where tickson is set to "boundaries" [#6967],
    with thanks to @my-tien for the contribution!
  • Fix positioning of multi-line axis titles with standoff [#6970],
    with thanks to @my-tien for the contribution!

v2.31.1

15 Apr 18:42
Compare
Choose a tag to compare

Fixed

  • Maintain original drawing order of traces when traces with similar type are sent to back [#6962]
  • Ensure winning points of hover are listed first when hoversubplots is set to "axis" and sorting by distance [#6963]
  • Fix duplicated points in splom hover when hoversubplots is set to "axis" [#6965]

v2.31.0

10 Apr 15:06
Compare
Choose a tag to compare

Added

  • Add zorder attribute to various cartesian traces for controlling stacking order of SVG traces drawn
    into a subplot [#6918, #6953]. This feature was anonymously sponsored: thank you to our sponsor!
  • Add "between" option to shape layer for placing them above grid lines and below traces [#6927],
    with thanks to @my-tien for the contribution!
  • Add "raw" sizemode to cone trace [#6938]
  • Add layout.hoversubplots to enable (x|y) and unified hover effects across multiple cartesian suplots
    sharing one axis [#6947, #6950]

Changed

  • Regenerate stackgl_modules/index.js using updated dependencies [#6937]

Fixed

  • Fix hover count in parcats trace [#6944], with thanks to @weiweikee for the contribution!

v2.30.1

15 Mar 20:16
Compare
Choose a tag to compare

Fixed

  • Fix centering multi-line headers for treemap traces [#6923]
  • Fix heatmap text color and texttemplate on cells with missing data [#6924]
  • Fix scattergl rendering when colors include capital letters [#6928],
    with thanks to @28raining and @dy for the contribution!

v2.30.0

06 Mar 22:36
Compare
Choose a tag to compare

Added

  • Add fill gradients for scatter traces [#6905],
    with thanks to @lumip for the contribution!
  • Add indentation to legend [#6874],
    with thanks to @my-tien for the contribution!

Fixed

  • Fix tooltip pointer position [#6901],
    with thanks to @OBe95 for the contribution!
  • Fix standoff position [#6889, #6914],
    with thanks to @ayjayt for the contribution!
  • Fix resizing pie and funnelarea traces when textinfo is set to "none" [#6893],
    with thanks to @robbtraister for the contribution!
  • Fix insiderange on category axes [#6910]
  • Fix display of "boundaries" tickson when tickmode is set to "array" [#6912]

v2.29.1

12 Feb 16:55
Compare
Choose a tag to compare

Fixed

  • Fix bug where plots with axis type='categorical', tickson = "boundaries" and showgrid=true wouldn't load [#6885]
  • Respect insiderange when multiple overlaid axes having insideticklabel [#6817]

v2.29.0

02 Feb 02:24
Compare
Choose a tag to compare

Added

  • Add layout.barcornerradius and trace.marker.cornerradius properties to support rounding the corners of bar traces [#6761],
    with thanks to Displayr for sponsoring development!
  • Add autotickangles to cartesian and radial axes [#6790],
    with thanks to @my-tien for the contribution!

Changed

  • Improve hover detection for for scatter plot fill tonext* [#6865],
    with thanks to @lumip for the contribution!
  • Improve rendering of heatmap bricks for log-scale axes [#5991],
    with thanks to @andrew-matteson for the contribution!
  • Adjust Sankey trace to allow user-defined link hover style override [#6864],
    with thanks to @TortoiseHam for the contribution!
  • Adjust 'decimal' and 'thousands' formats for Brazilian Portuguese locale file [#6866],
    with thanks to @pazuza for the contribution!

Fixed

  • Fix modifying selections on traces on overlaying axes [#6870]

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]