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 Snippet } from 'svelte';
|
|
2
2
|
import type { DataRecord, ConstantAccessor, ChannelAccessor, LinkableMarkProps } from '../types/index.js';
|
|
3
|
-
import { maybeSymbol } from '../helpers/symbols.js';
|
|
4
3
|
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
5
4
|
props(): Partial<{
|
|
6
5
|
filter: ConstantAccessor<boolean, Datum>;
|
|
@@ -9,14 +8,14 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
9
8
|
fy: ChannelAccessor<Datum>;
|
|
10
9
|
dx: ConstantAccessor<number, Datum>;
|
|
11
10
|
dy: ConstantAccessor<number, Datum>;
|
|
12
|
-
dodgeX:
|
|
13
|
-
dodgeY:
|
|
11
|
+
dodgeX: import("../transforms/dodge.js").DodgeXOptions;
|
|
12
|
+
dodgeY: import("../transforms/dodge.js").DodgeYOptions;
|
|
14
13
|
fill: ChannelAccessor<Datum>;
|
|
15
14
|
fillOpacity: ConstantAccessor<number, Datum>;
|
|
16
|
-
sort: {
|
|
15
|
+
sort: ((a: import("../types/data.js").RawValue, b: import("../types/data.js").RawValue) => number) | {
|
|
17
16
|
channel: string;
|
|
18
17
|
order?: "ascending" | "descending";
|
|
19
|
-
} |
|
|
18
|
+
} | ConstantAccessor<import("../types/data.js").RawValue, Datum>;
|
|
20
19
|
stroke: ChannelAccessor<Datum>;
|
|
21
20
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
22
21
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { recordizeX } from '../index.js';
|
|
2
1
|
import type { DataRow } from '../types/index.js';
|
|
3
2
|
declare class __sveltets_Render<Datum extends DataRow> {
|
|
4
3
|
props(): Omit<Partial<{
|
|
@@ -8,14 +7,14 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
8
7
|
fy: import("../types/channel").ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
9
8
|
dx: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
10
9
|
dy: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
11
|
-
dodgeX:
|
|
12
|
-
dodgeY:
|
|
10
|
+
dodgeX: import("../transforms/dodge").DodgeXOptions;
|
|
11
|
+
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
13
12
|
fill: import("../types/channel").ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
14
13
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
15
|
-
sort: {
|
|
14
|
+
sort: ((a: import("../types/data").RawValue, b: import("../types/data").RawValue) => number) | {
|
|
16
15
|
channel: string;
|
|
17
16
|
order?: "ascending" | "descending";
|
|
18
|
-
} |
|
|
17
|
+
} | import("../types/index.js").ConstantAccessor<import("../types/data").RawValue, Record<string | symbol, import("../types/data").RawValue>>;
|
|
19
18
|
stroke: import("../types/channel").ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
20
19
|
strokeWidth: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
21
20
|
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
@@ -71,7 +70,7 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
71
70
|
symbol?: import("../types/channel").ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>> | import("svelte").Snippet<[number, string]>;
|
|
72
71
|
canvas?: boolean;
|
|
73
72
|
dotClass?: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/data").RawValue>>;
|
|
74
|
-
}, "
|
|
73
|
+
}, "data" | "y"> & {
|
|
75
74
|
data: Datum[];
|
|
76
75
|
};
|
|
77
76
|
events(): {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { recordizeY } from '../index.js';
|
|
2
1
|
import type { DataRow } from '../types/index.js';
|
|
3
2
|
declare class __sveltets_Render<Datum extends DataRow> {
|
|
4
3
|
props(): Omit<Partial<{
|
|
@@ -8,14 +7,14 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
8
7
|
fy: import("../types/channel").ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
9
8
|
dx: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
10
9
|
dy: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
11
|
-
dodgeX:
|
|
12
|
-
dodgeY:
|
|
10
|
+
dodgeX: import("../transforms/dodge").DodgeXOptions;
|
|
11
|
+
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
13
12
|
fill: import("../types/channel").ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
14
13
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
15
|
-
sort: {
|
|
14
|
+
sort: ((a: import("../types/data").RawValue, b: import("../types/data").RawValue) => number) | {
|
|
16
15
|
channel: string;
|
|
17
16
|
order?: "ascending" | "descending";
|
|
18
|
-
} |
|
|
17
|
+
} | import("../types/index.js").ConstantAccessor<import("../types/data").RawValue, Record<string | symbol, import("../types/data").RawValue>>;
|
|
19
18
|
stroke: import("../types/channel").ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
20
19
|
strokeWidth: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
21
20
|
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
@@ -71,7 +70,7 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
71
70
|
symbol?: import("../types/channel").ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>> | import("svelte").Snippet<[number, string]>;
|
|
72
71
|
canvas?: boolean;
|
|
73
72
|
dotClass?: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/data").RawValue>>;
|
|
74
|
-
}, "
|
|
73
|
+
}, "data" | "x"> & {
|
|
75
74
|
data: Datum[];
|
|
76
75
|
};
|
|
77
76
|
events(): {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { DataRecord, ConstantAccessor, LinkableMarkProps, ChannelAccessor } from '../types/index.js';
|
|
2
|
-
import { resolveChannel } from '../helpers/resolve.js';
|
|
3
2
|
declare class __sveltets_Render<Datum = DataRecord | GeoJSON.GeoJsonObject> {
|
|
4
3
|
props(): Partial<{
|
|
5
4
|
filter: ConstantAccessor<boolean, Datum>;
|
|
@@ -8,14 +7,14 @@ declare class __sveltets_Render<Datum = DataRecord | GeoJSON.GeoJsonObject> {
|
|
|
8
7
|
fy: ChannelAccessor<Datum>;
|
|
9
8
|
dx: ConstantAccessor<number, Datum>;
|
|
10
9
|
dy: 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: 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
|
+
} | ConstantAccessor<import("../types/data.js").RawValue, Datum>;
|
|
19
18
|
stroke: ChannelAccessor<Datum>;
|
|
20
19
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
21
20
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { RawValue, ChannelAccessor } from '../types/index.js';
|
|
2
|
-
import { autoTicks } from '../helpers/autoTicks.js';
|
|
3
2
|
declare class __sveltets_Render<Datum = RawValue> {
|
|
4
3
|
props(): Omit<Partial<{
|
|
5
4
|
filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
|
|
@@ -8,14 +7,14 @@ declare class __sveltets_Render<Datum = RawValue> {
|
|
|
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").DodgeXOptions;
|
|
11
|
+
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
13
12
|
fill: ChannelAccessor<Datum>;
|
|
14
13
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
15
|
-
sort: {
|
|
14
|
+
sort: ((a: RawValue, b: RawValue) => number) | {
|
|
16
15
|
channel: string;
|
|
17
16
|
order?: "ascending" | "descending";
|
|
18
|
-
} |
|
|
17
|
+
} | import("../types/index.js").ConstantAccessor<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,5 +1,4 @@
|
|
|
1
1
|
import type { RawValue, ChannelAccessor } from '../types/index.js';
|
|
2
|
-
import { autoTicks } from '../helpers/autoTicks.js';
|
|
3
2
|
declare class __sveltets_Render<Datum = RawValue> {
|
|
4
3
|
props(): Omit<Partial<{
|
|
5
4
|
filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
|
|
@@ -8,14 +7,14 @@ declare class __sveltets_Render<Datum = RawValue> {
|
|
|
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").DodgeXOptions;
|
|
11
|
+
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
13
12
|
fill: ChannelAccessor<Datum>;
|
|
14
13
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
15
|
-
sort: {
|
|
14
|
+
sort: ((a: RawValue, b: RawValue) => number) | {
|
|
16
15
|
channel: string;
|
|
17
16
|
order?: "ascending" | "descending";
|
|
18
|
-
} |
|
|
17
|
+
} | import("../types/index.js").ConstantAccessor<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,79 @@
|
|
|
1
|
-
import type { DataRecord } from '../types';
|
|
1
|
+
import type { ChannelAccessor, ConstantAccessor, DataRecord, LinkableMarkProps } from '../types';
|
|
2
2
|
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
3
|
-
props():
|
|
3
|
+
props(): Partial<{
|
|
4
|
+
filter: ConstantAccessor<boolean, Datum>;
|
|
5
|
+
facet: "auto" | "include" | "exclude";
|
|
6
|
+
fx: ChannelAccessor<Datum>;
|
|
7
|
+
fy: ChannelAccessor<Datum>;
|
|
8
|
+
dx: ConstantAccessor<number, Datum>;
|
|
9
|
+
dy: ConstantAccessor<number, Datum>;
|
|
10
|
+
dodgeX: import("../transforms/dodge").DodgeXOptions;
|
|
11
|
+
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
12
|
+
fill: ChannelAccessor<Datum>;
|
|
13
|
+
fillOpacity: ConstantAccessor<number, Datum>;
|
|
14
|
+
sort: ((a: import("../types").RawValue, b: import("../types").RawValue) => number) | {
|
|
15
|
+
channel: string;
|
|
16
|
+
order?: "ascending" | "descending";
|
|
17
|
+
} | ConstantAccessor<import("../types").RawValue, Datum>;
|
|
18
|
+
stroke: ChannelAccessor<Datum>;
|
|
19
|
+
strokeWidth: ConstantAccessor<number, Datum>;
|
|
20
|
+
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
21
|
+
strokeLinejoin: ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
|
|
22
|
+
strokeLinecap: ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
|
|
23
|
+
strokeMiterlimit: ConstantAccessor<number, Datum>;
|
|
24
|
+
opacity: ChannelAccessor<Datum>;
|
|
25
|
+
strokeDasharray: ConstantAccessor<string, Datum>;
|
|
26
|
+
strokeDashoffset: ConstantAccessor<number, Datum>;
|
|
27
|
+
mixBlendMode: ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
28
|
+
clipPath: string;
|
|
29
|
+
imageFilter: ConstantAccessor<string, Datum>;
|
|
30
|
+
shapeRendering: ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
|
|
31
|
+
paintOrder: 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: ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
65
|
+
}> & LinkableMarkProps<Datum> & {
|
|
66
|
+
data: Datum[];
|
|
67
|
+
x: ChannelAccessor<Datum>;
|
|
68
|
+
y: ChannelAccessor<Datum>;
|
|
69
|
+
r?: ChannelAccessor<Datum>;
|
|
70
|
+
width?: ConstantAccessor<number, Datum>;
|
|
71
|
+
height?: ConstantAccessor<number, Datum>;
|
|
72
|
+
src?: ConstantAccessor<string, Datum>;
|
|
73
|
+
title?: ConstantAccessor<string, Datum>;
|
|
74
|
+
preserveAspectRatio?: string;
|
|
75
|
+
imageClass?: ConstantAccessor<string, Datum>;
|
|
76
|
+
};
|
|
4
77
|
events(): {};
|
|
5
78
|
slots(): {};
|
|
6
79
|
bindings(): "";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { CurveName, DataRecord, ConstantAccessor, ChannelAccessor, MarkerOptions } from '../types/index.js';
|
|
2
2
|
import { type CurveFactory } from 'd3-shape';
|
|
3
|
-
import callWithProps from '../helpers/callWithProps.js';
|
|
4
3
|
import type { RawValue } from '../types/index.js';
|
|
5
4
|
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
6
5
|
props(): MarkerOptions & Partial<{
|
|
@@ -10,14 +9,14 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
10
9
|
fy: ChannelAccessor<Datum>;
|
|
11
10
|
dx: ConstantAccessor<number, Datum>;
|
|
12
11
|
dy: ConstantAccessor<number, Datum>;
|
|
13
|
-
dodgeX:
|
|
14
|
-
dodgeY:
|
|
12
|
+
dodgeX: import("../transforms/dodge.js").DodgeXOptions;
|
|
13
|
+
dodgeY: import("../transforms/dodge.js").DodgeYOptions;
|
|
15
14
|
fill: ChannelAccessor<Datum>;
|
|
16
15
|
fillOpacity: ConstantAccessor<number, Datum>;
|
|
17
|
-
sort: {
|
|
16
|
+
sort: ((a: RawValue, b: RawValue) => number) | {
|
|
18
17
|
channel: string;
|
|
19
18
|
order?: "ascending" | "descending";
|
|
20
|
-
} |
|
|
19
|
+
} | ConstantAccessor<RawValue, Datum>;
|
|
21
20
|
stroke: ChannelAccessor<Datum>;
|
|
22
21
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
23
22
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
@@ -75,7 +74,7 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
75
74
|
outlineStrokeOpacity?: number;
|
|
76
75
|
curve?: CurveName | CurveFactory | "auto";
|
|
77
76
|
tension?: number;
|
|
78
|
-
sort?: ConstantAccessor<RawValue,
|
|
77
|
+
sort?: ConstantAccessor<RawValue, Datum> | {
|
|
79
78
|
channel: "stroke" | "fill";
|
|
80
79
|
};
|
|
81
80
|
text?: ConstantAccessor<string, Datum>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { recordizeX } from '../index.js';
|
|
2
1
|
import type { DataRow } from '../index.js';
|
|
3
2
|
declare class __sveltets_Render<Datum extends DataRow> {
|
|
4
3
|
props(): Omit<import("../types").MarkerOptions & Partial<{
|
|
@@ -8,14 +7,14 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
8
7
|
fy: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
9
8
|
dx: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
10
9
|
dy: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
11
|
-
dodgeX:
|
|
12
|
-
dodgeY:
|
|
10
|
+
dodgeX: import("../transforms/dodge").DodgeXOptions;
|
|
11
|
+
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
13
12
|
fill: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
14
13
|
fillOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
15
|
-
sort: {
|
|
14
|
+
sort: ((a: import("../types").RawValue, b: import("../types").RawValue) => number) | {
|
|
16
15
|
channel: string;
|
|
17
16
|
order?: "ascending" | "descending";
|
|
18
|
-
} |
|
|
17
|
+
} | import("../types").ConstantAccessor<import("../types").RawValue, Record<string | symbol, import("../types").RawValue>>;
|
|
19
18
|
stroke: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
20
19
|
strokeWidth: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
21
20
|
strokeOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
@@ -73,7 +72,7 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
73
72
|
outlineStrokeOpacity?: number;
|
|
74
73
|
curve?: import("../types").CurveName | import("d3-shape").CurveFactory | "auto";
|
|
75
74
|
tension?: number;
|
|
76
|
-
sort?: import("../types").ConstantAccessor<
|
|
75
|
+
sort?: import("../types").ConstantAccessor<import("../types").RawValue, Record<string | symbol, import("../types").RawValue>> | {
|
|
77
76
|
channel: "stroke" | "fill";
|
|
78
77
|
};
|
|
79
78
|
text?: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
@@ -83,7 +82,7 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
83
82
|
textStrokeWidth?: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
84
83
|
lineClass?: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
85
84
|
canvas?: boolean;
|
|
86
|
-
}, "
|
|
85
|
+
}, "data" | "y"> & {
|
|
87
86
|
data: Datum[];
|
|
88
87
|
};
|
|
89
88
|
events(): {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { recordizeY } from '../index.js';
|
|
2
1
|
import type { DataRow } from '../index.js';
|
|
3
2
|
declare class __sveltets_Render<Datum extends DataRow> {
|
|
4
3
|
props(): Omit<import("../types").MarkerOptions & Partial<{
|
|
@@ -8,14 +7,14 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
8
7
|
fy: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
9
8
|
dx: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
10
9
|
dy: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
11
|
-
dodgeX:
|
|
12
|
-
dodgeY:
|
|
10
|
+
dodgeX: import("../transforms/dodge").DodgeXOptions;
|
|
11
|
+
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
13
12
|
fill: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
14
13
|
fillOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
15
|
-
sort: {
|
|
14
|
+
sort: ((a: import("../types").RawValue, b: import("../types").RawValue) => number) | {
|
|
16
15
|
channel: string;
|
|
17
16
|
order?: "ascending" | "descending";
|
|
18
|
-
} |
|
|
17
|
+
} | import("../types").ConstantAccessor<import("../types").RawValue, Record<string | symbol, import("../types").RawValue>>;
|
|
19
18
|
stroke: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
|
|
20
19
|
strokeWidth: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
21
20
|
strokeOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
@@ -73,7 +72,7 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
73
72
|
outlineStrokeOpacity?: number;
|
|
74
73
|
curve?: import("../types").CurveName | import("d3-shape").CurveFactory | "auto";
|
|
75
74
|
tension?: number;
|
|
76
|
-
sort?: import("../types").ConstantAccessor<
|
|
75
|
+
sort?: import("../types").ConstantAccessor<import("../types").RawValue, Record<string | symbol, import("../types").RawValue>> | {
|
|
77
76
|
channel: "stroke" | "fill";
|
|
78
77
|
};
|
|
79
78
|
text?: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
@@ -83,7 +82,7 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
83
82
|
textStrokeWidth?: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
|
|
84
83
|
lineClass?: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
|
|
85
84
|
canvas?: boolean;
|
|
86
|
-
}, "
|
|
85
|
+
}, "data" | "x"> & {
|
|
87
86
|
data: Datum[];
|
|
88
87
|
};
|
|
89
88
|
events(): {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { DataRecord, ConstantAccessor, ChannelAccessor, CurveName, MarkerOptions, RawValue } from '../types/index.js';
|
|
2
|
-
import { replaceChannels } from '../transforms/rename.js';
|
|
3
2
|
import { type CurveFactory } from 'd3-shape';
|
|
4
3
|
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
5
4
|
props(): Partial<{
|
|
@@ -9,14 +8,14 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
9
8
|
fy: ChannelAccessor<Datum>;
|
|
10
9
|
dx: ConstantAccessor<number, Datum>;
|
|
11
10
|
dy: ConstantAccessor<number, Datum>;
|
|
12
|
-
dodgeX:
|
|
13
|
-
dodgeY:
|
|
11
|
+
dodgeX: import("../transforms/dodge.js").DodgeXOptions;
|
|
12
|
+
dodgeY: import("../transforms/dodge.js").DodgeYOptions;
|
|
14
13
|
fill: 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: ChannelAccessor<Datum>;
|
|
21
20
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
22
21
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { intervalX } from '../index.js';
|
|
2
1
|
import type { DataRecord, BaseRectMarkProps, ChannelAccessor, LinkableMarkProps } from '../types/index.js';
|
|
3
2
|
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
4
3
|
props(): Partial<{
|
|
@@ -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").DodgeXOptions;
|
|
11
|
+
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
13
12
|
fill: ChannelAccessor<Datum>;
|
|
14
13
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
15
|
-
sort: {
|
|
14
|
+
sort: ((a: import("../types/data").RawValue, b: import("../types/data").RawValue) => number) | {
|
|
16
15
|
channel: string;
|
|
17
16
|
order?: "ascending" | "descending";
|
|
18
|
-
} |
|
|
17
|
+
} | import("../types/index.js").ConstantAccessor<import("../types/data").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,4 +1,3 @@
|
|
|
1
|
-
import { recordizeX } from '../transforms/recordize.js';
|
|
2
1
|
import type { DataRecord, ConstantAccessor, ChannelAccessor, RawValue } from '../types/index.js';
|
|
3
2
|
declare class __sveltets_Render<Datum = DataRecord | RawValue> {
|
|
4
3
|
props(): Omit<Partial<{
|
|
@@ -8,14 +7,14 @@ declare class __sveltets_Render<Datum = DataRecord | RawValue> {
|
|
|
8
7
|
fy: 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: 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: ChannelAccessor<Datum>;
|
|
20
19
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
21
20
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { recordizeY } from '../transforms/recordize.js';
|
|
2
1
|
import type { DataRecord, ConstantAccessor, ChannelAccessor } from '../types/index.js';
|
|
3
2
|
declare class __sveltets_Render<Datum = DataRecord> {
|
|
4
3
|
props(): Omit<Partial<{
|
|
@@ -8,14 +7,14 @@ declare class __sveltets_Render<Datum = DataRecord> {
|
|
|
8
7
|
fy: 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: ChannelAccessor<Datum>;
|
|
14
13
|
fillOpacity: ConstantAccessor<number, Datum>;
|
|
15
|
-
sort: {
|
|
14
|
+
sort: ((a: import("../types/data").RawValue, b: import("../types/data").RawValue) => number) | {
|
|
16
15
|
channel: string;
|
|
17
16
|
order?: "ascending" | "descending";
|
|
18
|
-
} |
|
|
17
|
+
} | ConstantAccessor<import("../types/data").RawValue, Datum>;
|
|
19
18
|
stroke: ChannelAccessor<Datum>;
|
|
20
19
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
21
20
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ChannelAccessor, DataRecord } from '../types/index.js';
|
|
2
|
-
import { getPlotDefaults } from '../hooks/plotDefaults.js';
|
|
3
2
|
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
4
3
|
props(): Omit<Partial<{
|
|
5
4
|
filter: import("../types/index.js").ConstantAccessor<boolean, Record<string | symbol, import("../types/data").RawValue>>;
|
|
@@ -8,14 +7,14 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
8
7
|
fy: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
9
8
|
dx: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
10
9
|
dy: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
11
|
-
dodgeX:
|
|
12
|
-
dodgeY:
|
|
10
|
+
dodgeX: import("../transforms/dodge").DodgeXOptions;
|
|
11
|
+
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
13
12
|
fill: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
14
13
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
15
|
-
sort: {
|
|
14
|
+
sort: ((a: import("../types/data").RawValue, b: import("../types/data").RawValue) => number) | {
|
|
16
15
|
channel: string;
|
|
17
16
|
order?: "ascending" | "descending";
|
|
18
|
-
} |
|
|
17
|
+
} | import("../types/index.js").ConstantAccessor<import("../types/data").RawValue, Record<string | symbol, import("../types/data").RawValue>>;
|
|
19
18
|
stroke: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
20
19
|
strokeWidth: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
21
20
|
strokeOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
@@ -74,7 +73,7 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
74
73
|
shape?: "arrow" | "spike" | "arrow-filled" | import("./Vector.svelte").ShapeRenderer;
|
|
75
74
|
children?: import("svelte").Snippet;
|
|
76
75
|
canvas?: boolean;
|
|
77
|
-
}, "
|
|
76
|
+
}, "data" | "r" | "length" | "x" | "y" | "rotate"> & {
|
|
78
77
|
data: Datum[];
|
|
79
78
|
x: ChannelAccessor<Datum>;
|
|
80
79
|
y: ChannelAccessor<Datum>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type * as CSS from 'csstype';
|
|
2
2
|
import { type Snippet } from 'svelte';
|
|
3
3
|
import type { DataRecord, ConstantAccessor, ChannelAccessor, LinkableMarkProps } from '../types/index.js';
|
|
4
|
-
import { sort } from '../index.js';
|
|
5
4
|
declare class __sveltets_Render<Datum extends DataRecord> {
|
|
6
5
|
props(): Partial<{
|
|
7
6
|
filter: ConstantAccessor<boolean, Datum>;
|
|
@@ -10,14 +9,14 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
10
9
|
fy: ChannelAccessor<Datum>;
|
|
11
10
|
dx: ConstantAccessor<number, Datum>;
|
|
12
11
|
dy: 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: ConstantAccessor<number, Datum>;
|
|
17
|
-
sort: {
|
|
16
|
+
sort: ((a: import("../types/data").RawValue, b: import("../types/data").RawValue) => number) | {
|
|
18
17
|
channel: string;
|
|
19
18
|
order?: "ascending" | "descending";
|
|
20
|
-
} |
|
|
19
|
+
} | ConstantAccessor<import("../types/data").RawValue, Datum>;
|
|
21
20
|
stroke: ChannelAccessor<Datum>;
|
|
22
21
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
23
22
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
@@ -101,7 +100,7 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
101
100
|
* @default 1.2
|
|
102
101
|
*/
|
|
103
102
|
lineHeight?: ConstantAccessor<number, Datum>;
|
|
104
|
-
frameAnchor?: ConstantAccessor<"
|
|
103
|
+
frameAnchor?: ConstantAccessor<"left" | "right" | "middle" | "top" | "bottom" | "top-left" | "bottom-left" | "top-right" | "bottom-right", Datum>;
|
|
105
104
|
/**
|
|
106
105
|
* rotate text by angle in degrees
|
|
107
106
|
*/
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ChannelAccessor, DataRow, ConstantAccessor } from '../types/index.js';
|
|
2
|
-
import { recordizeX } from '../index.js';
|
|
3
2
|
declare class __sveltets_Render<Datum extends DataRow> {
|
|
4
3
|
props(): Omit<Partial<{
|
|
5
4
|
filter: ConstantAccessor<boolean, Datum>;
|
|
@@ -8,14 +7,14 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
8
7
|
fy: 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: ChannelAccessor<Datum>;
|
|
14
13
|
fillOpacity: ConstantAccessor<number, Datum>;
|
|
15
|
-
sort: {
|
|
14
|
+
sort: ((a: import("../types/data").RawValue, b: import("../types/data").RawValue) => number) | {
|
|
16
15
|
channel: string;
|
|
17
16
|
order?: "ascending" | "descending";
|
|
18
|
-
} |
|
|
17
|
+
} | ConstantAccessor<import("../types/data").RawValue, Datum>;
|
|
19
18
|
stroke: ChannelAccessor<Datum>;
|
|
20
19
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
21
20
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ChannelAccessor, DataRow, ConstantAccessor } from '../types/index.js';
|
|
2
|
-
import { recordizeY } from '../index.js';
|
|
3
2
|
declare class __sveltets_Render<Datum extends DataRow> {
|
|
4
3
|
props(): Omit<Partial<{
|
|
5
4
|
filter: ConstantAccessor<boolean, Datum>;
|
|
@@ -8,14 +7,14 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
8
7
|
fy: 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: ChannelAccessor<Datum>;
|
|
14
13
|
fillOpacity: ConstantAccessor<number, Datum>;
|
|
15
|
-
sort: {
|
|
14
|
+
sort: ((a: import("../types/data").RawValue, b: import("../types/data").RawValue) => number) | {
|
|
16
15
|
channel: string;
|
|
17
16
|
order?: "ascending" | "descending";
|
|
18
|
-
} |
|
|
17
|
+
} | ConstantAccessor<import("../types/data").RawValue, Datum>;
|
|
19
18
|
stroke: ChannelAccessor<Datum>;
|
|
20
19
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
21
20
|
strokeOpacity: ConstantAccessor<number, Datum>;
|