Releases: plotly/plotly.js
Releases · plotly/plotly.js
v1.10.0
Added
- Beta version of two new 2D WebGL trace types:
heatmapglandcontourgl
[#427, #434] - Two new
scatterlinefillmodes:'toself'and'tonext'[#462] - Fills for
scatterternarytraces are now supported [#462] - Configurable axis category ordering with
categoryorderand an optional
categoryarrayaxis attributes [#419] - Configurable shapes layer position with shape attribute
layer[#439] - Configurable range slider range (so that the initial xaxis range can differ
from the range slider range) [#473]
Changed
- Nested SVG elements in SVG image exports are removed, making the to-image mode
bar button work in RStudio and SVG export compatible with Adobe Illustrator
[#415, #454, #442] - Use
country-regexnpm package instead of hard-coded file of ISO-3 code to
country regular expressions [#461]
Fixed
- Legend positioning does not break on negative
xandysettings (bug
introduced in 1.6.0) [#417] - Shapes are properly deleted when clearing all of them at once (bug introduced
in 1.9.0) [#465] - Promise are return after first render in gl3d and gl2d plots [#421]
- Click and hover events are properly triggered when trace
hoverinfois set to
'none'[#438] plotly_unhoverevents is now properly triggered on geo trace types [#429]plotly_relayoutevent is now properly triggered on gl3d set camera [#458]- RGBA colors are now supported in
scatterandbarcustom color scales
[#422] - Range slider is now functional with
x0/dxdata [#441] - Range slider is now compatible with mode bar axis range buttons and double
click [#471]
v1.9.0
v1.8.0
v1.7.1
Fixed
- Legend dimensions are correctly updated (bug introduced in 1.7.0) [#365]
- Friction between cartesian double-click and drag interactions is reduced [#355]
- Ultra-zoomed svg line paths are correctly computed [#353]
- Initial axis ranges are no longer reset on data-updating restyle calls [#351]
- Events now work in jQuery no-conflict scopes (bug introduced in 1.7.0) [#352]
v1.7.0
v1.6.3
v1.6.2
v1.6.1
v1.6.0
Added
- SVG cartesian, 3D, geographic maps and pie chart can now coexist on the same
graph [#246, #258, #289] - Legends with long item lists are now scrollable (instead of being cropped)
[#243] - Event
plotly_deselectis now emitted after double-clicking inselectand
lassodrag modes [#255] - Event
plotly_doubleclickis now emitted after double-clicking on SVG cartesian
graphs inzoomandpandrag modes [#255] - Layout attributes
dragmodeandhovermodecan now be set individually in
each scene [#258] Plotly.Plots.resizenow returns a promise. [#253, #262]
Fixed
Plotly.deleteTracesnow properly deletes the last trace of a cartesian
subplot [#289]Plotly.deleteTracesnow works on heatmap, contour, pie, surface, mesh3d and
geo trace types [#289]Plotly.deleteTracesnow properly delete color bars associated with deleted
traces [#289]- Clearing cartesian axes via
relayoutno longer results in an uncaught error
[#289] - Events
plotly_hover,plotly_unhoverandplotly_clickare properly
emitted on 3D graphs [#240] - Null and undefined categories are properly skipped over [#286]
- Hover labels on 3D graphs are now properly hidden when
hovermodeis set to
false [#258] - Multi-scene 3D graphs now set their camera position via their own scene
attributes [#258] - Toggling
hovermodeon 3D graphs no longer resets the scene domain [#258] - Resetting the camera position on scenes where the
cameraattribute was
supplied no longer results in an uncaught error [#258] - Axis attributes
hoverformat,tickprefix,ticksuffixare honored even
whenshowticklabelsis set to false [#267] - Config option
doubleClickset to'reset'now properly handles auto-ranged
axes [#285]