plotly/plotly.js
 Watch   
 Star   
 Fork   
29 days ago
plotly.js

v3.3.1

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: https://github.com/plotly/plotly.js/compare/v3.2.0...v3.3.1

2025-11-15 05:20:44
plotly.js

v3.3.0

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!
2025-10-31 03:52:00
plotly.js

v3.2.0

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: https://github.com/plotly/plotly.js/compare/v3.1.2...v3.2.0

2025-10-17 01:52:00
plotly.js

v3.1.2

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]
2025-09-30 00:15:07
plotly.js

v3.1.1

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: https://github.com/plotly/plotly.js/compare/v3.1.0...v3.1.1

2025-08-08 23:14:05
plotly.js

v3.1.0

Added

  • Add property zerolinelayer to cartesian axes to allow drawing zeroline above traces [#7269]
  • Add pattern.path attribute as an alternative to the preset pattern.shape values, so you can use any SVG path string as a pattern fill. [#7280]
  • Allow configuration of horizontal legend max height [#7359]
  • Add modebardisable attribute to cartesian axes, to allow fine control over which buttons affect which axes [#7358]
  • Add support for ticklabelposition "inside"/"outside" for category axes with tickson set to "boundaries" [#7420], with thanks to @my-tien for the contribution!
  • Add unifiedhovertitle.text to format unified hover titles [#7439]
  • Add layout.hoverlabel.showarrow (and trace.hoverlabel.showarrow) attribute to allow hiding the triangular caret that appears on the hover label box [#7451]
  • Add minorloglabels to cartesian axes [#7468]
  • Make modebar keyboard-accessible via tabbing [#7492], with thanks to @davidangarita1 for the contribution!

Changed

  • Switch to United Nations (coastlines, countries, land, ocean) + Natural Earth (lakes, rivers, subunits) geodata for building topojson used in geo plot [#7393]
  • Make 'png' all caps [#7400]
  • Refactor files related to UN topojson [#7481]
  • Update default topojsonURL to point to new UN topojson [#7514]
  • Add breaking change warning for country names locationmode option in choropleth, scattergeo plots [#7514]

Fixed

  • Fix performance warning in scattergl traces, [#7390], with thanks to @MzyzzG for the contribution!
  • Move css-loader and other dependencies into devDependencies section [#7407]
  • Fix hidden ticklabels taking up plot space [#7417]
  • Fix editable shapes (regression introduced in 2.34.0) [#7470], with thanks to @my-tien for the contribution!
  • Update legend maxheight calculation logic [#7483]
  • Fix hover event not triggered on consecutive empty bins (count=0) with hovermode:'x' for histogram [#7503], with thanks to @Lexachoc for the contribution!
  • Remove form-data nested dependency associated with CVE-2025-7783 [#7514], with thanks to @KyleBoyer for the contribution!
2025-08-02 00:40:02
plotly.js

v3.1.0-rc.1

Added

  • Add modebardisable attribute to cartesian axes, to allow fine control over which buttons affect which axes [#7358]
  • Add unifiedhovertitle.text to format unified hover titles [#7439]
  • Add layout.hoverlabel.showarrow (and trace.hoverlabel.showarrow) attribute to allow hiding the triangular caret that appears on the hover label box [#7451]
  • Add minorloglabels to cartesian axes [#7468]
  • Make modebar keyboard-accessible via tabbing [#7492], with thanks to @davidangarita1 for the contribution!

Changed

  • Refactor files related to UN topojson [#7481]

Fixed

  • Fix hidden ticklabels taking up plot space [#7417]
  • Fix editable shapes (regression introduced in 2.34.0) [#7470], with thanks to @my-tien for the contribution!
2025-07-24 07:49:27
plotly.js

v3.0.3

Removed

  • Remove detailed description of font options [7348]
2025-07-23 05:57:39
plotly.js

v3.0.2

Fixed

  • Fix installing dependencies in node v22 [#7381], with thanks to @chaigh-uk for the contribution!
  • Fix Persian calendar leap year [#7456]
  • Fix scroll wheel zoom for geo subplots in Safari [#7474]
  • Add method to check for WebKit WebView user agent string [#7479]
  • Fix edit colorbar title [7487]
2025-07-16 05:40:45
plotly.js

v3.1.0-rc.0

Added

  • Add property zerolinelayer to cartesian axes to allow drawing zeroline above traces [#7269]
  • Add pattern.path attribute as an alternative to the preset pattern.shape values, so you can use any SVG path string as a pattern fill. [#7280]
  • Allow configuration of horizontal legend max height [#7359]
  • Add support for ticklabelposition "inside"/"outside" for category axes with tickson set to "boundaries" [#7420], with thanks to @my-tien for the contribution!

Changed

  • Switch to United Nations (coastlines, countries, land, ocean) + Natural Earth (lakes, rivers, subunits) geodata for building topojson used in geo plot [#7334]
  • Make 'png' all caps [#7400]

Fixed

  • Fix installing dependencies in node v22 [#7381], with thanks to @chaigh-uk for the contribution!
  • Fix performance warning in scattergl traces, [#7390], with thanks to @MzyzzG for the contribution!
  • Move css-loader and other dependencies into devDependencies section [#7407]
  • Fix Persian calendar leap year [#7456]