Skip to content

Commit 0d3d915

Browse files
committed
Merge branch 'master' into build-with-esbuild
2 parents 4e49206 + 39bd75f commit 0d3d915

File tree

85 files changed

+3831
-932
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+3831
-932
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,25 @@ To see all merged commits on the master branch that will be part of the next plo
99

1010
where X.Y.Z is the semver of most recent plotly.js release.
1111

12+
## [2.30.0] -- 2024-03-06
13+
14+
### Added
15+
- Add fill gradients for scatter traces [[#6905](https://github.com/plotly/plotly.js/pull/6905)],
16+
with thanks to @lumip for the contribution!
17+
- Add `indentation` to legend [[#6874](https://github.com/plotly/plotly.js/pull/6874)],
18+
with thanks to @my-tien for the contribution!
19+
20+
### Fixed
21+
- Fix tooltip pointer position [[#6901](https://github.com/plotly/plotly.js/pull/6901)],
22+
with thanks to @OBe95 for the contribution!
23+
- Fix standoff position [[#6889](https://github.com/plotly/plotly.js/pull/6889), [#6914](https://github.com/plotly/plotly.js/pull/6914)],
24+
with thanks to @ayjayt for the contribution!
25+
- Fix resizing `pie` and `funnelarea` traces when textinfo is set to "none" [[#6893](https://github.com/plotly/plotly.js/pull/6893)],
26+
with thanks to @robbtraister for the contribution!
27+
- Fix `insiderange` on category axes [[#6910](https://github.com/plotly/plotly.js/pull/6910)]
28+
- Fix display of "boundaries" `tickson` when `tickmode` is set to "array" [[#6912](https://github.com/plotly/plotly.js/pull/6912)]
29+
30+
1231
## [2.29.1] -- 2024-02-12
1332

1433
### Fixed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
5555
5656
```html
5757
<head>
58-
<script src="https://cdn.plot.ly/plotly-2.29.1.min.js" charset="utf-8"></script>
58+
<script src="https://cdn.plot.ly/plotly-2.30.0.min.js" charset="utf-8"></script>
5959
</head>
6060
<body>
6161
<div id="gd"></div>
@@ -72,7 +72,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
7272
Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
7373
```html
7474
<script type="module">
75-
import "https://cdn.plot.ly/plotly-2.29.1.min.js"
75+
import "https://cdn.plot.ly/plotly-2.30.0.min.js"
7676
Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
7777
</script>
7878
```
@@ -82,7 +82,7 @@ Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastl
8282
### Un-minified versions are also available on CDN
8383
While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
8484
```html
85-
<script src="https://cdn.plot.ly/plotly-2.29.1.js" charset="utf-8"></script>
85+
<script src="https://cdn.plot.ly/plotly-2.30.0.js" charset="utf-8"></script>
8686
```
8787

8888
> Please note that as of v2 the "plotly-latest" outputs (e.g. https://cdn.plot.ly/plotly-latest.min.js) will no longer be updated on the CDN, and will stay at the last v1 patch v1.58.5. Therefore, to use the CDN with plotly.js v2 and higher, you must specify an exact plotly.js version.

dist/README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ The main plotly.js bundles weight in at:
4646
| 8.2 MB | 3.5 MB | 1 MB | 8.5 MB |
4747

4848
#### CDN links
49-
> https://cdn.plot.ly/plotly-2.29.1.js
49+
> https://cdn.plot.ly/plotly-2.30.0.js
5050
51-
> https://cdn.plot.ly/plotly-2.29.1.min.js
51+
> https://cdn.plot.ly/plotly-2.30.0.min.js
5252
5353

5454
#### npm packages
@@ -91,12 +91,12 @@ The `basic` partial bundle contains trace modules `bar`, `pie` and `scatter`.
9191

9292
| Raw size | Minified size | Minified + gzip size |
9393
|------|-----------------|------------------------|
94-
| 2.6 MB | 984.8 kB | 329.7 kB |
94+
| 2.6 MB | 986.7 kB | 330.3 kB |
9595

9696
#### CDN links
97-
> https://cdn.plot.ly/plotly-basic-2.29.1.js
97+
> https://cdn.plot.ly/plotly-basic-2.30.0.js
9898
99-
> https://cdn.plot.ly/plotly-basic-2.29.1.min.js
99+
> https://cdn.plot.ly/plotly-basic-2.30.0.min.js
100100
101101

102102
#### npm packages
@@ -114,12 +114,12 @@ The `cartesian` partial bundle contains trace modules `bar`, `box`, `contour`, `
114114

115115
| Raw size | Minified size | Minified + gzip size |
116116
|------|-----------------|------------------------|
117-
| 3.3 MB | 1.2 MB | 417.1 kB |
117+
| 3.3 MB | 1.2 MB | 417.7 kB |
118118

119119
#### CDN links
120-
> https://cdn.plot.ly/plotly-cartesian-2.29.1.js
120+
> https://cdn.plot.ly/plotly-cartesian-2.30.0.js
121121
122-
> https://cdn.plot.ly/plotly-cartesian-2.29.1.min.js
122+
> https://cdn.plot.ly/plotly-cartesian-2.30.0.min.js
123123
124124

125125
#### npm packages
@@ -137,12 +137,12 @@ The `geo` partial bundle contains trace modules `choropleth`, `scatter` and `sca
137137

138138
| Raw size | Minified size | Minified + gzip size |
139139
|------|-----------------|------------------------|
140-
| 3.1 MB | 1.1 MB | 372.4 kB |
140+
| 3.1 MB | 1.1 MB | 372.9 kB |
141141

142142
#### CDN links
143-
> https://cdn.plot.ly/plotly-geo-2.29.1.js
143+
> https://cdn.plot.ly/plotly-geo-2.30.0.js
144144
145-
> https://cdn.plot.ly/plotly-geo-2.29.1.min.js
145+
> https://cdn.plot.ly/plotly-geo-2.30.0.min.js
146146
147147

148148
#### npm packages
@@ -160,12 +160,12 @@ The `gl3d` partial bundle contains trace modules `cone`, `isosurface`, `mesh3d`,
160160

161161
| Raw size | Minified size | Minified + gzip size |
162162
|------|-----------------|------------------------|
163-
| 3.6 MB | 1.5 MB | 493.2 kB |
163+
| 3.6 MB | 1.5 MB | 493.7 kB |
164164

165165
#### CDN links
166-
> https://cdn.plot.ly/plotly-gl3d-2.29.1.js
166+
> https://cdn.plot.ly/plotly-gl3d-2.30.0.js
167167
168-
> https://cdn.plot.ly/plotly-gl3d-2.29.1.min.js
168+
> https://cdn.plot.ly/plotly-gl3d-2.30.0.min.js
169169
170170

171171
#### npm packages
@@ -183,12 +183,12 @@ The `gl2d` partial bundle contains trace modules `heatmapgl`, `parcoords`, `poin
183183

184184
| Raw size | Minified size | Minified + gzip size |
185185
|------|-----------------|------------------------|
186-
| 4.4 MB | 1.9 MB | 599.7 kB |
186+
| 4.4 MB | 1.9 MB | 600.3 kB |
187187

188188
#### CDN links
189-
> https://cdn.plot.ly/plotly-gl2d-2.29.1.js
189+
> https://cdn.plot.ly/plotly-gl2d-2.30.0.js
190190
191-
> https://cdn.plot.ly/plotly-gl2d-2.29.1.min.js
191+
> https://cdn.plot.ly/plotly-gl2d-2.30.0.min.js
192192
193193

194194
#### npm packages
@@ -206,12 +206,12 @@ The `mapbox` partial bundle contains trace modules `choroplethmapbox`, `densitym
206206

207207
| Raw size | Minified size | Minified + gzip size |
208208
|------|-----------------|------------------------|
209-
| 4.4 MB | 1.7 MB | 531.3 kB |
209+
| 4.4 MB | 1.8 MB | 531.9 kB |
210210

211211
#### CDN links
212-
> https://cdn.plot.ly/plotly-mapbox-2.29.1.js
212+
> https://cdn.plot.ly/plotly-mapbox-2.30.0.js
213213
214-
> https://cdn.plot.ly/plotly-mapbox-2.29.1.min.js
214+
> https://cdn.plot.ly/plotly-mapbox-2.30.0.min.js
215215
216216

217217
#### npm packages
@@ -229,12 +229,12 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne
229229

230230
| Raw size | Minified size | Minified + gzip size |
231231
|------|-----------------|------------------------|
232-
| 2.8 MB | 1 MB | 358.8 kB |
232+
| 2.8 MB | 1.1 MB | 359.4 kB |
233233

234234
#### CDN links
235-
> https://cdn.plot.ly/plotly-finance-2.29.1.js
235+
> https://cdn.plot.ly/plotly-finance-2.30.0.js
236236
237-
> https://cdn.plot.ly/plotly-finance-2.29.1.min.js
237+
> https://cdn.plot.ly/plotly-finance-2.30.0.min.js
238238
239239

240240
#### npm packages
@@ -255,9 +255,9 @@ The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `ca
255255
| 8.7 MB | 3.8 MB | 1.1 MB |
256256

257257
#### CDN links
258-
> https://cdn.plot.ly/plotly-strict-2.29.1.js
258+
> https://cdn.plot.ly/plotly-strict-2.30.0.js
259259
260-
> https://cdn.plot.ly/plotly-strict-2.29.1.min.js
260+
> https://cdn.plot.ly/plotly-strict-2.30.0.min.js
261261
262262

263263
#### npm packages

dist/plot-schema.json

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2848,6 +2848,13 @@
28482848
"valType": "number"
28492849
}
28502850
},
2851+
"indentation": {
2852+
"description": "Sets the indentation (in px) of the legend entries.",
2853+
"dflt": 0,
2854+
"editType": "legend",
2855+
"min": -15,
2856+
"valType": "number"
2857+
},
28512858
"itemclick": {
28522859
"description": "Determines the behavior on legend item click. *toggle* toggles the visibility of the item clicked on the graph. *toggleothers* makes the clicked item the sole visible item on the graph. *false* disables legend item click interactions.",
28532860
"dflt": "toggle",
@@ -45035,10 +45042,42 @@
4503545042
},
4503645043
"fillcolor": {
4503745044
"anim": true,
45038-
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available.",
45045+
"description": "Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. If fillgradient is specified, fillcolor is ignored except for setting the background color of the hover label, if any.",
4503945046
"editType": "style",
4504045047
"valType": "color"
4504145048
},
45049+
"fillgradient": {
45050+
"colorscale": {
45051+
"description": "Sets the fill gradient colors as a color scale. The color scale is interpreted as a gradient applied in the direction specified by *orientation*, from the lowest to the highest value of the scatter plot along that axis, or from the center to the most distant point from it, if orientation is *radial*.",
45052+
"editType": "style",
45053+
"valType": "colorscale"
45054+
},
45055+
"description": "Sets a fill gradient. If not specified, the fillcolor is used instead.",
45056+
"editType": "calc",
45057+
"role": "object",
45058+
"start": {
45059+
"description": "Sets the gradient start value. It is given as the absolute position on the axis determined by the orientiation. E.g., if orientation is *horizontal*, the gradient will be horizontal and start from the x-position given by start. If omitted, the gradient starts at the lowest value of the trace along the respective axis. Ignored if orientation is *radial*.",
45060+
"editType": "calc",
45061+
"valType": "number"
45062+
},
45063+
"stop": {
45064+
"description": "Sets the gradient end value. It is given as the absolute position on the axis determined by the orientiation. E.g., if orientation is *horizontal*, the gradient will be horizontal and end at the x-position given by end. If omitted, the gradient ends at the highest value of the trace along the respective axis. Ignored if orientation is *radial*.",
45065+
"editType": "calc",
45066+
"valType": "number"
45067+
},
45068+
"type": {
45069+
"description": "Sets the type/orientation of the color gradient for the fill. Defaults to *none*.",
45070+
"dflt": "none",
45071+
"editType": "calc",
45072+
"valType": "enumerated",
45073+
"values": [
45074+
"radial",
45075+
"horizontal",
45076+
"vertical",
45077+
"none"
45078+
]
45079+
}
45080+
},
4504245081
"fillpattern": {
4504345082
"bgcolor": {
4504445083
"arrayOk": true,

0 commit comments

Comments
 (0)