Skip to content

Releases: plotly/plotly.js

v1.8.0

04 Apr 20:44
Compare
Choose a tag to compare

Added

  • Range slider functionality for scatter traces [#336, #368, #377]
  • Range selector functionality for cartesian and gl2d plot types [#373]
  • Support for connectgaps in scatter3d traces [#361]

Fixed

  • gl2d toImage mode bar button is now again functional (bug introduced in 1.7.0) [#369]
  • IE / Edge handling of getComputedTextLength is now functional [#376]
  • improved marker color attribute description [#366]

v1.7.1

30 Mar 14:18
Compare
Choose a tag to compare

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

22 Mar 14:10
Compare
Choose a tag to compare

Added

  • Custom surface color functionality (for 4D plotting) is added to surface traces [#347]
  • Top-level Plotly.purge method (which returns the graph div in its
    pre-Plotly.plot state) is added [#300]
  • Support for custom hover labels on multiple subplots in Plotly.Fx.hover is
    added [#301]

Fixed

  • Error bars node ordering now respect the trace ordering [#343]
  • Geo traces nodes now update properly on streaming plot calls [#324]
  • jQuery check in event module is made more robust [#328]

v1.6.3

07 Mar 15:18
Compare
Choose a tag to compare

Fixed

  • Argument parsing for vertex and face colors of mesh3d traces is now
    functional [#287]

v1.6.2

03 Mar 18:47
Compare
Choose a tag to compare

Fixed

  • SVG overflow property is now properly set for IE11 [#305, #306]
  • Hover labels associated with text arrays with falsy values are properly
    skipped over [#310]
  • Snapshot routines now strip browser-only user-select style attributes [#311]

v1.6.1

01 Mar 21:04
Compare
Choose a tag to compare

Fixed

  • Legend scroll bars are no longer invalid SVG elements (bug introduced in 1.6.0) [#304]
  • Colorscale YlGnBu and YlOrRd are now properly identified [#295]

v1.6.0

29 Feb 15:35
Compare
Choose a tag to compare

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_deselect is now emitted after double-clicking in select and
    lasso drag modes [#255]
  • Event plotly_doubleclick is now emitted after double-clicking on SVG cartesian
    graphs in zoom and pan drag modes [#255]
  • Layout attributes dragmode and hovermode can now be set individually in
    each scene [#258]
  • Plotly.Plots.resize now returns a promise. [#253, #262]

Fixed

  • Plotly.deleteTraces now properly deletes the last trace of a cartesian
    subplot [#289]
  • Plotly.deleteTraces now works on heatmap, contour, pie, surface, mesh3d and
    geo trace types [#289]
  • Plotly.deleteTraces now properly delete color bars associated with deleted
    traces [#289]
  • Clearing cartesian axes via relayout no longer results in an uncaught error
    [#289]
  • Events plotly_hover, plotly_unhover and plotly_click are 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 hovermode is set to
    false [#258]
  • Multi-scene 3D graphs now set their camera position via their own scene
    attributes [#258]
  • Toggling hovermode on 3D graphs no longer resets the scene domain [#258]
  • Resetting the camera position on scenes where the camera attribute was
    supplied no longer results in an uncaught error [#258]
  • Axis attributes hoverformat, tickprefix, ticksuffix are honored even
    when showticklabels is set to false [#267]
  • Config option doubleClick set to 'reset' now properly handles auto-ranged
    axes [#285]

v1.5.2

10 Feb 14:40
Compare
Choose a tag to compare

Fixed

  • Fix geo trace visibility toggling (bug introduced in 1.5.1) [#245]

v1.5.1

01 Feb 16:02
Compare
Choose a tag to compare

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.plot now correctly return Promise rejections [#226]
  • Soon to be deprecated SVGElement.offsetParent calls 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 ecstatic and uglify-js are bumped [#225]
  • Outdated karma-browserify dev dependency is bumped [#229]

v1.5.0

25 Jan 16:12
Compare
Choose a tag to compare

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

  • Fix pan mode drag delay [#188]
  • Make Plotly.deleteTrace handle big-indices-array properly [#203]