Releases: plotly/plotly.js
Releases · plotly/plotly.js
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]
v1.5.2
v1.5.1
Fixed
- Scattergeo and choropleth now correctly fire hover and click events [#215]
- Heatmap and contour traces are redrawn in the correct order [#194]
- Early returns in
Plotly.plotnow correctly return Promise rejections [#226] - Soon to be deprecated
SVGElement.offsetParentcalls are removed [#222] - Geo zoom in button is now correctly titled
Zoom in[#219] - All attribute description are correctly stripped from the dist files (bug
introduced in 1.5.0) [#223] - Insecure dev dependencies
ecstaticanduglify-jsare bumped [#225] - Outdated karma-browserify dev dependency is bumped [#229]
v1.5.0
First modular release.
Added
- Modularize the library (first iteration). Trace types can be required in
one-by-one to make custom plotly.js bundles of lesser size. [#180, #187, #193, #202]
Changed
- Remove json assets from the js source files (to better support Webpack bundling) [#183]
- Update d3, tinycolor2, topojson dependencies [#195]
- Improve
'colorscale'attribute description [#186]
Fixed
v1.4.1
v1.4.0
v1.3.1
v1.3.0
Added
Changed
- [Internal] Trace module have now a 1-to-1 correspondence with trace type [#124]
- [Internal] Remove circularize import in colorbar and colorscale module [#136]
Fixed
- Fixed zeroline behavior in gl3d plots [#112]
- Axis
tickangleconsistently used degrees in both svg and gl plots [#131] Plotly.newPlotdestroy mode bar before plotting new one [#125]Plotly.newPlotremoves all event listeners from graph div [#117]- Fixed attribute description for scatter3d marker opacity [#114]
v1.2.1
v1.2.0
Added
- All
Plotly.____methods now return a promise, and pass the graph-div as an argument [#77] package.jsonnow haswebpackfield so plotly.js can be used by webpack users [#68]- Add support for rgba colours in pie-charts [#63]
Changed
- Optimized by calling window.getComputedStyle only once [#81]
- Improved npm install process for topojson file resolve [#48]