svelteplot 0.2.9-pr-109.1 → 0.2.10

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # SveltePlot
2
2
 
3
- ![Tests](https://github.com/svelteplot/svelteplot/actions/workflows/test.yml/badge.svg)
3
+ ![License](https://img.shields.io/npm/l/svelteplot.svg) ![Tests](https://github.com/svelteplot/svelteplot/actions/workflows/test.yml/badge.svg)
4
4
 
5
5
  SveltePlot is a visualization framework based on the [layered grammar of graphics](https://vita.had.co.nz/papers/layered-grammar.html) ideas. It's API is heavily inspired by [Observable Plot](https://github.com/observablehq/plot). Created by Gregor Aisch.
6
6
 
@@ -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): any[] | undefined;
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;
@@ -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)[]): any;
7
- export declare function testFilter(datum: DataRecord, options: Record<ChannelName, ChannelAccessor>): any;
6
+ export declare function coalesce(...args: (RawValue | undefined | null)[]): RawValue | null;
7
+ export declare function testFilter(datum: DataRecord, options: Record<ChannelName, ChannelAccessor>): string | number | boolean | symbol | Date | 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;
@@ -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: any;
18
+ domain: RawValue[] | [undefined, undefined];
19
19
  range: any;
20
20
  fn: any;
21
21
  skip: Map<ScaledChannelName, Set<symbol>>;
@@ -1,10 +1,10 @@
1
1
  import type { RawValue } from '../types.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): boolean;
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): boolean;
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): any;
9
+ export declare function isColorOrNull(v: RawValue | null | undefined): boolean;
10
10
  export declare function isOpacityOrNull(v: RawValue): boolean;
@@ -13,6 +13,6 @@ export type BollingerXMarkProps = BaseMarkProps & {
13
13
  };
14
14
  import type { BaseMarkProps, ChannelAccessor, DataRow } from '../types.js';
15
15
  /** line representing a moving average and an area representing volatility as a band */
16
- declare const BollingerX: import("svelte").Component<any, {}, "">;
16
+ declare const BollingerX: import("svelte").Component<BollingerXMarkProps, {}, "">;
17
17
  type BollingerX = ReturnType<typeof BollingerX>;
18
18
  export default BollingerX;
@@ -13,6 +13,6 @@ export type BollingerYMarkProps = BaseMarkProps & {
13
13
  };
14
14
  import type { BaseMarkProps, ChannelAccessor, DataRow } from '../types.js';
15
15
  /** line representing a moving average and an area representing volatility as a band */
16
- declare const BollingerY: import("svelte").Component<any, {}, "">;
16
+ declare const BollingerY: import("svelte").Component<BollingerYMarkProps, {}, "">;
17
17
  type BollingerY = ReturnType<typeof BollingerY>;
18
18
  export default BollingerY;
@@ -1,6 +1,6 @@
1
1
  import { type BaseMarkProps, type LinkableMarkProps } from '../types.js';
2
2
  export type SphereMarkProps = BaseMarkProps & LinkableMarkProps;
3
3
  /** Geo mark with Sphere geometry object */
4
- declare const Sphere: import("svelte").Component<any, {}, "">;
4
+ declare const Sphere: import("svelte").Component<SphereMarkProps, {}, "">;
5
5
  type Sphere = ReturnType<typeof Sphere>;
6
6
  export default Sphere;
@@ -1,4 +1,44 @@
1
+ import { type MarkerShape } from './Marker.svelte';
2
+ import type { BaseMarkProps, ConstantAccessor, DataRecord, Mark, PlotScales } from '../../types.js';
3
+ type MarkerPathProps = BaseMarkProps & {
4
+ /**
5
+ * the datum associated with this path, usually the first
6
+ * element of the data array group
7
+ */
8
+ datum: DataRecord;
9
+ /**
10
+ * the marker shape to use at the start of the path, defaults to
11
+ * circle
12
+ */
13
+ markerStart?: boolean | MarkerShape;
14
+ /**
15
+ * the marker shape to use at the middle of the path, defaults to circle
16
+ */
17
+ markerMid?: boolean | MarkerShape;
18
+ /**
19
+ * the marker shape to use at the end of the path, defaults to circle
20
+ */
21
+ markerEnd?: boolean | MarkerShape;
22
+ /**
23
+ * shorthand for setting all markers
24
+ */
25
+ marker?: boolean | MarkerShape;
26
+ /**
27
+ * path string
28
+ */
29
+ d: string;
30
+ style: string;
31
+ startOffset: string;
32
+ textStyle: string;
33
+ textStyleClass?: string | null;
34
+ text: string;
35
+ transform: string;
36
+ color: string;
37
+ strokeWidth: ConstantAccessor<number>;
38
+ mark: Mark<BaseMarkProps>;
39
+ scales: PlotScales;
40
+ };
1
41
  /** Helper component for paths with markers and optional text along the path. */
2
- declare const MarkerPath: import("svelte").Component<any, {}, "">;
42
+ declare const MarkerPath: import("svelte").Component<MarkerPathProps, {}, "">;
3
43
  type MarkerPath = ReturnType<typeof MarkerPath>;
4
44
  export default MarkerPath;
@@ -11,4 +11,69 @@ export type BollingerOptions = {
11
11
  };
12
12
  export declare function bollingerX(args: TransformArg<DataRecord>, options?: BollingerOptions): TransformArg<DataRecord>;
13
13
  export declare function bollingerY(args: TransformArg<DataRecord>, options?: BollingerOptions): TransformArg<DataRecord>;
14
- export declare function bollingerDim(dim: 'x' | 'y', { data, ...channels }: TransformArg<DataRecord>, options?: BollingerOptions): any;
14
+ export declare function bollingerDim(dim: 'x' | 'y', { data, ...channels }: TransformArg<DataRecord>, options?: BollingerOptions): {
15
+ filter?: import("../types.js").ConstantAccessor<boolean>;
16
+ facet?: "auto" | "include" | "exclude" | undefined;
17
+ fx?: import("../types.js").ChannelAccessor;
18
+ fy?: import("../types.js").ChannelAccessor;
19
+ dx?: import("../types.js").ConstantAccessor<number>;
20
+ dy?: import("../types.js").ConstantAccessor<number>;
21
+ fill?: import("../types.js").ConstantAccessor<string>;
22
+ fillOpacity?: import("../types.js").ConstantAccessor<number>;
23
+ sort?: string | import("../types.js").ConstantAccessor<import("../types.js").RawValue> | ((a: import("../types.js").RawValue, b: import("../types.js").RawValue) => number) | {
24
+ channel: string;
25
+ order?: "ascending" | "descending";
26
+ };
27
+ stroke?: import("../types.js").ConstantAccessor<string>;
28
+ strokeWidth?: import("../types.js").ConstantAccessor<number>;
29
+ strokeOpacity?: import("../types.js").ConstantAccessor<number>;
30
+ strokeLinejoin?: import("../types.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin>;
31
+ strokeLinecap?: import("../types.js").ConstantAccessor<import("csstype").Property.StrokeLinecap>;
32
+ strokeMiterlimit?: import("../types.js").ConstantAccessor<number>;
33
+ opacity?: import("../types.js").ConstantAccessor<number>;
34
+ strokeDasharray?: import("../types.js").ConstantAccessor<string>;
35
+ strokeDashoffset?: import("../types.js").ConstantAccessor<number>;
36
+ mixBlendMode?: import("../types.js").ConstantAccessor<import("csstype").Property.MixBlendMode>;
37
+ clipPath?: string | undefined;
38
+ imageFilter?: import("../types.js").ConstantAccessor<string>;
39
+ shapeRendering?: import("../types.js").ConstantAccessor<import("csstype").Property.ShapeRendering>;
40
+ paintOrder?: import("../types.js").ConstantAccessor<string>;
41
+ onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
42
+ ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
43
+ onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
44
+ onmousedown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
45
+ onmouseenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
46
+ onmousemove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
47
+ onmouseleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
48
+ onmouseout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
49
+ onmouseover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
50
+ onpointercancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
51
+ onpointerdown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
52
+ onpointerup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
53
+ onpointerenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
54
+ onpointerleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
55
+ onpointermove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
56
+ onpointerover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
57
+ onpointerout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
58
+ ondrag?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
59
+ ondrop?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
60
+ ondragstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
61
+ ondragenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
62
+ ondragleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
63
+ ondragover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
64
+ ondragend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
65
+ ontouchstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
66
+ ontouchmove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
67
+ ontouchend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
68
+ ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
69
+ oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
70
+ onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
71
+ class?: string | null | undefined;
72
+ cursor?: import("../types.js").ConstantAccessor<import("csstype").Property.Cursor>;
73
+ data: {
74
+ __x: import("../types.js").RawValue;
75
+ __lo: number;
76
+ __avg: number;
77
+ __hi: number;
78
+ }[];
79
+ };
@@ -1,2 +1,67 @@
1
1
  import type { DataRecord, TransformArg } from '../types.js';
2
- export declare function geoCentroid({ data, ...options }: TransformArg<DataRecord>): any;
2
+ export declare function geoCentroid({ data, ...options }: TransformArg<DataRecord>): {
3
+ x: (d: any) => any;
4
+ y: (d: any) => any;
5
+ filter?: import("../types.js").ConstantAccessor<boolean>;
6
+ facet?: "auto" | "include" | "exclude" | undefined;
7
+ fx?: import("../types.js").ChannelAccessor;
8
+ fy?: import("../types.js").ChannelAccessor;
9
+ dx?: import("../types.js").ConstantAccessor<number>;
10
+ dy?: import("../types.js").ConstantAccessor<number>;
11
+ fill?: import("../types.js").ConstantAccessor<string>;
12
+ fillOpacity?: import("../types.js").ConstantAccessor<number>;
13
+ sort?: string | import("../types.js").ConstantAccessor<import("../types.js").RawValue> | ((a: import("../types.js").RawValue, b: import("../types.js").RawValue) => number) | {
14
+ channel: string;
15
+ order?: "ascending" | "descending";
16
+ };
17
+ stroke?: import("../types.js").ConstantAccessor<string>;
18
+ strokeWidth?: import("../types.js").ConstantAccessor<number>;
19
+ strokeOpacity?: import("../types.js").ConstantAccessor<number>;
20
+ strokeLinejoin?: import("../types.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin>;
21
+ strokeLinecap?: import("../types.js").ConstantAccessor<import("csstype").Property.StrokeLinecap>;
22
+ strokeMiterlimit?: import("../types.js").ConstantAccessor<number>;
23
+ opacity?: import("../types.js").ConstantAccessor<number>;
24
+ strokeDasharray?: import("../types.js").ConstantAccessor<string>;
25
+ strokeDashoffset?: import("../types.js").ConstantAccessor<number>;
26
+ mixBlendMode?: import("../types.js").ConstantAccessor<import("csstype").Property.MixBlendMode>;
27
+ clipPath?: string | undefined;
28
+ imageFilter?: import("../types.js").ConstantAccessor<string>;
29
+ shapeRendering?: import("../types.js").ConstantAccessor<import("csstype").Property.ShapeRendering>;
30
+ paintOrder?: import("../types.js").ConstantAccessor<string>;
31
+ onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
32
+ ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
33
+ onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
34
+ onmousedown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
35
+ onmouseenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
36
+ onmousemove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
37
+ onmouseleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
38
+ onmouseout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
39
+ onmouseover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
40
+ onpointercancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
41
+ onpointerdown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
42
+ onpointerup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
43
+ onpointerenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
44
+ onpointerleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
45
+ onpointermove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
46
+ onpointerover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
47
+ onpointerout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
48
+ ondrag?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
49
+ ondrop?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
50
+ ondragstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
51
+ ondragenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
52
+ ondragleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
53
+ ondragover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
54
+ ondragend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
55
+ ontouchstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
56
+ ontouchmove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
57
+ ontouchend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
58
+ ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
59
+ oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
60
+ onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
61
+ class?: string | null | undefined;
62
+ cursor?: import("../types.js").ConstantAccessor<import("csstype").Property.Cursor>;
63
+ data: {
64
+ __centroid__: [number, number];
65
+ ___orig___?: import("../types.js").RawValue | [import("../types.js").RawValue, import("../types.js").RawValue];
66
+ }[];
67
+ };
@@ -38,21 +38,29 @@ type GroupZOptions = GroupXOptions | GroupYOptions;
38
38
  * groups the dataset by x and y channel and optionally reduces the group items
39
39
  * to output channels fill, stroke, r, opacity, fillOpacity, or strokeOpacity
40
40
  */
41
- export declare function group({ data, ...channels }: TransformArg<T, DataRecord>, options?: GroupXOptions): any;
41
+ export declare function group({ data, ...channels }: TransformArg<T, DataRecord>, options?: GroupXOptions): {
42
+ data: DataRecord[];
43
+ };
42
44
  /**
43
45
  * groups the dataset by the x channel and optionally reduces the group items
44
46
  * to output channels y, y1, y2, fill, stroke, r, opacity, fillOpacity, or strokeOpacity
45
47
  */
46
- export declare function groupX(input: TransformArg<T, DataRecord>, options?: GroupXOptions): any;
48
+ export declare function groupX(input: TransformArg<T, DataRecord>, options?: GroupXOptions): {
49
+ data: DataRecord[];
50
+ };
47
51
  /**
48
52
  * groups the dataset by the y channel and optionally reduces the group items
49
53
  * to output channels x, x1, x2, fill, stroke, r, opacity, fillOpacity, or strokeOpacity
50
54
  */
51
- export declare function groupY(input: TransformArg<T, DataRecord>, options?: GroupYOptions): any;
55
+ export declare function groupY(input: TransformArg<T, DataRecord>, options?: GroupYOptions): {
56
+ data: DataRecord[];
57
+ };
52
58
  /**
53
59
  * groups the dataset by the z channel and optionally reduces the group items
54
60
  * to output channels x, x1, x2, y, y1, y2, fill, stroke, r, opacity, fillOpacity,
55
61
  * or strokeOpacity
56
62
  */
57
- export declare function groupZ(input: TransformArg<T, DataRecord>, options?: GroupZOptions): any;
63
+ export declare function groupZ(input: TransformArg<T, DataRecord>, options?: GroupZOptions): {
64
+ data: DataRecord[];
65
+ };
58
66
  export {};
@@ -1,7 +1,127 @@
1
1
  import type { PlotState, TransformArg } from '../types.js';
2
2
  export declare function intervalX<T>(args: TransformArg<T>, { plot }: {
3
3
  plot: PlotState;
4
- }): any;
4
+ }): {
5
+ filter?: import("../types.js").ConstantAccessor<boolean>;
6
+ facet?: "auto" | "include" | "exclude" | undefined;
7
+ fx?: import("../types.js").ChannelAccessor;
8
+ fy?: import("../types.js").ChannelAccessor;
9
+ dx?: import("../types.js").ConstantAccessor<number>;
10
+ dy?: import("../types.js").ConstantAccessor<number>;
11
+ fill?: import("../types.js").ConstantAccessor<string>;
12
+ fillOpacity?: import("../types.js").ConstantAccessor<number>;
13
+ sort?: string | import("../types.js").ConstantAccessor<import("../types.js").RawValue> | ((a: import("../types.js").RawValue, b: import("../types.js").RawValue) => number) | {
14
+ channel: string;
15
+ order?: "ascending" | "descending";
16
+ };
17
+ stroke?: import("../types.js").ConstantAccessor<string>;
18
+ strokeWidth?: import("../types.js").ConstantAccessor<number>;
19
+ strokeOpacity?: import("../types.js").ConstantAccessor<number>;
20
+ strokeLinejoin?: import("../types.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin>;
21
+ strokeLinecap?: import("../types.js").ConstantAccessor<import("csstype").Property.StrokeLinecap>;
22
+ strokeMiterlimit?: import("../types.js").ConstantAccessor<number>;
23
+ opacity?: import("../types.js").ConstantAccessor<number>;
24
+ strokeDasharray?: import("../types.js").ConstantAccessor<string>;
25
+ strokeDashoffset?: import("../types.js").ConstantAccessor<number>;
26
+ mixBlendMode?: import("../types.js").ConstantAccessor<import("csstype").Property.MixBlendMode>;
27
+ clipPath?: string | undefined;
28
+ imageFilter?: import("../types.js").ConstantAccessor<string>;
29
+ shapeRendering?: import("../types.js").ConstantAccessor<import("csstype").Property.ShapeRendering>;
30
+ paintOrder?: import("../types.js").ConstantAccessor<string>;
31
+ onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
32
+ ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
33
+ onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
34
+ onmousedown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
35
+ onmouseenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
36
+ onmousemove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
37
+ onmouseleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
38
+ onmouseout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
39
+ onmouseover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
40
+ onpointercancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
41
+ onpointerdown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
42
+ onpointerup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
43
+ onpointerenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
44
+ onpointerleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
45
+ onpointermove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
46
+ onpointerover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
47
+ onpointerout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
48
+ ondrag?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
49
+ ondrop?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
50
+ ondragstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
51
+ ondragenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
52
+ ondragleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
53
+ ondragover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
54
+ ondragend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
55
+ ontouchstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
56
+ ontouchmove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
57
+ ontouchend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
58
+ ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
59
+ oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
60
+ onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
61
+ class?: string | null | undefined;
62
+ cursor?: import("../types.js").ConstantAccessor<import("csstype").Property.Cursor>;
63
+ data: T[];
64
+ };
5
65
  export declare function intervalY<T>(args: TransformArg<T>, { plot }: {
6
66
  plot: PlotState;
7
- }): any;
67
+ }): {
68
+ filter?: import("../types.js").ConstantAccessor<boolean>;
69
+ facet?: "auto" | "include" | "exclude" | undefined;
70
+ fx?: import("../types.js").ChannelAccessor;
71
+ fy?: import("../types.js").ChannelAccessor;
72
+ dx?: import("../types.js").ConstantAccessor<number>;
73
+ dy?: import("../types.js").ConstantAccessor<number>;
74
+ fill?: import("../types.js").ConstantAccessor<string>;
75
+ fillOpacity?: import("../types.js").ConstantAccessor<number>;
76
+ sort?: string | import("../types.js").ConstantAccessor<import("../types.js").RawValue> | ((a: import("../types.js").RawValue, b: import("../types.js").RawValue) => number) | {
77
+ channel: string;
78
+ order?: "ascending" | "descending";
79
+ };
80
+ stroke?: import("../types.js").ConstantAccessor<string>;
81
+ strokeWidth?: import("../types.js").ConstantAccessor<number>;
82
+ strokeOpacity?: import("../types.js").ConstantAccessor<number>;
83
+ strokeLinejoin?: import("../types.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin>;
84
+ strokeLinecap?: import("../types.js").ConstantAccessor<import("csstype").Property.StrokeLinecap>;
85
+ strokeMiterlimit?: import("../types.js").ConstantAccessor<number>;
86
+ opacity?: import("../types.js").ConstantAccessor<number>;
87
+ strokeDasharray?: import("../types.js").ConstantAccessor<string>;
88
+ strokeDashoffset?: import("../types.js").ConstantAccessor<number>;
89
+ mixBlendMode?: import("../types.js").ConstantAccessor<import("csstype").Property.MixBlendMode>;
90
+ clipPath?: string | undefined;
91
+ imageFilter?: import("../types.js").ConstantAccessor<string>;
92
+ shapeRendering?: import("../types.js").ConstantAccessor<import("csstype").Property.ShapeRendering>;
93
+ paintOrder?: import("../types.js").ConstantAccessor<string>;
94
+ onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
95
+ ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
96
+ onmouseup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
97
+ onmousedown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
98
+ onmouseenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
99
+ onmousemove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
100
+ onmouseleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
101
+ onmouseout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
102
+ onmouseover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
103
+ onpointercancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
104
+ onpointerdown?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
105
+ onpointerup?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
106
+ onpointerenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
107
+ onpointerleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
108
+ onpointermove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
109
+ onpointerover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
110
+ onpointerout?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
111
+ ondrag?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
112
+ ondrop?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
113
+ ondragstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
114
+ ondragenter?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
115
+ ondragleave?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
116
+ ondragover?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
117
+ ondragend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
118
+ ontouchstart?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
119
+ ontouchmove?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
120
+ ontouchend?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
121
+ ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
122
+ oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
123
+ onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement> | undefined;
124
+ class?: string | null | undefined;
125
+ cursor?: import("../types.js").ConstantAccessor<import("csstype").Property.Cursor>;
126
+ data: T[];
127
+ };