Releases: plotly/plotly.js
Releases · plotly/plotly.js
v1.19.0
Unpublished on npm and CDN due to broken dist bundles.
Added
- Add two-argument
Plotly.plot
call signature [#1014] - Add two-way binding functionality to updatemenus and sliders [#1016]
- Add
width
,base
andoffset
attribute to bar trace [#1075] - Add
fromcurrent
anddirection
animation options [#1087] - Add ability to filter by arbitrary array [#1062]
Changed
- Rename
filtersrc
filter transform attributetarget
(with
backward-compatible map) [#1062] - Bump
sane-topojson
requirement to 2.0.0. New topojson dist files fix
the Michigan state border [#1077] - scattergl now handles higher resolution dates [#1033]
- Improve error messages in
Plotly.animate
[#1088]
Fixed
Plotly.newPlot
now respect user-defined layoutheight
andwidth
[#537]- Fix dendrogram cartesian axis layers [#1063]
- Fix RGBA colorscale handler for contour [#1090]
- Fix gl2d axis title positioning [#1067]
- Fix gl2d multi-line axis tick labels display [#1087]
- Fix performance deficit of scattergl trace type with date coordinates [#1021]
- Fix ohlc trace offset computation [#1066]
- Fix ohlc and candlestick default trace names [#1073]
- Make
Plotly.animate
work with frames container array containers (e.g
annotations) [#1081] - Make
restyle
andrelayout
consistently remove items in array containers
when called with value argumentnull
[#1086]
v1.18.1
Fixed
- Fix cartesian subplot resize [#1049]
- Fix cartesian interactivity after click [#1049]
- Fix
scattergeo
traces with not-found country names [#1046] - Honor
'name'
hoverinfo flag inohlc
traces [#1050] - Fix animation merging for frames including array containers [#1041, #1048]
- Fix
requestAnimationFrame
polyfill for script-tag imports [#1039]
v1.18.0
Added
- Add
ohlc
andcandlestick
trace types [#1020] - Add slider layout component [#986, #1029]
- Add filter and groupby transforms [#936, #978]
- Add support for all cartesian trace types and subplot configuration in
range slider range plots [#946, #1017] - Add update menus
'buttons'
type,direction
andshowactive
options [#974] - Add
pad
attributes to update menus for more intuitive positioning [#989] - Add
plotly_hover
,plotly_click
andplotly_unhover
event emitters
on gl2d subplot [#994] - Make
'text'
mode scatter traces animatable [#1011] - Add picking for
'line'
mode scattergeo traces [#1004] - Add support for
fill: 'toself'
in scattergeo traces [#1004]
Changed
- Allow null / undefined frames in
Plotly.addFrames
[#1013]
Fixed
- Allow range sliders to properly relayout [#962]
- Fix handling of
NaN
gaps in range slider range plots [#946, #1017] - Properly skip over
NaN
s in scattergeo data arrays [#1004] - Fix handling graph div with style
visibility: inherit
[#990] - Fix
Plotly.update
for updates that require a full data + layout replot [#971] - Let update menus use
Plotly.update
method value [#972] - Fix tickfont relayout call on 3D subplot [#982]
v1.17.3
Fixed
- Fix scatter text node translations on range relayout [#956]
- Fix
Plotly.restyle
for scatter tracemode
[#956] - Fix color mapping discontinuity in
surface
trace with circular colorscale
[#959] - Fix
Plotly.redraw
when scatter traces are added to the graph [#947] - Fix double click side-effects in gl2d plots [#958]
- Emit event animatingframe frame during animations [#953]
v1.17.2
v1.17.1
Fixed
- Restyling
visible
tofalse
on all scatter traces present on a graph
is now working again (bug introduced in 1.17.0) [#920] - Relayouting
paper_bgcolor
now properly propagate to legend
and updatemenu `bgcolor [#921] - Mapbox plot routine no longer make request to public Mapbox server
when linked to a Mapbox Atlas instance [#919]
v1.17.0
Added
- Add support for animations for scatter trace [#802]
- Add frames and animate API ->
Plotly.animate
,Plotly.addFrames
and
Plotly.deleteFrames
[#802] - Add
Plotly.update
method which can perform data and layout updates in one
call [#875] - Add
pointcloud
gl2d trace type [#850, #869] - Add
xgap
andygap
to heatmap traces to define space between heatmap bricks
[#868] - Add
separatethousands
axis attribute which determines whether four-digit
numbers are separated or not [#848] - Add
'skip'
value to tracehoverinfo
corresponding to traces transparent to
the hover picking routine [#851] - Add support for trace opacity in
toself
filled trace [#896] - Add global transform config option [#852]
- Add
requestAnimationFrame
polyfill todist/extras/
[#904]
Changed
- Explicitly skip undefined props on
restyle
andrelayout
[#844] - Removed a few circular dependency patterns [#833, #837, #845, #878]
Fixed
- Fix legend trace toggle background attributes on restyle [#909]
- Make 'yanchor' default be its intended value of
'top'
[#894] - Fix box plot jitter algorithm when IQR = 0 [#915]
- Fix box plot jitter algorithm when data range is 0 [#915]
- Fix mapbox event firing duplicates [#901]
- Fix mapbox visible false traces handling on first draw [#900]
- Avoid draw buffer to display buffer copy in gl2d plots [#843]
- Do not extend data array on event emission [#842, #866]
- Make
Plotly.redraw
throw an error when called on non plotly graph div [#907] - Make
plotly.min.js
work when injected in Require.js environment [#914]
v1.16.3
Fixed
- Fix SVG exports for graphs with layout images [#846]
- Properly handles duplicate categories in non-default
categoryorder
[#863] - Fix range selector position logic for overlaying axes [#873]
- Autorange is now properly computed for heatmapgl and contourgl traces [#855,
#874] - Trace toggling via legend preserves axis ranges in gl2d plots [#855, #874]
- Bump
mapbox-gl
dependency to 0.22.0 [#867]