Releases: plotly/plotly.js
Releases · plotly/plotly.js
v2.34.0
Added
- Add
subtitle
attribute tolayout.title
to enable adding subtitles to plots [#7012] - Introduce "u" and "s" pseudo html tags to add partial underline and strike-through styles to SVG text elements [#7043]
- Add geometric mean functionality and 'geometric mean ascending' + 'geometric mean descending' to
category_order
on cartesian axes [#6223],
with thanks to @acxz and @prabhathc for the contribution! - Add axis property
ticklabelindex
for drawing the label for each minor tick n positions away from a major tick,
with thanks to @my-tien for the contribution! [#7036] - Add property
ticklabelstandoff
andticklabelshift
to cartesian axes to adjust positioning of tick labels,
with thanks to @my-tien for the contribution! [#7006] - Add
x0shift
,x1shift
,y0shift
,y1shift
to shapes to add control over positioning of shape vertices on (multi-)category axes,
with thanks to @my-tien for the contribution! [#7005]
Fixed
- Fix displaying scattergl traces while zooming or panning (regression introduced in 2.26.0) [#7018],
with thanks to @eiriklv for the contribution! - Fix for excessive hoverlabel removal and overlap for plots with both scatter and bar traces [#6954],
with thanks to @mbant for the contribution! - Fix adding cartesian "togglehover" when included in
modebar.add
[#5879],
with thanks to @Sizurka for the contribution! - Handle
zorder
between overlaying cartesian subplots [#7032],
This feature was anonymously sponsored: thank you to our sponsor!
v2.33.0
Added
- Add support for numeric text font
weight
[#6990] - Add
shadow
,lineposition
andtextcase
options to SVG fonts [#6983]
Fixed
- Fix unicode variable names in @plotly/d3 [#6992],
with thanks to @GeorchW for the contribution! - Fix
getFullTransformMatrix
in shadow DOM [#6996],
with thanks to @OpportunityLiu for the contribution! - Fix drag on legend scrollbar while
edits.legendPosition
istrue
[#6997],
with thanks to @OpportunityLiu for the contribution! - Fix numerical instability in 3D plots [6998],
with thanks to @hborchardt for the contribution! - Fix numerical precision of drawing surface trace [6999],
with thanks to @hborchardt for the contribution! - Fix isosurface maximum value calculation when
isomax
is set to null [#7002]
v2.32.0
v2.31.1
v2.31.0
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
v2.30.0
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
andfunnelarea
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
whentickmode
is set to "array" [#6912]
v2.29.1
v2.29.0
Added
- Add
layout.barcornerradius
andtrace.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
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
) andshape
(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
andmaxallowed
values of the axis [#6796] - Fix
scattergl
legend whenmarker.angle
is an array [#6787] - Fix plot schema not to show
line.shape
options forscatterpolargl
trace [#6781]