Releases: plotly/plotly.js
Releases · plotly/plotly.js
v1.43.0
Added
- Add
hovertemplate
attribute toscatter
,scattergl
,bar
,histogram
,
pie
andsankey
traces [#3126, #3265, #3284] - Add
layout.title
placement attributesx
,y
,xref
,yref
,
xanchor
,yanchor
andpad
[#3276] - Add support for
<br>
,<sup>
, and<sub>
pseudo-html inscatter3d
andgl3d
scene text [#3207] - Add
multicategory
axis type, allowing for "multi-level" categorical axis labels
and category dividers with axis attributes:showdividers
,
dividercolor
anddiverwidth
[#3254, #3300, #3326] - Add cartesian axis attribute
tickson
with value 'boundaries
' to
place categorical ticks on the category boundaries [#3254, #3275] - Add
uirevision
attributes to control the persistence of user-driven changes
on the graph [#3236] - Add
legend.valign
to set the vertical alignment of the legend symbols
with respect to their associated text labels [#3263] - Implement
arrayOk
textposition
forscatter3d
traces [#3200] - Add layout attributes
colorscale.sequential
,colorscale.sequentialminus
and
colorscale.diverging
to set graph-wide colorscale defaults [#3274] - Add
dragmode: false
to disable all drag interactions on cartesian subplots [#3170] - Add
plotly.js-locales
npm packages that includes all official locales modules [#3223] - Add
watermark
config option to permanently show Plotly's logo
in the mode bar (set to false by default) [#3280] - Add Finnish locale (
fi
) [#3325]
Changed
- Remove "Edit in Chart Studio" button by default [#3307]
title
attributes linked to strings are now deprecated. Please use
title.text
instead to fill in your title text [#3276]title*
attributes are new deprecated. They moved totitle.*
. For
example,colorbar.titleside
is nowcolorbar.title.side
[#3276]- No longer mutate
colorscale
values into user data [#3341] - No longer mutate
zmin
/zmax
,cmin
/cmax
values into user data [#3341]
Fixed
- Fix
react
when updates trigger a new set of auto-margins [#3323] - Fix
scattergl
coloring when more than 255 marker colors are present [#3328, #3334] - More
scattergl
IE11 fixes [#3333, #3335] - Multiple
surface
rendering fixes [#3281] - Correctly default
scene.dragmode
to'orbit'
when camera up vector is
tilted [#3256] - Fix hover on
scatter3d
traces withopacity: 1
on Ubuntu [#3301] - Fix console error Uncaught ax.dtick error: NaN in gl3d subplots [#3233]
- Fix histogram hover event triggers when hovering from bar to bar [#3345]
- Fix graphs with empty and non-empty histogram traces [#3343]
- Fix contour labels on reversed axes [#3279]
- Fix
autocolorscale
toggling [#3341] - Fix template support for
marker.colorscale
[#3341] - Fix
scatter3D
trace withmode: 'lines+markers'
with line color array error [#3341] - Do not add
<base>
href to SVG clip paths during toImage [#3272] - Fix table scrolling that leaked into window scope [#3327]
- Fix fills on segment-less marker-less traces [#3282]
- Fix rangesliders on reversed-range axes [#3304]
- Fix rangesliders on
side: 'top'
x-axes [#3329] - Fix typed array support for
ohlc
andcandlestick
traces [#3342] - Fix
restyle
withimpliedEdits
on trace withgroupby
transforms [#3236] - Fix
editable: true
drag onmarker
colorbars [#3236]
v1.42.5
v1.42.4
v1.42.3
Fixed
- Fix
histogram
binning for typed array inputs (bug introduced in 1.42.0) [#3211] - Fix textfont color
restyle
calls forpie
traces [#3214] - Fix textfont color
editType
forbar
traces [#3214] - Fix array
hoverinfo
support forohlc
andcandelestick
[#3213] - Correctly list
parcats
hoverinfo attributes which does not support array inputs [#3213]
v1.42.2
v1.42.1
Fixed
- Fix IE regression introduced in 1.42.0 [#3187]
- Fix
parcats
text-shadowing on darkplot_bgcolor
[#3191] - Fix
scatter3d
text alignment [#3180] - Fix
hoverinfo
flags in attribute descriptions [#3158] - No longer list and coerce unused
hoverlabel
attribute inparcoods
[#3158] - No longer list and coerce
transforms
attributes in traces that don't support them [#3158]
v1.42.0
Added
- Add
parcats
(aka parallel categories) trace type [#2963, #3072] - Add new gl3d tick and title auto-rotation algorithm that limits text
overlaps [#3084, #3104, #3131] - Add support for reversed-range axes on gl3d subplots [#3141]
- Add modebar layout style attributes:
orientation
,bgcolor
,color
andactivecolor
[#3068, #3091] - Add
title
,titleposition
andtitlefont
attributes topie
traces [#2987] - Add
hoverlabel.split
attribute toohlc
andcandlestick
traces to split
hover labels into multiple pieces [#2959] - Add support for
line.shape
values 'hv', 'vh', 'hvh' and 'vhv'
inscattergl
traces [#3087] - Add handler for
PlotlyConfig.MathJaxConfig: 'local'
to override our default
MathJax behavior which modifies the global MathJax config on load [#2994] - Add support for graph div as first argument for
Plotly.makeTemplate
andPlotly.validateTemplate
[#3111, #3118] - Implement trace, node and link hoverinfo for
sankey
traces [#3096, #3150] - Implement per-sector textfont settings in
pie
traces [#3130]
Changed
- Use new Plotly logo in "Produced with Plotly" modebar button [#3068]
- Improve
histogram
autobin algorithm: allow partial bin specification,
deprecateautobin(x|y)
attributes, force stacked/grouped histograms to match size
and have compatiblestart
value [#3044] - Count distinct values for category and date axis auto-type, which
improves the detection of "NaN" string values in numerical data [#3070] - Improve bar and pie textfont color inheritance [#3130]
- Improve
splom
first-render, axis range relayout and marker restyle
performance [#3057, #3161] - Make
splom
xaxes
andyaxes
list always have same length as the trace
dimensions
regardless of their partial visiblities [#3057] - Improve axis
overlaying
documentation [#3082]
Fixed
- Fix
gl3d
subplots on tablets [#3088] - Fix responsive behavior under flexbox and grid CSS [#3056, #3090, #3122]
- Fix relayout calls turning back
autosize
on [#3120] - Fix MathJax rendering (for recent versions of MathJax) [#2994]
- Fix
scattergl
update on graphs with fractional computed dimensions [#3132] - Fix
scattergl
symbols in MS Edge [#2750] - Fix
scattergl
selections on overlaying axes [#3067] - Fix
scattergl
tozero
fills with bad values [#3087, #3168] - Fix
scattergl
fill layer ordering [#3087] - Fix
scattergl
lines on reversed-range axes [#3078] - Fix axis auto-type routine for boolean data [#3070]
- Fix
splom
axis placement when the diagonal is missing [#3057] - Fix line
restyle
calls onparcoords
traces [#3178] - Fix
parcoods
rendering afterhovermode
relayout calls [#3123] - Fix WebGL warnings for
scatter3d
traces with blank text items [#3171, #3177] - Fix WebGL warnings for
scatter3d
trace with empty lines [#3174] - Fix rendering of
scatter3d
lines for certain scene angles [#3163] - Fix handling of large pad values in
sankey
traces [#3143] - Fix
scatterpolargl
toscatterpolar
toggling [#3098] - Fix
scatterpolargl
axis-autorange padding [#3098] - Fix
bar
text position for traces with setbase
[#3156] - Fix
bar
support for typed arrays forwidth
andoffset
attributes [#3169] - Fix aggregate transforms with bad group values [#3093]
- Fix transforms operating on auto-invisible traces [#3139]
- Fix templating for polar and carpet axes [#3092, #3095]
- Ignore invalid trace indices in restyle and update [#3114]
- Fix grid style
relayout
calls on graph with largesplom
traces [#3067] - Fix logging on some old browsers [#3137]
- Remove erroneous warning
WARN: unrecognized full object value
when
relayouting array containers [#3053]
v1.41.3
Fixed
- Fix handling of hover
text
inbarpolar
traces [#3040] - Fix
scatterpolar[gl]
text
placement in hover label [#3040] - Fix
pie
trace support for individual stroke width values [#3030] - Fix handling of CSS
max-width
andmax-height
in auto-size routine [#3033] - Rotate hover labels when
hovermode: 'y'
and a single trace produces multiple
labels [#3043] - Rotate hover labels when
hovermode: 'closest'
and multiple labels are
generated including one from an horizontal trace [#3043] - Fix hover label coloring on white bgcolor [#3048]
- Do not coerce nor validate
polar?.bar*
attributes on
subplots w/o visiblebarpolar
traces [#3023] - Fix legacy polar attribute descriptions [#3023]
v1.41.2
v1.41.1
Fixed
- Bring back hover labels on "touch" hover (bug introduced in 1.29.0) [#2997]
- Fix MathJax rendering in legends [#3018]
- Fix fill and layering for multiple stack-groups and unstacked
scatter
traces [#3005] - Fix removal of
scatter
traces with setstackgroup
[#3005] - Fix stacked area gap insertion edge case [#3017]
- Fix zeroline logic for
splom
-generated axes [#3015] - Fix
error_x
anderror_y
onscatter3d
w/oerror_z
[#3011] - Fix
scatter3d
error bars on log axes [#2992] - Fix
Plotly.react
when updating geo axisdtick
[#3016] - Fix
polar.hole=1
case [#3021] - Fix handling of
polar.sector
that span more than 360 degrees [#3021]