Skip to content

Releases: plotly/plotly.js

v3.7.0

Choose a tag to compare

@camdecoster camdecoster released this 03 Jul 20:23

Changed

  • Update sendDataToCloud modebar button to upload chart to Plotly Cloud [#7802, #7852, #7854]
    • NOTE: The Plotly Cloud endpoint for receiving charts is not yet functional, so this button won't complete the upload.

Fixed

  • Fix stale scattergl error bars after toggling traces with mixed error bar visibility [#7773], with thanks to @JulienIcon for the contribution!
  • Fix "unrecognized GUI edit: selections[0]..." warnings emitted after making a box or lasso selection and then calling Plotly.react() [#7836]
  • Fix geo fitbounds to choose a compact longitude range when point data straddles the antimeridian [#7837], with thanks to @SharadhNaidu for the contribution!
  • Preserve XML structural entities during decode when exporting SVG [#7838]
  • Fix Plotly.Fx.hover crash on scattermap traces when called programmatically with a pointNumber selection [#7882]

v3.6.0

Choose a tag to compare

@emilykl emilykl released this 01 Jun 16:17

Added

  • Add support for arrays for the pie property legendrank, so that it can be configured per slice [#7723], with thanks to @my-tien for the contribution!
  • Add hoversort layout attribute to sort unified hover label items by value [#7734], with thanks to @kimsehwan96 for the contribution!

Fixed

  • Fix unexpected ticklabelindex behavior when minor ticks are not shown [#7735], with thanks to @my-tien for the contribution!
  • Fix issue where hoveranywhere / clickanywhere would not emit hover and click events over editable shapes [#7788]
  • Handle 'pixel' size mode for shape labels [#7790]
  • Update box plot defaults to fix issue with calling Plotly.react to switch from box to violin plot [#7811]
  • Include shapes with legendgroup specified when handling legend visibility toggling [#7813]

Full Changelog: v3.5.1...v3.6.0

v3.5.1

Choose a tag to compare

@emilykl emilykl released this 01 May 20:51

Changed

  • Reduce NPM bundle size by removing unneeded files [#7746]

Fixed

  • Fix bug where certain axis.minallowed values could cause axis to be reversed [#7761]

Full Changelog: v3.5.0...v3.5.1

v3.5.0

Choose a tag to compare

@emilykl emilykl released this 03 Apr 15:33

Added

  • Add hoveranywhere and clickanywhere layout attributes to enable emitting hover and click events anywhere in the plot area, not just over traces [#7707]
  • Add displayNotifier configuration property to set the display of notifier in the top right area of the viewport [#7730], with thanks to @silversonicaxel for the contribution!
  • Update USA location lookup for scattergeo and choropleth traces to use both location names and abbreviations [7731]

v3.4.0

Choose a tag to compare

@alexshoe alexshoe released this 20 Feb 22:08

Added

  • Add support for clicking legend titles to toggle visibility of all traces in legend [#7698]
  • Add support for shapes to reference multiple axes [#7666]
  • Add support for dashed marker lines in scatter plots [#7673], with thanks to @chrimaho for the contribution!

Changed

  • Increase axis autorange when bar charts have outside text labels, to avoid labels being clipped [#7675]

Fixed

  • Fix issue where some traces in stacked area charts were not rendering their fill correctly after certain sequences of hide/show operations in the legend [#7668]
  • Fix out of bounds index during scattergl animation trace type [#7676], with thanks to @BJohnBraddock for the contribution!

v3.3.1

Choose a tag to compare

@emilykl emilykl released this 12 Dec 22:44

Added

  • Add support for arrays for the pie properties showlegend and legend, so that these can be configured per slice. [#7580], with thanks to @my-tien for the contribution!

Changed

  • Replace deprecated String.substr() with String.slice() [#7662], with thanks to @JBR-0100 for the contribution!

Full Changelog: v3.3.0...v3.3.1

v3.3.0

Choose a tag to compare

@camdecoster camdecoster released this 14 Nov 22:17

Added

  • Add hovertemplate for candlestick and ohlc traces [#7619]
  • Generate list of ISO codes for provided topojson maps, update info for some disputed territories [#7622]

Changed

  • Turn off borders for plot container in CSS reset [#7617]

Fixed

  • Fix KDE sampling precision in violin trace to eliminate floating-point drift and prevent density underrun/overrun [#7581], with thanks to @Koookadooo for the contribution!

v3.2.0

Choose a tag to compare

@emilykl emilykl released this 31 Oct 16:25

Added

  • Add hovertemplatefallback and texttemplatefallback attributes [#7577]

Fixed

  • Fix wrong scrolling behavior for legend [#7067], with thanks to @Lexachoc for the contribution!
  • Fix bug affecting use of customdata with typed arrays [#7608]

Full Changelog: v3.1.2...v3.2.0

v3.1.2

Choose a tag to compare

@camdecoster camdecoster released this 16 Oct 19:17

Added

  • Add "SI extended" formatting rule for tick exponents on axis labels, allowing values to be displayed with extended SI prefixes (e.g., femto, pico, atto) [#7249], with thanks to @dberardi99 for the contribution!

Fixed

  • Fix editable title.text for ternary, polar, colorbar, and rangeslider (regression introduced in 3.0.0) [#7513], with thanks to @Lexachoc for the contribution!
  • Fix layout.title.subtitle does not properly clear/remove from the chart when subtitle object is not in place, or subtitle.text set to null, empty string, or whitespace-only values [#7571], with thanks to @cminn10 for the contribution!
  • Fix issue where visible property of one legend was affecting another [#7574]
  • Resolve incorrect shape clipping for domain-referenced shapes on n*10th subplot [#7576]
  • Update config diff check method to handle nested arrays [#7579]

v3.1.1

Choose a tag to compare

@emilykl emilykl released this 29 Sep 18:34

Fixed

  • Update plot with all config changes during call to Plotly.react [#7475]
  • Fix wheel event handler Violation in Chromium by setting passive: true [#7517]
  • Fix locationmode warning to be less aggressive: show warning only when locationmode is 'country names' [#7520]
  • Refactor drawMainTitle to use context-specific selections for title and subtitle, avoiding conflicts when multiple plots are present on the same page [#7522], with thanks to @davibarbosa2 for the contribution!
  • Fix broken styling of map attributions [#7526]
  • Calculate colorscale properly for histogram when marker cmin/cmax/cmid values are undefined [#7534]
  • Tidy up some stray characters in attribute descriptions [#7539], [#7540]
  • Fix some typos (and a conditional check) [#7542], with thanks to @musvaage for the contribution!
  • Fix cropping of subunits in USA topojson, clean up land and coastlines layers for all topojson [#7555]
  • Fix issue causing empty ScatterGL plots when using text elements #7563

Full Changelog: v3.1.0...v3.1.1