Skip to content

Commit 22d1260

Browse files
committed
declare marker.angle as a number not an angle
1 parent 3dcdfe9 commit 22d1260

File tree

2 files changed

+27
-9
lines changed

2 files changed

+27
-9
lines changed

src/traces/scatter/attributes.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,9 @@ module.exports = {
390390
description: 'Sets the marker opacity.'
391391
},
392392
angle: {
393-
valType: 'angle',
393+
valType: 'number',
394+
min: -360,
395+
max: 360,
394396
dflt: 0,
395397
arrayOk: true,
396398
editType: 'plot',

test/plot-schema.json

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15456,7 +15456,9 @@
1545615456
"description": "Sets the marker angle in respect to `angleref`.",
1545715457
"dflt": 0,
1545815458
"editType": "calc",
15459-
"valType": "angle"
15459+
"max": 360,
15460+
"min": -360,
15461+
"valType": "number"
1546015462
},
1546115463
"color": {
1546215464
"arrayOk": false,
@@ -43337,7 +43339,9 @@
4333743339
"description": "Sets the marker angle in respect to `angleref`.",
4333843340
"dflt": 0,
4333943341
"editType": "plot",
43340-
"valType": "angle"
43342+
"max": 360,
43343+
"min": -360,
43344+
"valType": "number"
4334143345
},
4334243346
"angleref": {
4334343347
"anim": false,
@@ -47600,7 +47604,9 @@
4760047604
"description": "Sets the marker angle in respect to `angleref`.",
4760147605
"dflt": 0,
4760247606
"editType": "plot",
47603-
"valType": "angle"
47607+
"max": 360,
47608+
"min": -360,
47609+
"valType": "number"
4760447610
},
4760547611
"angleref": {
4760647612
"description": "Sets the reference for marker angle. With *previous* the angles are based on the previous position of points on a line. With *up* the angles are based on the current positions of points towards up.",
@@ -49469,7 +49475,9 @@
4946949475
"description": "Sets the marker angle in respect to `angleref`.",
4947049476
"dflt": 0,
4947149477
"editType": "calc",
49472-
"valType": "angle"
49478+
"max": 360,
49479+
"min": -360,
49480+
"valType": "number"
4947349481
},
4947449482
"angleref": {
4947549483
"description": "Sets the reference for marker angle. With *previous* the angles are based on the previous position of points on a line. With *up* the angles are based on the current positions of points towards up. With *north* the angles are based on the current positions of points towards north.",
@@ -54566,7 +54574,9 @@
5456654574
"description": "Sets the marker angle in respect to `angleref`.",
5456754575
"dflt": 0,
5456854576
"editType": "plot",
54569-
"valType": "angle"
54577+
"max": 360,
54578+
"min": -360,
54579+
"valType": "number"
5457054580
},
5457154581
"angleref": {
5457254582
"description": "Sets the reference for marker angle. With *previous* the angles are based on the previous position of points on a line. With *up* the angles are based on the current positions of points towards up.",
@@ -58265,7 +58275,9 @@
5826558275
"description": "Sets the marker angle in respect to `angleref`.",
5826658276
"dflt": 0,
5826758277
"editType": "plot",
58268-
"valType": "angle"
58278+
"max": 360,
58279+
"min": -360,
58280+
"valType": "number"
5826958281
},
5827058282
"angleref": {
5827158283
"description": "Sets the reference for marker angle. With *previous* the angles are based on the previous position of points on a line. With *up* the angles are based on the current positions of points towards up.",
@@ -60140,7 +60152,9 @@
6014060152
"description": "Sets the marker angle in respect to `angleref`.",
6014160153
"dflt": 0,
6014260154
"editType": "plot",
60143-
"valType": "angle"
60155+
"max": 360,
60156+
"min": -360,
60157+
"valType": "number"
6014460158
},
6014560159
"angleref": {
6014660160
"description": "Sets the reference for marker angle. With *previous* the angles are based on the previous position of points on a line. With *up* the angles are based on the current positions of points towards up.",
@@ -69381,7 +69395,9 @@
6938169395
"description": "Sets the marker angle in respect to `angleref`.",
6938269396
"dflt": 0,
6938369397
"editType": "calc",
69384-
"valType": "angle"
69398+
"max": 360,
69399+
"min": -360,
69400+
"valType": "number"
6938569401
},
6938669402
"color": {
6938769403
"arrayOk": false,

0 commit comments

Comments
 (0)