You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Y .notifier-note": "min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,0.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;",
57
57
"Y .notifier-close": "color:#fff;opacity:0.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;",
Copy file name to clipboardExpand all lines: dist/README.md
+25-25
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ object. This property must be set before the plotly.js script tag, for example:
51
51
Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
52
52
Many other localizations are available - here is an example using Swiss-German (de-CH),
53
53
see the contents of this directory for the full list.
54
-
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.53.0.js
54
+
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.54.0.js
55
55
Note that the file names are all lowercase, even though the region is uppercase when you apply a locale.
56
56
57
57
*After* the plotly.js script tag, add:
@@ -74,12 +74,12 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.
74
74
75
75
It be can imported as minified javascript
76
76
- using dist file `dist/plotly.min.js`
77
-
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.53.0.min.js
77
+
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.54.0.min.js
78
78
79
79
or as raw javascript:
80
80
- using the `plotly.js-dist` npm package (starting in `v1.39.0`)
81
81
- using dist file `dist/plotly.js`
82
-
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.53.0.js
82
+
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.54.0.js
83
83
- using CommonJS with `require('plotly.js')`
84
84
85
85
If you would like to have access to the attribute meta information (including attribute descriptions as on the [schema reference page](https://plotly.com/javascript/reference/)), use dist file `dist/plotly-with-meta.js`
@@ -88,7 +88,7 @@ The main plotly.js bundle weights in at:
Copy file name to clipboardExpand all lines: dist/plot-schema.json
+154-2
Original file line number
Diff line number
Diff line change
@@ -41235,6 +41235,21 @@
41235
41235
"description": "Sets the marker symbol. Full list: https://www.mapbox.com/maki-icons/ Note that the array `marker.color` and `marker.size` are only available for *circle* symbols.",
41236
41236
"editType": "calc"
41237
41237
},
41238
+
"angle": {
41239
+
"valType": "number",
41240
+
"dflt": "auto",
41241
+
"role": "style",
41242
+
"arrayOk": true,
41243
+
"description": "Sets the marker orientation from true North, in degrees clockwise. When using the *auto* default, no rotation would be applied in perspective views which is different from using a zero angle.",
41244
+
"editType": "calc"
41245
+
},
41246
+
"allowoverlap": {
41247
+
"valType": "boolean",
41248
+
"dflt": false,
41249
+
"role": "style",
41250
+
"description": "Flag to draw all symbols, even if they overlap.",
41251
+
"editType": "calc"
41252
+
},
41238
41253
"opacity": {
41239
41254
"valType": "number",
41240
41255
"min": 0,
@@ -41864,6 +41879,12 @@
41864
41879
"description": "Sets the source reference on Chart Studio Cloud for symbol .",
41865
41880
"editType": "none"
41866
41881
},
41882
+
"anglesrc": {
41883
+
"valType": "string",
41884
+
"role": "info",
41885
+
"description": "Sets the source reference on Chart Studio Cloud for angle .",
41886
+
"editType": "none"
41887
+
},
41867
41888
"opacitysrc": {
41868
41889
"valType": "string",
41869
41890
"role": "info",
@@ -57469,6 +57490,114 @@
57469
57490
"editType": "modebar",
57470
57491
"role": "object"
57471
57492
},
57493
+
"newshape": {
57494
+
"line": {
57495
+
"color": {
57496
+
"valType": "color",
57497
+
"editType": "none",
57498
+
"role": "info",
57499
+
"description": "Sets the line color. By default uses either dark grey or white to increase contrast with background color."
57500
+
},
57501
+
"width": {
57502
+
"valType": "number",
57503
+
"min": 0,
57504
+
"dflt": 4,
57505
+
"role": "info",
57506
+
"editType": "none",
57507
+
"description": "Sets the line width (in px)."
57508
+
},
57509
+
"dash": {
57510
+
"valType": "string",
57511
+
"values": [
57512
+
"solid",
57513
+
"dot",
57514
+
"dash",
57515
+
"longdash",
57516
+
"dashdot",
57517
+
"longdashdot"
57518
+
],
57519
+
"dflt": "solid",
57520
+
"role": "style",
57521
+
"editType": "none",
57522
+
"description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*)."
57523
+
},
57524
+
"role": "object",
57525
+
"editType": "none"
57526
+
},
57527
+
"fillcolor": {
57528
+
"valType": "color",
57529
+
"dflt": "rgba(0,0,0,0)",
57530
+
"role": "info",
57531
+
"editType": "none",
57532
+
"description": "Sets the color filling new shapes' interior. Please note that if using a fillcolor with alpha greater than half, drag inside the active shape starts moving the shape underneath, otherwise a new shape could be started over."
57533
+
},
57534
+
"fillrule": {
57535
+
"valType": "enumerated",
57536
+
"values": [
57537
+
"evenodd",
57538
+
"nonzero"
57539
+
],
57540
+
"dflt": "evenodd",
57541
+
"role": "info",
57542
+
"editType": "none",
57543
+
"description": "Determines the path's interior. For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"
57544
+
},
57545
+
"opacity": {
57546
+
"valType": "number",
57547
+
"min": 0,
57548
+
"max": 1,
57549
+
"dflt": 1,
57550
+
"role": "info",
57551
+
"editType": "none",
57552
+
"description": "Sets the opacity of new shapes."
57553
+
},
57554
+
"layer": {
57555
+
"valType": "enumerated",
57556
+
"values": [
57557
+
"below",
57558
+
"above"
57559
+
],
57560
+
"dflt": "above",
57561
+
"role": "info",
57562
+
"editType": "none",
57563
+
"description": "Specifies whether new shapes are drawn below or above traces."
57564
+
},
57565
+
"drawdirection": {
57566
+
"valType": "enumerated",
57567
+
"role": "info",
57568
+
"values": [
57569
+
"ortho",
57570
+
"horizontal",
57571
+
"vertical",
57572
+
"diagonal"
57573
+
],
57574
+
"dflt": "diagonal",
57575
+
"editType": "none",
57576
+
"description": "When `dragmode` is set to *drawrect*, *drawline* or *drawcircle* this limits the drag to be horizontal, vertical or diagonal. Using *diagonal* there is no limit e.g. in drawing lines in any direction. *ortho* limits the draw to be either horizontal or vertical. *horizontal* allows horizontal extend. *vertical* allows vertical extend."
57577
+
},
57578
+
"editType": "none",
57579
+
"role": "object"
57580
+
},
57581
+
"activeshape": {
57582
+
"fillcolor": {
57583
+
"valType": "color",
57584
+
"dflt": "rgb(255,0,255)",
57585
+
"role": "style",
57586
+
"editType": "none",
57587
+
"description": "Sets the color filling the active shape' interior."
57588
+
},
57589
+
"opacity": {
57590
+
"valType": "number",
57591
+
"min": 0,
57592
+
"max": 1,
57593
+
"dflt": 0.5,
57594
+
"role": "info",
57595
+
"editType": "none",
57596
+
"description": "Sets the opacity of the active shape."
57597
+
},
57598
+
"editType": "none",
57599
+
"role": "object"
57600
+
},
57472
57601
"meta": {
57473
57602
"valType": "any",
57474
57603
"arrayOk": true,
@@ -57598,6 +57727,11 @@
57598
57727
"pan",
57599
57728
"select",
57600
57729
"lasso",
57730
+
"drawclosedpath",
57731
+
"drawopenpath",
57732
+
"drawline",
57733
+
"drawrect",
57734
+
"drawcircle",
57601
57735
"orbit",
57602
57736
"turntable",
57603
57737
false
@@ -57708,7 +57842,7 @@
57708
57842
"any"
57709
57843
],
57710
57844
"dflt": "any",
57711
-
"description": "When \"dragmode\" is set to \"select\", this limits the selection of the drag to horizontal, vertical or diagonal. \"h\" only allows horizontal selection, \"v\" only vertical, \"d\" only diagonal and \"any\" sets no limit.",
57845
+
"description": "When `dragmode` is set to *select*, this limits the selection of the drag to horizontal, vertical or diagonal. *h* only allows horizontal selection, *v* only vertical, *d* only diagonal and *any* sets no limit.",
57712
57846
"editType": "none"
57713
57847
},
57714
57848
"grid": {
@@ -66817,7 +66951,25 @@
66817
66951
"dflt": "rgba(0,0,0,0)",
66818
66952
"role": "info",
66819
66953
"editType": "arraydraw",
66820
-
"description": "Sets the color filling the shape's interior."
66954
+
"description": "Sets the color filling the shape's interior. Only applies to closed shapes."
66955
+
},
66956
+
"fillrule": {
66957
+
"valType": "enumerated",
66958
+
"values": [
66959
+
"evenodd",
66960
+
"nonzero"
66961
+
],
66962
+
"dflt": "evenodd",
66963
+
"role": "info",
66964
+
"editType": "arraydraw",
66965
+
"description": "Determines which regions of complex paths constitute the interior. For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"
66966
+
},
66967
+
"editable": {
66968
+
"valType": "boolean",
66969
+
"role": "info",
66970
+
"dflt": false,
66971
+
"editType": "calc+arraydraw",
66972
+
"description": "Determines whether the shape could be activated for edit or not. Has no effect when the older editable shapes mode is enabled via `config.editable` or `config.edits.shapePosition`."
0 commit comments