svelteplot 0.6.0-pr-266.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Mark.svelte +7 -0
- package/dist/Mark.svelte.d.ts +4 -5
- package/dist/Plot.svelte +10 -2
- package/dist/constants.d.ts +1 -1
- package/dist/core/FacetAxes.svelte +2 -2
- package/dist/core/Plot.svelte +7 -11
- package/dist/helpers/colors.d.ts +12 -9
- package/dist/helpers/facets.d.ts +1 -1
- package/dist/helpers/getBaseStyles.d.ts +6 -2
- package/dist/helpers/getBaseStyles.js +8 -0
- package/dist/helpers/index.d.ts +3 -3
- package/dist/helpers/reduce.d.ts +1 -1
- package/dist/helpers/removeIdenticalLines.js +3 -2
- package/dist/helpers/scales.d.ts +7 -7
- package/dist/helpers/scales.js +2 -2
- package/dist/helpers/symbols.d.ts +2 -2
- package/dist/helpers/time.d.ts +3 -3
- package/dist/helpers/typeChecks.d.ts +8 -8
- package/dist/helpers/wordwrap.d.ts +14 -0
- package/dist/helpers/wordwrap.js +129 -0
- package/dist/marks/Area.svelte.d.ts +4 -5
- package/dist/marks/AreaX.svelte.d.ts +5 -6
- package/dist/marks/Arrow.svelte.d.ts +4 -5
- package/dist/marks/AxisX.svelte +2 -1
- package/dist/marks/AxisX.svelte.d.ts +6 -6
- package/dist/marks/AxisY.svelte.d.ts +5 -6
- package/dist/marks/BarX.svelte.d.ts +4 -5
- package/dist/marks/BarY.svelte.d.ts +4 -5
- package/dist/marks/BollingerX.svelte.d.ts +76 -2
- package/dist/marks/BollingerY.svelte.d.ts +76 -2
- package/dist/marks/BoxY.svelte.d.ts +68 -6
- package/dist/marks/Cell.svelte.d.ts +4 -5
- package/dist/marks/CustomMark.svelte.d.ts +84 -2
- package/dist/marks/CustomMarkHTML.svelte.d.ts +1 -1
- package/dist/marks/DifferenceY.svelte.d.ts +69 -7
- package/dist/marks/Dot.svelte.d.ts +4 -5
- package/dist/marks/DotX.svelte.d.ts +5 -6
- package/dist/marks/DotY.svelte.d.ts +5 -6
- package/dist/marks/Geo.svelte.d.ts +4 -5
- package/dist/marks/GridX.svelte.d.ts +4 -5
- package/dist/marks/GridY.svelte.d.ts +4 -5
- package/dist/marks/Image.svelte.d.ts +75 -2
- package/dist/marks/Line.svelte.d.ts +5 -6
- package/dist/marks/LineX.svelte.d.ts +6 -7
- package/dist/marks/LineY.svelte.d.ts +6 -7
- package/dist/marks/Link.svelte.d.ts +4 -5
- package/dist/marks/Rect.svelte.d.ts +4 -5
- package/dist/marks/RuleX.svelte.d.ts +4 -5
- package/dist/marks/RuleY.svelte.d.ts +4 -5
- package/dist/marks/Spike.svelte.d.ts +5 -6
- package/dist/marks/Text.svelte.d.ts +5 -6
- package/dist/marks/TickX.svelte.d.ts +4 -5
- package/dist/marks/TickY.svelte.d.ts +4 -5
- package/dist/marks/Vector.svelte.d.ts +4 -5
- package/dist/marks/WaffleX.svelte +115 -0
- package/dist/marks/WaffleX.svelte.d.ts +102 -0
- package/dist/marks/WaffleY.svelte +119 -0
- package/dist/marks/WaffleY.svelte.d.ts +100 -0
- package/dist/marks/helpers/Anchor.svelte.d.ts +5 -5
- package/dist/marks/helpers/BaseAxisX.svelte +31 -3
- package/dist/marks/helpers/BaseAxisX.svelte.d.ts +2 -0
- package/dist/marks/helpers/MarkerPath.svelte.d.ts +164 -2
- package/dist/marks/helpers/RectPath.svelte.d.ts +65 -3
- package/dist/marks/helpers/waffle.d.ts +58 -0
- package/dist/marks/helpers/waffle.js +194 -0
- package/dist/marks/index.d.ts +3 -1
- package/dist/marks/index.js +3 -1
- package/dist/transforms/bollinger.d.ts +69 -1
- package/dist/transforms/centroid.d.ts +4 -1
- package/dist/transforms/group.d.ts +12 -4
- package/dist/transforms/group.js +11 -5
- package/dist/transforms/interval.d.ts +128 -2
- package/dist/transforms/recordize.d.ts +7 -4
- package/dist/transforms/select.d.ts +448 -7
- package/dist/transforms/sort.d.ts +253 -5
- package/dist/transforms/stack.d.ts +23 -3
- package/dist/transforms/window.d.ts +134 -2
- package/dist/types/data.d.ts +1 -0
- package/dist/types/mark.d.ts +1 -1
- package/dist/types/plot.d.ts +19 -5
- package/dist/types/scale.d.ts +8 -0
- package/package.json +128 -129
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { RawValue, ConstantAccessor } from '../types/index.js';
|
|
2
2
|
import type * as CSS from 'csstype';
|
|
3
|
-
import autoTimeFormat from '../helpers/autoTimeFormat.js';
|
|
4
3
|
declare class __sveltets_Render<Datum extends RawValue> {
|
|
5
4
|
props(): Omit<Partial<{
|
|
6
5
|
filter: ConstantAccessor<boolean, Datum>;
|
|
@@ -9,14 +8,14 @@ declare class __sveltets_Render<Datum extends RawValue> {
|
|
|
9
8
|
fy: import("../types/channel").ChannelAccessor<Datum>;
|
|
10
9
|
dx: ConstantAccessor<number, Datum>;
|
|
11
10
|
dy: ConstantAccessor<number, Datum>;
|
|
12
|
-
dodgeX:
|
|
13
|
-
dodgeY:
|
|
11
|
+
dodgeX: import("../transforms/dodge").DodgeXOptions;
|
|
12
|
+
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
14
13
|
fill: import("../types/channel").ChannelAccessor<Datum>;
|
|
15
14
|
fillOpacity: ConstantAccessor<number, Datum>;
|
|
16
|
-
sort: {
|
|
15
|
+
sort: ((a: RawValue, b: RawValue) => number) | {
|
|
17
16
|
channel: string;
|
|
18
17
|
order?: "ascending" | "descending";
|
|
19
|
-
} |
|
|
18
|
+
} | ConstantAccessor<RawValue, Datum>;
|
|
20
19
|
stroke: import("../types/channel").ChannelAccessor<Datum>;
|
|
21
20
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
22
21
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
@@ -64,7 +63,7 @@ declare class __sveltets_Render<Datum extends RawValue> {
|
|
|
64
63
|
class: string;
|
|
65
64
|
style: string;
|
|
66
65
|
cursor: ConstantAccessor<CSS.Property.Cursor, Datum>;
|
|
67
|
-
}>, "fillOpacity" | "
|
|
66
|
+
}>, "fillOpacity" | "paintOrder" | "href" | "target" | "title"> & {
|
|
68
67
|
data?: Datum[] | undefined;
|
|
69
68
|
automatic?: boolean;
|
|
70
69
|
title?: string | false | null;
|
|
@@ -88,6 +87,7 @@ declare class __sveltets_Render<Datum extends RawValue> {
|
|
|
88
87
|
tickSpacing?: number;
|
|
89
88
|
/** text anchor for axis labels */
|
|
90
89
|
textAnchor?: ConstantAccessor<"auto" | CSS.Property.TextAnchor, Datum>;
|
|
90
|
+
removeDuplicateTicks: boolean;
|
|
91
91
|
};
|
|
92
92
|
events(): {};
|
|
93
93
|
slots(): {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { RawValue, ConstantAccessor } from '../types/index.js';
|
|
2
|
-
import autoTimeFormat from '../helpers/autoTimeFormat.js';
|
|
3
2
|
declare class __sveltets_Render<Datum extends RawValue> {
|
|
4
3
|
props(): Omit<Partial<{
|
|
5
4
|
filter: ConstantAccessor<boolean, Datum>;
|
|
@@ -8,14 +7,14 @@ declare class __sveltets_Render<Datum extends RawValue> {
|
|
|
8
7
|
fy: import("../types/channel").ChannelAccessor<Datum>;
|
|
9
8
|
dx: ConstantAccessor<number, Datum>;
|
|
10
9
|
dy: ConstantAccessor<number, Datum>;
|
|
11
|
-
dodgeX:
|
|
12
|
-
dodgeY:
|
|
10
|
+
dodgeX: import("../transforms/dodge").DodgeXOptions;
|
|
11
|
+
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
13
12
|
fill: import("../types/channel").ChannelAccessor<Datum>;
|
|
14
13
|
fillOpacity: ConstantAccessor<number, Datum>;
|
|
15
|
-
sort: {
|
|
14
|
+
sort: ((a: RawValue, b: RawValue) => number) | {
|
|
16
15
|
channel: string;
|
|
17
16
|
order?: "ascending" | "descending";
|
|
18
|
-
} |
|
|
17
|
+
} | ConstantAccessor<RawValue, Datum>;
|
|
19
18
|
stroke: import("../types/channel").ChannelAccessor<Datum>;
|
|
20
19
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
21
20
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
@@ -63,7 +62,7 @@ declare class __sveltets_Render<Datum extends RawValue> {
|
|
|
63
62
|
class: string;
|
|
64
63
|
style: string;
|
|
65
64
|
cursor: ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
66
|
-
}>, "fillOpacity" | "
|
|
65
|
+
}>, "fillOpacity" | "paintOrder" | "href" | "target" | "title"> & {
|
|
67
66
|
data?: Datum[] | undefined;
|
|
68
67
|
automatic?: boolean;
|
|
69
68
|
title?: string | false | null;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { stackX } from '../index.js';
|
|
2
1
|
import type { StackOptions } from '../transforms/stack.js';
|
|
3
2
|
import type { DataRow } from '../types/index.js';
|
|
4
3
|
import type { BaseRectMarkProps, ChannelAccessor, LinkableMarkProps } from '../types/index.js';
|
|
@@ -10,14 +9,14 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
10
9
|
fy: ChannelAccessor<Datum>;
|
|
11
10
|
dx: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
12
11
|
dy: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
13
|
-
dodgeX:
|
|
14
|
-
dodgeY:
|
|
12
|
+
dodgeX: import("../transforms/dodge").DodgeXOptions;
|
|
13
|
+
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
15
14
|
fill: ChannelAccessor<Datum>;
|
|
16
15
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
17
|
-
sort: {
|
|
16
|
+
sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
|
|
18
17
|
channel: string;
|
|
19
18
|
order?: "ascending" | "descending";
|
|
20
|
-
} |
|
|
19
|
+
} | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Datum>;
|
|
21
20
|
stroke: ChannelAccessor<Datum>;
|
|
22
21
|
strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
23
22
|
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { intervalY } from '../index.js';
|
|
2
1
|
import type { StackOptions } from '../transforms/stack.js';
|
|
3
2
|
import type { BaseRectMarkProps, ChannelAccessor, DataRow, LinkableMarkProps } from '../types/index.js';
|
|
4
3
|
declare class __sveltets_Render<Datum extends DataRow> {
|
|
@@ -9,14 +8,14 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
9
8
|
fy: ChannelAccessor<Datum>;
|
|
10
9
|
dx: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
11
10
|
dy: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
12
|
-
dodgeX:
|
|
13
|
-
dodgeY:
|
|
11
|
+
dodgeX: import("../transforms/dodge").DodgeXOptions;
|
|
12
|
+
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
14
13
|
fill: ChannelAccessor<Datum>;
|
|
15
14
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
16
|
-
sort: {
|
|
15
|
+
sort: ((a: import("../types/data").RawValue, b: import("../types/data").RawValue) => number) | {
|
|
17
16
|
channel: string;
|
|
18
17
|
order?: "ascending" | "descending";
|
|
19
|
-
} |
|
|
18
|
+
} | import("../types/index.js").ConstantAccessor<import("../types/data").RawValue, Datum>;
|
|
20
19
|
stroke: ChannelAccessor<Datum>;
|
|
21
20
|
strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
22
21
|
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
@@ -1,6 +1,80 @@
|
|
|
1
|
-
import type { DataRecord } from '../types/index.js';
|
|
1
|
+
import type { ChannelAccessor, DataRecord } from '../types/index.js';
|
|
2
2
|
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
3
|
-
props():
|
|
3
|
+
props(): Partial<{
|
|
4
|
+
filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
|
|
5
|
+
facet: "auto" | "include" | "exclude";
|
|
6
|
+
fx: ChannelAccessor<Datum>;
|
|
7
|
+
fy: ChannelAccessor<Datum>;
|
|
8
|
+
dx: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
9
|
+
dy: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
10
|
+
dodgeX: import("../transforms/dodge").DodgeXOptions;
|
|
11
|
+
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
12
|
+
fill: ChannelAccessor<Datum>;
|
|
13
|
+
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
14
|
+
sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
|
|
15
|
+
channel: string;
|
|
16
|
+
order?: "ascending" | "descending";
|
|
17
|
+
} | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Datum>;
|
|
18
|
+
stroke: ChannelAccessor<Datum>;
|
|
19
|
+
strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
20
|
+
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
21
|
+
strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
|
|
22
|
+
strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
|
|
23
|
+
strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
24
|
+
opacity: ChannelAccessor<Datum>;
|
|
25
|
+
strokeDasharray: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
26
|
+
strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
27
|
+
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
28
|
+
clipPath: string;
|
|
29
|
+
imageFilter: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
30
|
+
shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
|
|
31
|
+
paintOrder: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
32
|
+
onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
33
|
+
ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
34
|
+
onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
35
|
+
onmousedown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
36
|
+
onmouseenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
37
|
+
onmousemove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
38
|
+
onmouseleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
39
|
+
onmouseout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
40
|
+
onmouseover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
41
|
+
onpointercancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
42
|
+
onpointerdown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
43
|
+
onpointerup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
44
|
+
onpointerenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
45
|
+
onpointerleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
46
|
+
onpointermove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
47
|
+
onpointerover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
48
|
+
onpointerout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
49
|
+
ondrag: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
50
|
+
ondrop: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
51
|
+
ondragstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
52
|
+
ondragenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
53
|
+
ondragleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
54
|
+
ondragover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
55
|
+
ondragend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
56
|
+
ontouchstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
57
|
+
ontouchmove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
|
+
ontouchend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
|
+
ontouchcancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
+
oncontextmenu: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
|
+
onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
62
|
+
class: string;
|
|
63
|
+
style: string;
|
|
64
|
+
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
65
|
+
}> & {
|
|
66
|
+
data: Datum[];
|
|
67
|
+
x?: ChannelAccessor<Datum>;
|
|
68
|
+
y?: ChannelAccessor<Datum>;
|
|
69
|
+
/**
|
|
70
|
+
* the window size (the window transform's k option), an integer; defaults to 20
|
|
71
|
+
*/
|
|
72
|
+
n?: number;
|
|
73
|
+
/**
|
|
74
|
+
* the band radius, a number representing a multiple of standard deviations; defaults to 2
|
|
75
|
+
*/
|
|
76
|
+
k?: number;
|
|
77
|
+
};
|
|
4
78
|
events(): {};
|
|
5
79
|
slots(): {};
|
|
6
80
|
bindings(): "";
|
|
@@ -1,6 +1,80 @@
|
|
|
1
|
-
import type { DataRecord } from '../types/index.js';
|
|
1
|
+
import type { ChannelAccessor, DataRecord } from '../types/index.js';
|
|
2
2
|
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
3
|
-
props():
|
|
3
|
+
props(): Partial<{
|
|
4
|
+
filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
|
|
5
|
+
facet: "auto" | "include" | "exclude";
|
|
6
|
+
fx: ChannelAccessor<Datum>;
|
|
7
|
+
fy: ChannelAccessor<Datum>;
|
|
8
|
+
dx: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
9
|
+
dy: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
10
|
+
dodgeX: import("../transforms/dodge").DodgeXOptions;
|
|
11
|
+
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
12
|
+
fill: ChannelAccessor<Datum>;
|
|
13
|
+
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
14
|
+
sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
|
|
15
|
+
channel: string;
|
|
16
|
+
order?: "ascending" | "descending";
|
|
17
|
+
} | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Datum>;
|
|
18
|
+
stroke: ChannelAccessor<Datum>;
|
|
19
|
+
strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
20
|
+
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
21
|
+
strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
|
|
22
|
+
strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
|
|
23
|
+
strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
24
|
+
opacity: ChannelAccessor<Datum>;
|
|
25
|
+
strokeDasharray: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
26
|
+
strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
27
|
+
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
28
|
+
clipPath: string;
|
|
29
|
+
imageFilter: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
30
|
+
shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
|
|
31
|
+
paintOrder: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
32
|
+
onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
33
|
+
ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
34
|
+
onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
35
|
+
onmousedown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
36
|
+
onmouseenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
37
|
+
onmousemove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
38
|
+
onmouseleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
39
|
+
onmouseout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
40
|
+
onmouseover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
41
|
+
onpointercancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
42
|
+
onpointerdown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
43
|
+
onpointerup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
44
|
+
onpointerenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
45
|
+
onpointerleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
46
|
+
onpointermove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
47
|
+
onpointerover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
48
|
+
onpointerout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
49
|
+
ondrag: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
50
|
+
ondrop: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
51
|
+
ondragstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
52
|
+
ondragenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
53
|
+
ondragleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
54
|
+
ondragover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
55
|
+
ondragend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
56
|
+
ontouchstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
57
|
+
ontouchmove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
|
+
ontouchend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
|
+
ontouchcancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
+
oncontextmenu: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
|
+
onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
62
|
+
class: string;
|
|
63
|
+
style: string;
|
|
64
|
+
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
65
|
+
}> & {
|
|
66
|
+
data: Datum[];
|
|
67
|
+
x?: ChannelAccessor<Datum>;
|
|
68
|
+
y?: ChannelAccessor<Datum>;
|
|
69
|
+
/**
|
|
70
|
+
* the window size (the window transform's k option), an integer; defaults to 20
|
|
71
|
+
*/
|
|
72
|
+
n?: number;
|
|
73
|
+
/**
|
|
74
|
+
* the band radius, a number representing a multiple of standard deviations; defaults to 2
|
|
75
|
+
*/
|
|
76
|
+
k?: number;
|
|
77
|
+
};
|
|
4
78
|
events(): {};
|
|
5
79
|
slots(): {};
|
|
6
80
|
bindings(): "";
|
|
@@ -1,29 +1,91 @@
|
|
|
1
1
|
import type { ChannelAccessor, DataRecord } from '../types';
|
|
2
2
|
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
3
|
-
props(): Pick<
|
|
3
|
+
props(): Pick<Partial<{
|
|
4
|
+
filter: import("../types").ConstantAccessor<boolean, Datum>;
|
|
5
|
+
facet: "auto" | "include" | "exclude";
|
|
6
|
+
fx: ChannelAccessor<Datum>;
|
|
7
|
+
fy: ChannelAccessor<Datum>;
|
|
8
|
+
dx: import("../types").ConstantAccessor<number, Datum>;
|
|
9
|
+
dy: import("../types").ConstantAccessor<number, Datum>;
|
|
10
|
+
dodgeX: import("../transforms/dodge").DodgeXOptions;
|
|
11
|
+
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
12
|
+
fill: ChannelAccessor<Datum>;
|
|
13
|
+
fillOpacity: import("../types").ConstantAccessor<number, Datum>;
|
|
14
|
+
sort: ((a: import("../types").RawValue, b: import("../types").RawValue) => number) | {
|
|
15
|
+
channel: string;
|
|
16
|
+
order?: "ascending" | "descending";
|
|
17
|
+
} | import("../types").ConstantAccessor<import("../types").RawValue, Datum>;
|
|
18
|
+
stroke: ChannelAccessor<Datum>;
|
|
19
|
+
strokeWidth: import("../types").ConstantAccessor<number, Datum>;
|
|
20
|
+
strokeOpacity: import("../types").ConstantAccessor<number, Datum>;
|
|
21
|
+
strokeLinejoin: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
|
|
22
|
+
strokeLinecap: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
|
|
23
|
+
strokeMiterlimit: import("../types").ConstantAccessor<number, Datum>;
|
|
24
|
+
opacity: ChannelAccessor<Datum>;
|
|
25
|
+
strokeDasharray: import("../types").ConstantAccessor<string, Datum>;
|
|
26
|
+
strokeDashoffset: import("../types").ConstantAccessor<number, Datum>;
|
|
27
|
+
mixBlendMode: import("../types").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
28
|
+
clipPath: string;
|
|
29
|
+
imageFilter: import("../types").ConstantAccessor<string, Datum>;
|
|
30
|
+
shapeRendering: import("../types").ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
|
|
31
|
+
paintOrder: import("../types").ConstantAccessor<string, Datum>;
|
|
32
|
+
onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
33
|
+
ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
34
|
+
onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
35
|
+
onmousedown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
36
|
+
onmouseenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
37
|
+
onmousemove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
38
|
+
onmouseleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
39
|
+
onmouseout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
40
|
+
onmouseover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
41
|
+
onpointercancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
42
|
+
onpointerdown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
43
|
+
onpointerup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
44
|
+
onpointerenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
45
|
+
onpointerleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
46
|
+
onpointermove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
47
|
+
onpointerover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
48
|
+
onpointerout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
49
|
+
ondrag: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
50
|
+
ondrop: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
51
|
+
ondragstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
52
|
+
ondragenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
53
|
+
ondragleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
54
|
+
ondragover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
55
|
+
ondragend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
56
|
+
ontouchstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
57
|
+
ontouchmove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
|
+
ontouchend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
|
+
ontouchcancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
+
oncontextmenu: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
|
+
onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
62
|
+
class: string;
|
|
63
|
+
style: string;
|
|
64
|
+
cursor: import("../types").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
65
|
+
}>, "fx" | "fy" | "fill" | "stroke" | "class"> & {
|
|
4
66
|
data: Datum[];
|
|
5
67
|
x: ChannelAccessor;
|
|
6
68
|
y: ChannelAccessor;
|
|
7
69
|
/**
|
|
8
70
|
* Options for the rule marks that represent the min/max range
|
|
9
71
|
*/
|
|
10
|
-
rule: Record<string, ChannelAccessor<
|
|
72
|
+
rule: Record<string, ChannelAccessor<Datum>>;
|
|
11
73
|
/**
|
|
12
74
|
* Options for the bar marks that represent the IQR range
|
|
13
75
|
*/
|
|
14
|
-
bar: Record<string, ChannelAccessor<
|
|
76
|
+
bar: Record<string, ChannelAccessor<Datum>>;
|
|
15
77
|
/**
|
|
16
78
|
* Options for the tick marks that represent the median
|
|
17
79
|
*/
|
|
18
|
-
tickMedian: Record<string, ChannelAccessor<
|
|
80
|
+
tickMedian: boolean | Record<string, ChannelAccessor<Datum>>;
|
|
19
81
|
/**
|
|
20
82
|
* Options for the tick marks that represent the min/max range
|
|
21
83
|
*/
|
|
22
|
-
tickMinMax: Record<string, ChannelAccessor<
|
|
84
|
+
tickMinMax: boolean | Record<string, ChannelAccessor<Datum>>;
|
|
23
85
|
/**
|
|
24
86
|
* Options for the dot marks that represent the outliers
|
|
25
87
|
*/
|
|
26
|
-
dot: Record<string, ChannelAccessor<
|
|
88
|
+
dot: Record<string, ChannelAccessor<Datum>>;
|
|
27
89
|
};
|
|
28
90
|
events(): {};
|
|
29
91
|
slots(): {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { DataRecord, BaseRectMarkProps, ChannelAccessor, LinkableMarkProps } from '../types/index.js';
|
|
2
|
-
import { recordizeY } from '../index.js';
|
|
3
2
|
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
4
3
|
props(): Partial<{
|
|
5
4
|
filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
|
|
@@ -8,14 +7,14 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
8
7
|
fy: ChannelAccessor<Datum>;
|
|
9
8
|
dx: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
10
9
|
dy: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
11
|
-
dodgeX:
|
|
12
|
-
dodgeY:
|
|
10
|
+
dodgeX: import("../transforms/dodge.js").DodgeXOptions;
|
|
11
|
+
dodgeY: import("../transforms/dodge.js").DodgeYOptions;
|
|
13
12
|
fill: ChannelAccessor<Datum>;
|
|
14
13
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
15
|
-
sort: {
|
|
14
|
+
sort: ((a: import("../types/data.js").RawValue, b: import("../types/data.js").RawValue) => number) | {
|
|
16
15
|
channel: string;
|
|
17
16
|
order?: "ascending" | "descending";
|
|
18
|
-
} |
|
|
17
|
+
} | import("../types/index.js").ConstantAccessor<import("../types/data.js").RawValue, Datum>;
|
|
19
18
|
stroke: ChannelAccessor<Datum>;
|
|
20
19
|
strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
21
20
|
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
@@ -1,6 +1,88 @@
|
|
|
1
|
-
import type { DataRecord } from '../types/index.js';
|
|
1
|
+
import type { DataRecord, ChannelAccessor, ScaledDataRecord, UsedScales } from '../types/index.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
2
3
|
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
3
|
-
props():
|
|
4
|
+
props(): Partial<{
|
|
5
|
+
filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
|
|
6
|
+
facet: "auto" | "include" | "exclude";
|
|
7
|
+
fx: ChannelAccessor<Datum>;
|
|
8
|
+
fy: ChannelAccessor<Datum>;
|
|
9
|
+
dx: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
10
|
+
dy: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
11
|
+
dodgeX: import("../transforms/dodge").DodgeXOptions;
|
|
12
|
+
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
13
|
+
fill: ChannelAccessor<Datum>;
|
|
14
|
+
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
15
|
+
sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
|
|
16
|
+
channel: string;
|
|
17
|
+
order?: "ascending" | "descending";
|
|
18
|
+
} | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Datum>;
|
|
19
|
+
stroke: ChannelAccessor<Datum>;
|
|
20
|
+
strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
21
|
+
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
22
|
+
strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
|
|
23
|
+
strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
|
|
24
|
+
strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
25
|
+
opacity: ChannelAccessor<Datum>;
|
|
26
|
+
strokeDasharray: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
27
|
+
strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
28
|
+
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
29
|
+
clipPath: string;
|
|
30
|
+
imageFilter: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
31
|
+
shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
|
|
32
|
+
paintOrder: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
33
|
+
onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
34
|
+
ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
35
|
+
onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
36
|
+
onmousedown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
37
|
+
onmouseenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
38
|
+
onmousemove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
39
|
+
onmouseleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
40
|
+
onmouseout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
41
|
+
onmouseover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
42
|
+
onpointercancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
43
|
+
onpointerdown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
44
|
+
onpointerup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
45
|
+
onpointerenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
46
|
+
onpointerleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
47
|
+
onpointermove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
48
|
+
onpointerover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
49
|
+
onpointerout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
50
|
+
ondrag: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
51
|
+
ondrop: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
52
|
+
ondragstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
53
|
+
ondragenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
54
|
+
ondragleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
55
|
+
ondragover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
56
|
+
ondragend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
57
|
+
ontouchstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
|
+
ontouchmove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
|
+
ontouchend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
+
ontouchcancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
|
+
oncontextmenu: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
62
|
+
onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
63
|
+
class: string;
|
|
64
|
+
style: string;
|
|
65
|
+
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
66
|
+
}> & {
|
|
67
|
+
data?: Datum[] | undefined;
|
|
68
|
+
type?: string;
|
|
69
|
+
x?: ChannelAccessor<Datum>;
|
|
70
|
+
x1?: ChannelAccessor<Datum>;
|
|
71
|
+
x2?: ChannelAccessor<Datum>;
|
|
72
|
+
y?: ChannelAccessor<Datum>;
|
|
73
|
+
y1?: ChannelAccessor<Datum>;
|
|
74
|
+
y2?: ChannelAccessor<Datum>;
|
|
75
|
+
r?: ChannelAccessor<Datum>;
|
|
76
|
+
mark?: Snippet<[{
|
|
77
|
+
record: ScaledDataRecord<Datum>;
|
|
78
|
+
index: number;
|
|
79
|
+
usedScales: UsedScales;
|
|
80
|
+
}]> | undefined;
|
|
81
|
+
marks?: Snippet<[{
|
|
82
|
+
records: ScaledDataRecord<Datum>[];
|
|
83
|
+
usedScales: UsedScales;
|
|
84
|
+
}]> | undefined;
|
|
85
|
+
};
|
|
4
86
|
events(): {};
|
|
5
87
|
slots(): {};
|
|
6
88
|
bindings(): "";
|
|
@@ -5,7 +5,7 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
5
5
|
data: Datum[];
|
|
6
6
|
x?: ChannelAccessor<Datum>;
|
|
7
7
|
y?: ChannelAccessor<Datum>;
|
|
8
|
-
frameAnchor?: ConstantAccessor<"
|
|
8
|
+
frameAnchor?: ConstantAccessor<"left" | "right" | "top" | "bottom" | "center" | "top-left" | "bottom-left" | "top-right" | "bottom-right", Datum>;
|
|
9
9
|
class: string | null;
|
|
10
10
|
children: Snippet<{
|
|
11
11
|
datum: Datum;
|
|
@@ -1,23 +1,85 @@
|
|
|
1
1
|
import type { ChannelAccessor, CurveName, DataRecord } from '../types/index.js';
|
|
2
2
|
import type { CurveFactory } from 'd3-shape';
|
|
3
3
|
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
4
|
-
props(): Omit<
|
|
4
|
+
props(): Omit<Partial<{
|
|
5
|
+
filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
|
|
6
|
+
facet: "auto" | "include" | "exclude";
|
|
7
|
+
fx: ChannelAccessor<Datum>;
|
|
8
|
+
fy: ChannelAccessor<Datum>;
|
|
9
|
+
dx: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
10
|
+
dy: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
11
|
+
dodgeX: import("../transforms/dodge").DodgeXOptions;
|
|
12
|
+
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
13
|
+
fill: ChannelAccessor<Datum>;
|
|
14
|
+
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
15
|
+
sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
|
|
16
|
+
channel: string;
|
|
17
|
+
order?: "ascending" | "descending";
|
|
18
|
+
} | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Datum>;
|
|
19
|
+
stroke: ChannelAccessor<Datum>;
|
|
20
|
+
strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
21
|
+
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
22
|
+
strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
|
|
23
|
+
strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
|
|
24
|
+
strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
25
|
+
opacity: ChannelAccessor<Datum>;
|
|
26
|
+
strokeDasharray: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
27
|
+
strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
28
|
+
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
29
|
+
clipPath: string;
|
|
30
|
+
imageFilter: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
31
|
+
shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
|
|
32
|
+
paintOrder: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
33
|
+
onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
34
|
+
ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
35
|
+
onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
36
|
+
onmousedown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
37
|
+
onmouseenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
38
|
+
onmousemove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
39
|
+
onmouseleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
40
|
+
onmouseout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
41
|
+
onmouseover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
42
|
+
onpointercancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
43
|
+
onpointerdown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
44
|
+
onpointerup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
45
|
+
onpointerenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
46
|
+
onpointerleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
47
|
+
onpointermove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
48
|
+
onpointerover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
49
|
+
onpointerout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
50
|
+
ondrag: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
51
|
+
ondrop: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
52
|
+
ondragstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
53
|
+
ondragenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
54
|
+
ondragleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
55
|
+
ondragover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
56
|
+
ondragend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
57
|
+
ontouchstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
|
+
ontouchmove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
|
+
ontouchend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
+
ontouchcancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
|
+
oncontextmenu: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
62
|
+
onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
63
|
+
class: string;
|
|
64
|
+
style: string;
|
|
65
|
+
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
66
|
+
}>, "fill" | "fillOpacity"> & {
|
|
5
67
|
data: Datum[];
|
|
6
|
-
x1: ChannelAccessor<
|
|
68
|
+
x1: ChannelAccessor<Datum>;
|
|
7
69
|
/**
|
|
8
70
|
* the horizontal position of the metric; bound to the x scale
|
|
9
71
|
*/
|
|
10
|
-
x2: ChannelAccessor<
|
|
11
|
-
x: ChannelAccessor<
|
|
72
|
+
x2: ChannelAccessor<Datum>;
|
|
73
|
+
x: ChannelAccessor<Datum>;
|
|
12
74
|
/**
|
|
13
75
|
* the vertical position of the comparison; bound to the y scale
|
|
14
76
|
*/
|
|
15
|
-
y1: ChannelAccessor<
|
|
77
|
+
y1: ChannelAccessor<Datum>;
|
|
16
78
|
/**
|
|
17
79
|
* the vertical position of the metric; bound to the y scale
|
|
18
80
|
*/
|
|
19
|
-
y2: ChannelAccessor<
|
|
20
|
-
y: ChannelAccessor<
|
|
81
|
+
y2: ChannelAccessor<Datum>;
|
|
82
|
+
y: ChannelAccessor<Datum>;
|
|
21
83
|
fillOpacity?: number;
|
|
22
84
|
/**
|
|
23
85
|
* the stroke color of the "positive" area; defaults to 'blue'
|