File tree 1 file changed +30
-6
lines changed
1 file changed +30
-6
lines changed Original file line number Diff line number Diff line change @@ -5,18 +5,42 @@ import type {MarkerOptions} from "../marker.js";
5
5
6
6
/** Options for the link mark. */
7
7
export interface LinkOptions extends MarkOptions , MarkerOptions , CurveAutoOptions {
8
- /** The horizontal position, for vertical links; bound to the *x* scale. */
8
+ /**
9
+ * The horizontal position, for vertical links; bound to the *x* scale. **x**
10
+ * specifies defaults for both **x1** and **x2**.
11
+ */
9
12
x ?: ChannelValueSpec ;
10
- /** The vertical position, for horizontal links; bound to the *y* scale. */
13
+
14
+ /**
15
+ * The vertical position, for horizontal links; bound to the *y* scale. **y**
16
+ * specifies defaults for both **y1** and **y2**.
17
+ */
11
18
y ?: ChannelValueSpec ;
12
- /** The starting horizontal position; bound to the *x* scale. */
19
+
20
+ /**
21
+ * The starting horizontal position; bound to the *x* scale. **x1** specifies
22
+ * defaults for **x2**.
23
+ */
13
24
x1 ?: ChannelValueSpec ;
14
- /** The ending vertical position; bound to the *y* scale. */
25
+
26
+ /**
27
+ * The starting vertical position; bound to the *y* scale. **y1** specifies
28
+ * defaults for **y2**.
29
+ */
15
30
y1 ?: ChannelValueSpec ;
16
- /** The starting horizontal position; bound to the *x* scale. */
31
+
32
+ /**
33
+ * The ending horizontal position; bound to the *x* scale. **x2** specifies
34
+ * defaults for **x1**.
35
+ */
17
36
x2 ?: ChannelValueSpec ;
18
- /** The ending vertical position; bound to the *y* scale. */
37
+
38
+ /**
39
+ * The ending vertical position; bound to the *y* scale. **y2** specifies
40
+ * defaults for **y1**.
41
+ */
19
42
y2 ?: ChannelValueSpec ;
43
+
20
44
/**
21
45
* The **curve** option controls interpolation between points. Since a link
22
46
* always has two points by definition, only the following curves (or a custom
You can’t perform that action at this time.
0 commit comments