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
description: 'Sets the x coordinates of the arrow locations.'
16
+
},
17
+
y: {
18
+
valType: 'data_array',
19
+
editType: 'calc+clearAxisTypes',
20
+
anim: true,
21
+
description: 'Sets the y coordinates of the arrow locations.'
22
+
},
23
+
u: {
24
+
valType: 'data_array',
25
+
editType: 'calc',
26
+
anim: true,
27
+
description: 'Sets the x components of the arrow vectors.'
28
+
},
29
+
v: {
30
+
valType: 'data_array',
31
+
editType: 'calc',
32
+
anim: true,
33
+
description: 'Sets the y components of the arrow vectors.'
34
+
},
35
+
scale: {
36
+
valType: 'number',
37
+
dflt: 0.1,
38
+
min: 0,
39
+
max: 1,
40
+
editType: 'calc',
41
+
description: 'Scales size of the arrows (ideally to avoid overlap). Default = 0.1'
42
+
},
43
+
arrow_scale: {
44
+
valType: 'number',
45
+
dflt: 0.3,
46
+
min: 0,
47
+
max: 1,
48
+
editType: 'calc',
49
+
description: 'Value multiplied to length of barb to get length of arrowhead. Default = 0.3'
50
+
},
51
+
angle: {
52
+
valType: 'number',
53
+
dflt: Math.PI/9,
54
+
min: 0,
55
+
max: Math.PI/2,
56
+
editType: 'calc',
57
+
description: 'Angle of arrowhead in radians. Default = π/9'
58
+
},
59
+
scaleratio: {
60
+
valType: 'number',
61
+
min: 0,
62
+
editType: 'calc',
63
+
description: 'The ratio between the scale of the y-axis and the scale of the x-axis (scale_y / scale_x). Default = null, the scale ratio is not fixed.'
64
+
},
65
+
66
+
// Line styling for arrows
67
+
line: {
68
+
color: {
69
+
valType: 'color',
70
+
dflt: '#000',
71
+
editType: 'style',
72
+
description: 'Sets the color of the arrow lines.'
73
+
},
74
+
width: {
75
+
valType: 'number',
76
+
min: 0,
77
+
dflt: 1,
78
+
editType: 'style',
79
+
description: 'Sets the width (in px) of the arrow lines.'
0 commit comments