svelteplot 0.4.9-pr-230.0 → 0.4.9
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.d.ts +2 -2
- package/dist/helpers/colors.d.ts +1 -1
- package/dist/helpers/index.d.ts +2 -2
- package/dist/helpers/scales.d.ts +1 -1
- package/dist/helpers/scales.js +1 -5
- package/dist/helpers/typeChecks.d.ts +4 -4
- package/dist/marks/Area.svelte.d.ts +2 -2
- package/dist/marks/AreaX.svelte.d.ts +3 -4
- package/dist/marks/Arrow.svelte.d.ts +2 -2
- package/dist/marks/AxisX.svelte.d.ts +3 -3
- package/dist/marks/AxisY.svelte.d.ts +3 -3
- package/dist/marks/BarX.svelte.d.ts +2 -2
- package/dist/marks/BarY.svelte.d.ts +2 -2
- package/dist/marks/BollingerX.svelte.d.ts +74 -2
- package/dist/marks/BollingerY.svelte.d.ts +74 -2
- package/dist/marks/BoxY.svelte.d.ts +66 -6
- package/dist/marks/Cell.svelte.d.ts +2 -2
- package/dist/marks/CustomMark.svelte.d.ts +81 -2
- package/dist/marks/CustomMarkHTML.svelte.d.ts +1 -1
- package/dist/marks/DifferenceY.svelte.d.ts +67 -7
- package/dist/marks/Dot.svelte.d.ts +2 -2
- package/dist/marks/DotX.svelte.d.ts +3 -3
- package/dist/marks/DotY.svelte.d.ts +3 -3
- package/dist/marks/Geo.svelte.d.ts +2 -2
- package/dist/marks/GridX.svelte.d.ts +2 -2
- package/dist/marks/GridY.svelte.d.ts +2 -2
- package/dist/marks/Line.svelte.d.ts +3 -3
- package/dist/marks/LineX.svelte.d.ts +4 -5
- package/dist/marks/LineY.svelte.d.ts +4 -5
- package/dist/marks/Link.svelte.d.ts +2 -2
- package/dist/marks/Rect.svelte.d.ts +2 -2
- package/dist/marks/RuleX.svelte.d.ts +2 -2
- package/dist/marks/RuleY.svelte.d.ts +2 -2
- package/dist/marks/Spike.svelte.d.ts +3 -3
- package/dist/marks/Text.svelte.d.ts +4 -4
- package/dist/marks/TickX.svelte.d.ts +2 -2
- package/dist/marks/TickY.svelte.d.ts +2 -2
- package/dist/marks/Vector.svelte.d.ts +2 -2
- package/dist/marks/helpers/MarkerPath.svelte.d.ts +160 -2
- package/dist/marks/helpers/RectPath.svelte.d.ts +63 -3
- package/dist/transforms/bollinger.d.ts +67 -1
- package/dist/transforms/group.d.ts +12 -4
- package/dist/transforms/interval.d.ts +124 -2
- package/dist/transforms/recordize.d.ts +4 -1
- package/dist/transforms/select.d.ts +434 -7
- package/dist/transforms/sort.d.ts +246 -3
- package/dist/transforms/stack.d.ts +23 -3
- package/dist/transforms/window.d.ts +130 -2
- package/package.json +127 -128
package/dist/Mark.svelte.d.ts
CHANGED
|
@@ -11,10 +11,10 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
11
11
|
dy: import("./types/index.js").ConstantAccessor<number, Datum>;
|
|
12
12
|
fill: ChannelAccessor<Datum>;
|
|
13
13
|
fillOpacity: import("./types/index.js").ConstantAccessor<number, Datum>;
|
|
14
|
-
sort: {
|
|
14
|
+
sort: ((a: RawValue, b: RawValue) => number) | {
|
|
15
15
|
channel: string;
|
|
16
16
|
order?: "ascending" | "descending";
|
|
17
|
-
} |
|
|
17
|
+
} | import("./types/index.js").ConstantAccessor<RawValue, Datum>;
|
|
18
18
|
stroke: ChannelAccessor<Datum>;
|
|
19
19
|
strokeWidth: import("./types/index.js").ConstantAccessor<number, Datum>;
|
|
20
20
|
strokeOpacity: import("./types/index.js").ConstantAccessor<number, Datum>;
|
package/dist/helpers/colors.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ type SchemeGetter = (n: number) => readonly string[];
|
|
|
6
6
|
export declare function isOrdinalScheme(scheme: ColorScheme): boolean;
|
|
7
7
|
export declare function ordinalScheme(scheme: string): SchemeGetter | undefined;
|
|
8
8
|
export declare function ordinalRange(scheme: string, length: number): readonly string[] | undefined;
|
|
9
|
-
export declare function maybeBooleanRange(domain: boolean[], scheme?: string):
|
|
9
|
+
export declare function maybeBooleanRange(domain: boolean[], scheme?: string): unknown[] | undefined;
|
|
10
10
|
export declare function isQuantitativeScheme(scheme: string): boolean;
|
|
11
11
|
export declare function quantitativeScheme(scheme: string): typeof interpolateBrBG | undefined;
|
|
12
12
|
export declare function isDivergingScheme(scheme: string): boolean;
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import type { Snippet } from 'svelte';
|
|
|
3
3
|
/**
|
|
4
4
|
* Returns first argument that is not null or undefined
|
|
5
5
|
*/
|
|
6
|
-
export declare function coalesce(...args: (RawValue | undefined | null)[]):
|
|
7
|
-
export declare function testFilter<T>(datum: T, options: Channels<T>):
|
|
6
|
+
export declare function coalesce(...args: (RawValue | undefined | null)[]): RawValue | null;
|
|
7
|
+
export declare function testFilter<T>(datum: T, options: Channels<T>): true | T | null;
|
|
8
8
|
export declare function randomId(): string;
|
|
9
9
|
export declare function isSnippet(value: unknown): value is Snippet;
|
|
10
10
|
export declare function isValid(value: RawValue | undefined): value is number | Date | string;
|
package/dist/helpers/scales.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export declare function createScale<T extends ScaleOptions>(name: ScaleName, sca
|
|
|
15
15
|
autoTitle?: undefined;
|
|
16
16
|
} | {
|
|
17
17
|
type: ScaleType;
|
|
18
|
-
domain:
|
|
18
|
+
domain: RawValue[] | [undefined, undefined];
|
|
19
19
|
range: any;
|
|
20
20
|
fn: any;
|
|
21
21
|
skip: Map<ScaledChannelName, Set<symbol>>;
|
package/dist/helpers/scales.js
CHANGED
|
@@ -152,11 +152,7 @@ export function createScale(name, scaleOptions, marks, plotOptions, plotWidth, p
|
|
|
152
152
|
throw new Error(`Invalid scale type ${type} for scale
|
|
153
153
|
${name}. Valid types are ${[...VALID_SCALE_TYPES[name]].join(', ')}`);
|
|
154
154
|
}
|
|
155
|
-
const isOrdinal = type === 'band' ||
|
|
156
|
-
type === 'point' ||
|
|
157
|
-
type === 'ordinal' ||
|
|
158
|
-
type === 'categorical' ||
|
|
159
|
-
type === 'threshold';
|
|
155
|
+
const isOrdinal = type === 'band' || type === 'point' || type === 'ordinal' || type === 'categorical';
|
|
160
156
|
if (isOrdinal && sortOrdinalDomain) {
|
|
161
157
|
valueArr.sort(ascending);
|
|
162
158
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { RawValue } from '../types/index.js';
|
|
2
|
-
export declare function isBooleanOrNull(v: RawValue): boolean;
|
|
2
|
+
export declare function isBooleanOrNull(v: RawValue): v is boolean;
|
|
3
3
|
export declare function isDate(v: RawValue): v is Date;
|
|
4
|
-
export declare function isDateOrNull(v: RawValue | null | undefined):
|
|
4
|
+
export declare function isDateOrNull(v: RawValue | null | undefined): v is Date | null | undefined;
|
|
5
5
|
export declare function isNumberOrNull(v: RawValue | null | undefined): boolean;
|
|
6
6
|
export declare function isNumberOrNullOrNaN(v: RawValue | null | undefined): boolean;
|
|
7
|
-
export declare function isStringOrNull(v: RawValue | null | undefined):
|
|
7
|
+
export declare function isStringOrNull(v: RawValue | null | undefined): v is string | null | undefined;
|
|
8
8
|
export declare function isSymbolOrNull(v: RawValue | null | undefined): boolean;
|
|
9
|
-
export declare function isColorOrNull(v: RawValue | null | undefined):
|
|
9
|
+
export declare function isColorOrNull(v: RawValue | null | undefined): boolean;
|
|
10
10
|
export declare function isOpacityOrNull(v: RawValue): boolean;
|
|
@@ -11,10 +11,10 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
11
11
|
dy: ConstantAccessor<number, Datum>;
|
|
12
12
|
fill: ChannelAccessor<Datum>;
|
|
13
13
|
fillOpacity: ConstantAccessor<number, Datum>;
|
|
14
|
-
sort: {
|
|
14
|
+
sort: ((a: RawValue, b: RawValue) => number) | {
|
|
15
15
|
channel: string;
|
|
16
16
|
order?: "ascending" | "descending";
|
|
17
|
-
} |
|
|
17
|
+
} | ConstantAccessor<RawValue, Datum>;
|
|
18
18
|
stroke: ChannelAccessor<Datum>;
|
|
19
19
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
20
20
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { renameChannels } from '../transforms/rename.js';
|
|
2
1
|
import type { ChannelAccessor, DataRow } from '../types/index.js';
|
|
3
2
|
declare class __sveltets_Render<Datum extends DataRow> {
|
|
4
3
|
props(): Omit<Partial<{
|
|
@@ -10,10 +9,10 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
10
9
|
dy: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
11
10
|
fill: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
12
11
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
13
|
-
sort: {
|
|
12
|
+
sort: ((a: import("../types/data").RawValue, b: import("../types/data").RawValue) => number) | {
|
|
14
13
|
channel: string;
|
|
15
14
|
order?: "ascending" | "descending";
|
|
16
|
-
} |
|
|
15
|
+
} | import("../types/index.js").ConstantAccessor<import("../types/data").RawValue, Record<string | symbol, import("../types/data").RawValue>>;
|
|
17
16
|
stroke: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
18
17
|
strokeWidth: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
19
18
|
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
@@ -73,7 +72,7 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
73
72
|
sort?: import("../types/index.js").ConstantAccessor<import("../types/data").RawValue> | {
|
|
74
73
|
channel: "stroke" | "fill";
|
|
75
74
|
};
|
|
76
|
-
stack?: Partial<
|
|
75
|
+
stack?: Partial<import("../transforms/stack.js").StackOptions>;
|
|
77
76
|
canvas?: boolean;
|
|
78
77
|
}, "y1" | "y2"> & {
|
|
79
78
|
x?: ChannelAccessor<Datum>;
|
|
@@ -10,10 +10,10 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
10
10
|
dy: ConstantAccessor<number, Datum>;
|
|
11
11
|
fill: ChannelAccessor<Datum>;
|
|
12
12
|
fillOpacity: ConstantAccessor<number, Datum>;
|
|
13
|
-
sort: {
|
|
13
|
+
sort: ((a: RawValue, b: RawValue) => number) | {
|
|
14
14
|
channel: string;
|
|
15
15
|
order?: "ascending" | "descending";
|
|
16
|
-
} |
|
|
16
|
+
} | ConstantAccessor<RawValue, Datum>;
|
|
17
17
|
stroke: ChannelAccessor<Datum>;
|
|
18
18
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
19
19
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
@@ -10,10 +10,10 @@ declare class __sveltets_Render<Datum extends RawValue> {
|
|
|
10
10
|
dy: ConstantAccessor<number, Datum>;
|
|
11
11
|
fill: import("../types/channel").ChannelAccessor<Datum>;
|
|
12
12
|
fillOpacity: ConstantAccessor<number, Datum>;
|
|
13
|
-
sort: {
|
|
13
|
+
sort: ((a: RawValue, b: RawValue) => number) | {
|
|
14
14
|
channel: string;
|
|
15
15
|
order?: "ascending" | "descending";
|
|
16
|
-
} |
|
|
16
|
+
} | ConstantAccessor<RawValue, Datum>;
|
|
17
17
|
stroke: import("../types/channel").ChannelAccessor<Datum>;
|
|
18
18
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
19
19
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
@@ -61,7 +61,7 @@ declare class __sveltets_Render<Datum extends RawValue> {
|
|
|
61
61
|
class?: string;
|
|
62
62
|
style?: string;
|
|
63
63
|
cursor: ConstantAccessor<CSS.Property.Cursor, Datum>;
|
|
64
|
-
}>, "fillOpacity" | "
|
|
64
|
+
}>, "fillOpacity" | "paintOrder" | "href" | "target" | "title"> & {
|
|
65
65
|
data?: Datum[] | undefined;
|
|
66
66
|
automatic?: boolean;
|
|
67
67
|
title?: string | false | null;
|
|
@@ -9,10 +9,10 @@ declare class __sveltets_Render<Datum extends RawValue> {
|
|
|
9
9
|
dy: ConstantAccessor<number, Datum>;
|
|
10
10
|
fill: import("../types/channel").ChannelAccessor<Datum>;
|
|
11
11
|
fillOpacity: ConstantAccessor<number, Datum>;
|
|
12
|
-
sort: {
|
|
12
|
+
sort: ((a: RawValue, b: RawValue) => number) | {
|
|
13
13
|
channel: string;
|
|
14
14
|
order?: "ascending" | "descending";
|
|
15
|
-
} |
|
|
15
|
+
} | ConstantAccessor<RawValue, Datum>;
|
|
16
16
|
stroke: import("../types/channel").ChannelAccessor<Datum>;
|
|
17
17
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
18
18
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
@@ -60,7 +60,7 @@ declare class __sveltets_Render<Datum extends RawValue> {
|
|
|
60
60
|
class?: string;
|
|
61
61
|
style?: string;
|
|
62
62
|
cursor: ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
63
|
-
}>, "fillOpacity" | "
|
|
63
|
+
}>, "fillOpacity" | "paintOrder" | "href" | "target" | "title"> & {
|
|
64
64
|
data?: Datum[] | undefined;
|
|
65
65
|
automatic?: boolean;
|
|
66
66
|
title?: string | false | null;
|
|
@@ -11,10 +11,10 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
11
11
|
dy: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
12
12
|
fill: ChannelAccessor<Datum>;
|
|
13
13
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
14
|
-
sort: {
|
|
14
|
+
sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
|
|
15
15
|
channel: string;
|
|
16
16
|
order?: "ascending" | "descending";
|
|
17
|
-
} |
|
|
17
|
+
} | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Datum>;
|
|
18
18
|
stroke: ChannelAccessor<Datum>;
|
|
19
19
|
strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
20
20
|
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
@@ -10,10 +10,10 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
10
10
|
dy: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
11
11
|
fill: ChannelAccessor<Datum>;
|
|
12
12
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
13
|
-
sort: {
|
|
13
|
+
sort: ((a: import("../types/data").RawValue, b: import("../types/data").RawValue) => number) | {
|
|
14
14
|
channel: string;
|
|
15
15
|
order?: "ascending" | "descending";
|
|
16
|
-
} |
|
|
16
|
+
} | import("../types/index.js").ConstantAccessor<import("../types/data").RawValue, Datum>;
|
|
17
17
|
stroke: ChannelAccessor<Datum>;
|
|
18
18
|
strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
19
19
|
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
@@ -1,6 +1,78 @@
|
|
|
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
|
+
fill: ChannelAccessor<Datum>;
|
|
11
|
+
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
12
|
+
sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
|
|
13
|
+
channel: string;
|
|
14
|
+
order?: "ascending" | "descending";
|
|
15
|
+
} | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Datum>;
|
|
16
|
+
stroke: ChannelAccessor<Datum>;
|
|
17
|
+
strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
18
|
+
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
19
|
+
strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
|
|
20
|
+
strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
|
|
21
|
+
strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
22
|
+
opacity: ChannelAccessor<Datum>;
|
|
23
|
+
strokeDasharray: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
24
|
+
strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
25
|
+
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
26
|
+
clipPath: string;
|
|
27
|
+
imageFilter: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
28
|
+
shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
|
|
29
|
+
paintOrder: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
30
|
+
onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
31
|
+
ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
32
|
+
onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
33
|
+
onmousedown?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
34
|
+
onmouseenter?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
35
|
+
onmousemove?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
36
|
+
onmouseleave?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
37
|
+
onmouseout?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
38
|
+
onmouseover?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
39
|
+
onpointercancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
40
|
+
onpointerdown?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
41
|
+
onpointerup?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
42
|
+
onpointerenter?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
43
|
+
onpointerleave?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
44
|
+
onpointermove?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
45
|
+
onpointerover?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
46
|
+
onpointerout?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
47
|
+
ondrag?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
48
|
+
ondrop?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
49
|
+
ondragstart?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
50
|
+
ondragenter?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
51
|
+
ondragleave?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
52
|
+
ondragover?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
53
|
+
ondragend?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
54
|
+
ontouchstart?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
55
|
+
ontouchmove?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
56
|
+
ontouchend?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
57
|
+
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
|
+
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
|
+
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
+
class?: string;
|
|
61
|
+
style?: string;
|
|
62
|
+
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
63
|
+
}> & {
|
|
64
|
+
data: Datum[];
|
|
65
|
+
x?: ChannelAccessor<Datum>;
|
|
66
|
+
y?: ChannelAccessor<Datum>;
|
|
67
|
+
/**
|
|
68
|
+
* the window size (the window transform's k option), an integer; defaults to 20
|
|
69
|
+
*/
|
|
70
|
+
n?: number;
|
|
71
|
+
/**
|
|
72
|
+
* the band radius, a number representing a multiple of standard deviations; defaults to 2
|
|
73
|
+
*/
|
|
74
|
+
k?: number;
|
|
75
|
+
};
|
|
4
76
|
events(): {};
|
|
5
77
|
slots(): {};
|
|
6
78
|
bindings(): "";
|
|
@@ -1,6 +1,78 @@
|
|
|
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
|
+
fill: ChannelAccessor<Datum>;
|
|
11
|
+
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
12
|
+
sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
|
|
13
|
+
channel: string;
|
|
14
|
+
order?: "ascending" | "descending";
|
|
15
|
+
} | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Datum>;
|
|
16
|
+
stroke: ChannelAccessor<Datum>;
|
|
17
|
+
strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
18
|
+
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
19
|
+
strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
|
|
20
|
+
strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
|
|
21
|
+
strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
22
|
+
opacity: ChannelAccessor<Datum>;
|
|
23
|
+
strokeDasharray: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
24
|
+
strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
25
|
+
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
26
|
+
clipPath: string;
|
|
27
|
+
imageFilter: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
28
|
+
shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
|
|
29
|
+
paintOrder: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
30
|
+
onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
31
|
+
ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
32
|
+
onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
33
|
+
onmousedown?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
34
|
+
onmouseenter?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
35
|
+
onmousemove?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
36
|
+
onmouseleave?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
37
|
+
onmouseout?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
38
|
+
onmouseover?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
39
|
+
onpointercancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
40
|
+
onpointerdown?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
41
|
+
onpointerup?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
42
|
+
onpointerenter?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
43
|
+
onpointerleave?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
44
|
+
onpointermove?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
45
|
+
onpointerover?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
46
|
+
onpointerout?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
47
|
+
ondrag?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
48
|
+
ondrop?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
49
|
+
ondragstart?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
50
|
+
ondragenter?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
51
|
+
ondragleave?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
52
|
+
ondragover?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
53
|
+
ondragend?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
54
|
+
ontouchstart?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
55
|
+
ontouchmove?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
56
|
+
ontouchend?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
57
|
+
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
|
+
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
|
+
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
+
class?: string;
|
|
61
|
+
style?: string;
|
|
62
|
+
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
63
|
+
}> & {
|
|
64
|
+
data: Datum[];
|
|
65
|
+
x?: ChannelAccessor<Datum>;
|
|
66
|
+
y?: ChannelAccessor<Datum>;
|
|
67
|
+
/**
|
|
68
|
+
* the window size (the window transform's k option), an integer; defaults to 20
|
|
69
|
+
*/
|
|
70
|
+
n?: number;
|
|
71
|
+
/**
|
|
72
|
+
* the band radius, a number representing a multiple of standard deviations; defaults to 2
|
|
73
|
+
*/
|
|
74
|
+
k?: number;
|
|
75
|
+
};
|
|
4
76
|
events(): {};
|
|
5
77
|
slots(): {};
|
|
6
78
|
bindings(): "";
|
|
@@ -1,29 +1,89 @@
|
|
|
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
|
+
fill: ChannelAccessor<Datum>;
|
|
11
|
+
fillOpacity: import("../types").ConstantAccessor<number, Datum>;
|
|
12
|
+
sort: ((a: import("../types").RawValue, b: import("../types").RawValue) => number) | {
|
|
13
|
+
channel: string;
|
|
14
|
+
order?: "ascending" | "descending";
|
|
15
|
+
} | import("../types").ConstantAccessor<import("../types").RawValue, Datum>;
|
|
16
|
+
stroke: ChannelAccessor<Datum>;
|
|
17
|
+
strokeWidth: import("../types").ConstantAccessor<number, Datum>;
|
|
18
|
+
strokeOpacity: import("../types").ConstantAccessor<number, Datum>;
|
|
19
|
+
strokeLinejoin: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
|
|
20
|
+
strokeLinecap: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
|
|
21
|
+
strokeMiterlimit: import("../types").ConstantAccessor<number, Datum>;
|
|
22
|
+
opacity: ChannelAccessor<Datum>;
|
|
23
|
+
strokeDasharray: import("../types").ConstantAccessor<string, Datum>;
|
|
24
|
+
strokeDashoffset: import("../types").ConstantAccessor<number, Datum>;
|
|
25
|
+
mixBlendMode: import("../types").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
26
|
+
clipPath: string;
|
|
27
|
+
imageFilter: import("../types").ConstantAccessor<string, Datum>;
|
|
28
|
+
shapeRendering: import("../types").ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
|
|
29
|
+
paintOrder: import("../types").ConstantAccessor<string, Datum>;
|
|
30
|
+
onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
31
|
+
ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
32
|
+
onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
33
|
+
onmousedown?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
34
|
+
onmouseenter?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
35
|
+
onmousemove?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
36
|
+
onmouseleave?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
37
|
+
onmouseout?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
38
|
+
onmouseover?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
39
|
+
onpointercancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
40
|
+
onpointerdown?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
41
|
+
onpointerup?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
42
|
+
onpointerenter?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
43
|
+
onpointerleave?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
44
|
+
onpointermove?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
45
|
+
onpointerover?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
46
|
+
onpointerout?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
47
|
+
ondrag?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
48
|
+
ondrop?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
49
|
+
ondragstart?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
50
|
+
ondragenter?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
51
|
+
ondragleave?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
52
|
+
ondragover?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
53
|
+
ondragend?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
54
|
+
ontouchstart?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
55
|
+
ontouchmove?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
56
|
+
ontouchend?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
57
|
+
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
|
+
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
|
+
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
+
class?: string;
|
|
61
|
+
style?: string;
|
|
62
|
+
cursor: import("../types").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
63
|
+
}>, "fx" | "fy" | "fill" | "stroke" | "class"> & {
|
|
4
64
|
data: Datum[];
|
|
5
65
|
x: ChannelAccessor;
|
|
6
66
|
y: ChannelAccessor;
|
|
7
67
|
/**
|
|
8
68
|
* Options for the rule marks that represent the min/max range
|
|
9
69
|
*/
|
|
10
|
-
rule: Record<string, ChannelAccessor<
|
|
70
|
+
rule: Record<string, ChannelAccessor<Datum>>;
|
|
11
71
|
/**
|
|
12
72
|
* Options for the bar marks that represent the IQR range
|
|
13
73
|
*/
|
|
14
|
-
bar: Record<string, ChannelAccessor<
|
|
74
|
+
bar: Record<string, ChannelAccessor<Datum>>;
|
|
15
75
|
/**
|
|
16
76
|
* Options for the tick marks that represent the median
|
|
17
77
|
*/
|
|
18
|
-
tickMedian: Record<string, ChannelAccessor<
|
|
78
|
+
tickMedian: boolean | Record<string, ChannelAccessor<Datum>>;
|
|
19
79
|
/**
|
|
20
80
|
* Options for the tick marks that represent the min/max range
|
|
21
81
|
*/
|
|
22
|
-
tickMinMax: Record<string, ChannelAccessor<
|
|
82
|
+
tickMinMax: boolean | Record<string, ChannelAccessor<Datum>>;
|
|
23
83
|
/**
|
|
24
84
|
* Options for the dot marks that represent the outliers
|
|
25
85
|
*/
|
|
26
|
-
dot: Record<string, ChannelAccessor<
|
|
86
|
+
dot: Record<string, ChannelAccessor<Datum>>;
|
|
27
87
|
};
|
|
28
88
|
events(): {};
|
|
29
89
|
slots(): {};
|
|
@@ -9,10 +9,10 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
9
9
|
dy: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
10
10
|
fill: ChannelAccessor<Datum>;
|
|
11
11
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
12
|
-
sort: {
|
|
12
|
+
sort: ((a: import("../types/data.js").RawValue, b: import("../types/data.js").RawValue) => number) | {
|
|
13
13
|
channel: string;
|
|
14
14
|
order?: "ascending" | "descending";
|
|
15
|
-
} |
|
|
15
|
+
} | import("../types/index.js").ConstantAccessor<import("../types/data.js").RawValue, Datum>;
|
|
16
16
|
stroke: ChannelAccessor<Datum>;
|
|
17
17
|
strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
18
18
|
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
@@ -1,6 +1,85 @@
|
|
|
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
|
+
fill: ChannelAccessor<Datum>;
|
|
12
|
+
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
13
|
+
sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
|
|
14
|
+
channel: string;
|
|
15
|
+
order?: "ascending" | "descending";
|
|
16
|
+
} | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Datum>;
|
|
17
|
+
stroke: ChannelAccessor<Datum>;
|
|
18
|
+
strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
19
|
+
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
20
|
+
strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
|
|
21
|
+
strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
|
|
22
|
+
strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
23
|
+
opacity: ChannelAccessor<Datum>;
|
|
24
|
+
strokeDasharray: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
25
|
+
strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
26
|
+
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
27
|
+
clipPath: string;
|
|
28
|
+
imageFilter: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
29
|
+
shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
|
|
30
|
+
paintOrder: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
31
|
+
onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
32
|
+
ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
33
|
+
onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
34
|
+
onmousedown?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
35
|
+
onmouseenter?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
36
|
+
onmousemove?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
37
|
+
onmouseleave?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
38
|
+
onmouseout?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
39
|
+
onmouseover?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
40
|
+
onpointercancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
41
|
+
onpointerdown?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
42
|
+
onpointerup?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
43
|
+
onpointerenter?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
44
|
+
onpointerleave?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
45
|
+
onpointermove?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
46
|
+
onpointerover?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
47
|
+
onpointerout?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
48
|
+
ondrag?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
49
|
+
ondrop?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
50
|
+
ondragstart?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
51
|
+
ondragenter?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
52
|
+
ondragleave?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
53
|
+
ondragover?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
54
|
+
ondragend?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
55
|
+
ontouchstart?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
56
|
+
ontouchmove?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
57
|
+
ontouchend?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
|
+
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
|
+
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
+
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
|
+
class?: string;
|
|
62
|
+
style?: string;
|
|
63
|
+
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
64
|
+
}> & {
|
|
65
|
+
data?: Datum[] | undefined;
|
|
66
|
+
x?: ChannelAccessor<Datum>;
|
|
67
|
+
x1?: ChannelAccessor<Datum>;
|
|
68
|
+
x2?: ChannelAccessor<Datum>;
|
|
69
|
+
y?: ChannelAccessor<Datum>;
|
|
70
|
+
y1?: ChannelAccessor<Datum>;
|
|
71
|
+
y2?: ChannelAccessor<Datum>;
|
|
72
|
+
r?: ChannelAccessor<Datum>;
|
|
73
|
+
mark?: Snippet<[{
|
|
74
|
+
record: ScaledDataRecord<Datum>;
|
|
75
|
+
index: number;
|
|
76
|
+
usedScales: UsedScales;
|
|
77
|
+
}]> | undefined;
|
|
78
|
+
marks?: Snippet<[{
|
|
79
|
+
records: ScaledDataRecord<Datum>[];
|
|
80
|
+
usedScales: UsedScales;
|
|
81
|
+
}]> | undefined;
|
|
82
|
+
};
|
|
4
83
|
events(): {};
|
|
5
84
|
slots(): {};
|
|
6
85
|
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<"top" | "bottom" | "left" | "center" | "right" | "top-left" | "bottom-left" | "top-right" | "bottom-right", Datum>;
|
|
9
9
|
class: string | null;
|
|
10
10
|
children: Snippet<{
|
|
11
11
|
datum: Datum;
|