Releases: plotly/plotly.js
Releases · plotly/plotly.js
v1.42.1
Fixed
- Fix IE regression introduced in 1.42.0 [#3187]
- Fix
parcatstext-shadowing on darkplot_bgcolor[#3191] - Fix
scatter3dtext alignment [#3180] - Fix
hoverinfoflags in attribute descriptions [#3158] - No longer list and coerce unused
hoverlabelattribute inparcoods[#3158] - No longer list and coerce
transformsattributes in traces that don't support them [#3158]
v1.42.0
Added
- Add
parcats(aka parallel categories) trace type [#2963, #3072] - Add new gl3d tick and title auto-rotation algorithm that limits text
overlaps [#3084, #3104, #3131] - Add support for reversed-range axes on gl3d subplots [#3141]
- Add modebar layout style attributes:
orientation,bgcolor,color
andactivecolor[#3068, #3091] - Add
title,titlepositionandtitlefontattributes topietraces [#2987] - Add
hoverlabel.splitattribute toohlcandcandlesticktraces to split
hover labels into multiple pieces [#2959] - Add support for
line.shapevalues 'hv', 'vh', 'hvh' and 'vhv'
inscattergltraces [#3087] - Add handler for
PlotlyConfig.MathJaxConfig: 'local'to override our default
MathJax behavior which modifies the global MathJax config on load [#2994] - Add support for graph div as first argument for
Plotly.makeTemplate
andPlotly.validateTemplate[#3111, #3118] - Implement trace, node and link hoverinfo for
sankeytraces [#3096, #3150] - Implement per-sector textfont settings in
pietraces [#3130]
Changed
- Use new Plotly logo in "Produced with Plotly" modebar button [#3068]
- Improve
histogramautobin algorithm: allow partial bin specification,
deprecateautobin(x|y)attributes, force stacked/grouped histograms to match size
and have compatiblestartvalue [#3044] - Count distinct values for category and date axis auto-type, which
improves the detection of "NaN" string values in numerical data [#3070] - Improve bar and pie textfont color inheritance [#3130]
- Improve
splomfirst-render, axis range relayout and marker restyle
performance [#3057, #3161] - Make
splomxaxesandyaxeslist always have same length as the trace
dimensionsregardless of their partial visiblities [#3057] - Improve axis
overlayingdocumentation [#3082]
Fixed
- Fix
gl3dsubplots on tablets [#3088] - Fix responsive behavior under flexbox and grid CSS [#3056, #3090, #3122]
- Fix relayout calls turning back
autosizeon [#3120] - Fix MathJax rendering (for recent versions of MathJax) [#2994]
- Fix
scatterglupdate on graphs with fractional computed dimensions [#3132] - Fix
scatterglsymbols in MS Edge [#2750] - Fix
scatterglselections on overlaying axes [#3067] - Fix
scattergltozerofills with bad values [#3087, #3168] - Fix
scatterglfill layer ordering [#3087] - Fix
scattergllines on reversed-range axes [#3078] - Fix axis auto-type routine for boolean data [#3070]
- Fix
splomaxis placement when the diagonal is missing [#3057] - Fix line
restylecalls onparcoordstraces [#3178] - Fix
parcoodsrendering afterhovermoderelayout calls [#3123] - Fix WebGL warnings for
scatter3dtraces with blank text items [#3171, #3177] - Fix WebGL warnings for
scatter3dtrace with empty lines [#3174] - Fix rendering of
scatter3dlines for certain scene angles [#3163] - Fix handling of large pad values in
sankeytraces [#3143] - Fix
scatterpolargltoscatterpolartoggling [#3098] - Fix
scatterpolarglaxis-autorange padding [#3098] - Fix
bartext position for traces with setbase[#3156] - Fix
barsupport for typed arrays forwidthandoffsetattributes [#3169] - Fix aggregate transforms with bad group values [#3093]
- Fix transforms operating on auto-invisible traces [#3139]
- Fix templating for polar and carpet axes [#3092, #3095]
- Ignore invalid trace indices in restyle and update [#3114]
- Fix grid style
relayoutcalls on graph with largesplomtraces [#3067] - Fix logging on some old browsers [#3137]
- Remove erroneous warning
WARN: unrecognized full object valuewhen
relayouting array containers [#3053]
v1.41.3
Fixed
- Fix handling of hover
textinbarpolartraces [#3040] - Fix
scatterpolar[gl]textplacement in hover label [#3040] - Fix
pietrace support for individual stroke width values [#3030] - Fix handling of CSS
max-widthandmax-heightin auto-size routine [#3033] - Rotate hover labels when
hovermode: 'y'and a single trace produces multiple
labels [#3043] - Rotate hover labels when
hovermode: 'closest'and multiple labels are
generated including one from an horizontal trace [#3043] - Fix hover label coloring on white bgcolor [#3048]
- Do not coerce nor validate
polar?.bar*attributes on
subplots w/o visiblebarpolartraces [#3023] - Fix legacy polar attribute descriptions [#3023]
v1.41.2
v1.41.1
Fixed
- Bring back hover labels on "touch" hover (bug introduced in 1.29.0) [#2997]
- Fix MathJax rendering in legends [#3018]
- Fix fill and layering for multiple stack-groups and unstacked
scattertraces [#3005] - Fix removal of
scattertraces with setstackgroup[#3005] - Fix stacked area gap insertion edge case [#3017]
- Fix zeroline logic for
splom-generated axes [#3015] - Fix
error_xanderror_yonscatter3dw/oerror_z[#3011] - Fix
scatter3derror bars on log axes [#2992] - Fix
Plotly.reactwhen updating geo axisdtick[#3016] - Fix
polar.hole=1case [#3021] - Fix handling of
polar.sectorthat span more than 360 degrees [#3021]
v1.41.0
Added
- Enable selection by clicking on points via new layout attribute
clickmode
and flag'select'[#2944] - Add stacked area charts via new attributes
stackgroupandstackgapsin
scattertraces [#2960] - Add
barpolartraces - which replace and augmentareatraces [#2954] - Add
polar.holeto punch hole at the middle of polar subplot offsetting the
start of the radial range [#2977, #2996] - Add an 'inner' radial axis drag box on polar subplots [#2977]
- Add
{responsive: true}plot config option [#2974] - Emit
plotly_webglcontextlostevent on WebGL context lost [#2986] - Support all numbered HTML entities (decimal and hex) in text elements [#2932]
- Add Welsh (
cy) locale [#2945]
Changed
- Attribute meta information is now stripped be stripped out of bundles (made
with bundlers that support browserify transforms) by default [#1584] - Draw polar axis ticks above polar axis lines [#2977]
- Improve ordering of trace hover labels for matching positions [#2960]
- Speed polar subplot radial drag interactions [#2954]
- Improve pseudo-html conversion performance [#2932]
- Bump
regl-splomrequirement to^1.0.4[#2956] - Bump
glslifyrequirement to^6.3.1[#2990] - Use
gl-textinstead of@etpinard/gl-text[#2956]
Fixed
- Fix
scatterordering in inner SVG<g>on some restyle calls [#2978] - Fix cartesian axis autorange edge cases [#2960]
- Fix double-decoding of some HTML entities in text nodes [#2927]
- Fix
scatterglline traces rendered after non-line traces [#2990] - Fix legend positioning on graphs with very large margins [#2983]
- Fix rendering of ternary subplots fix with
showticklabels: false[#2993] - Fix show/hide updates of tick and tick labels on ternary subplots [#2993]
- Fix handling of multi-selections in ternary subplots [#2944]
- Fix
sankeyhover underhovermode: false[#2949] - Fix
sankeypositioning for non-defaultdomain.xvalues [#2984] - Fix
type: 'date'polar radial axes [#2954] - Fix send-to-cloud modebar buttons on graphs with typed arrays [#2995]
- Fix handling of custom transforms that make their own data arrays in
Plotly.react[#2973] - Fix missing violin and colorbar attributes in
gd._fullData[#2850]
v1.40.1
Changed
- Bump
browserifytov16[#2923] - Bump
glslifytov6.2.1[#2923] - Use
[email protected]throughout code base [#2923]
Fixed
- Fix logic for hiding zero lines when they conflict with axis lines [#2936]
- Fix
exponentformatvalues'e'and'E'on log axes [#2921] - Fix dynamic layer ordering of
heatmapandcarpettraces [#2917] - Fix
Plotly.downloadImagewhen using graph id or figure object
as first argument [#2931] - Fix regl-based rendering when WebGL buffer dimensions don't match canvas
dimensions [#2939]
v1.40.0
Added
- Allow
contour,contourcarpetandhistogram2dcontourto have
corresponding legend items usingshowlegend[#2891, #2914] - Add
scatterpolarandscatterpolarglattributesr0,dr,theta0and
dtheta[#2895] - Add layout attributes
piecolorwayandextendpiecolors
for more control overpiecolors [#2870] - Add splom attribute
dimensions[i].axis.typeto easily override axis type
in splom-generated axes [#2899] - Add support for on-graph text in
scatterpolargltraces [#2895]
Changed
- Use
derequirebrowserify plugin to make bundling distributed npm package
with browserify possible [#2905] - Speed up cartesian axis autorange edits (and thus double-click interactions) [#2823]
- Do not clear WebGL context when
scatterglgraph has novisible:true
traces, which speeds up e.g. legend interactions [#2860] - Compute data extremes per trace, which improves performance in some cases [#2860]
- Use
<linearGradient>to render filled colorbars [#2910, #2914] - Rename trace module
setPositionsmethodscrossTraceCalc[#2868] - Use
[email protected][#2863]
Fixed
- Fix scalar
marker.sizebounds in legend items [#2840] - Fix positioning of legend symbols for traces with fills [#2891]
- Fix
scatterglselect -> double-click -> pan behavior [#2815] - Fix
scatterglmarker for IE11 [#2863] - Fix inheritance of explicit
piecolors by later traces [#2870] - Fix layer ordering on graphs with multiple
contourtraces with heatmap
coloring [#2891] - Fix layer ordering on
visibletoggling forcontour-like traces [#2891] - Fix cases where colorbars would be drawn over its bounds [#2910]
- Fix
tickwidthedits onohlctraces [#2823] - Fix labels on splom-generated axes with categorical data [#2899]
- Fix handling of splom dimensions on axes of conflicting types [#2899]
- Fix
splomtracevisibleedits [#2860] - Fix
splomselect -> double-click -> pan behavior [#2899] - Fix
scatterpolarglbehavior during angular and radial drag interactions [#2888] - Fix handling of auto date ticks below our 100 microseconds limit [#2912]
- Fix
scatter3dattributes which had incorrectly labeledtextposition
andtextfont.familyasarrayOkand contained unimplementedline.showscale
andline.colorbar[#2879] - Fix
scatterglandscatterpolarglattribute declarations forhoveron[#2895]