@tradingaction/coordinates 2.0.11 → 2.0.13

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.
@@ -1,61 +1,61 @@
1
- import * as React from "react";
2
- interface MouseCoordinateXV2Props {
3
- readonly at?: "bottom" | "top";
4
- readonly bg: {
5
- readonly fill: string | ((moreProps: any, ctx: CanvasRenderingContext2D) => string);
6
- readonly stroke: string | ((moreProps: any, ctx: CanvasRenderingContext2D) => string);
7
- readonly strokeWidth: number | ((moreProps: any) => number);
8
- readonly padding: {
9
- left: number;
10
- right: number;
11
- top: number;
12
- bottom: number;
13
- };
14
- };
15
- readonly drawCoordinate: (ctx: CanvasRenderingContext2D, shape: any, props: any, moreProps: any) => void;
16
- readonly displayFormat: (value: number) => string;
17
- readonly dx: number;
18
- readonly dy: number;
19
- readonly orient?: "bottom" | "top";
20
- readonly text: {
21
- readonly fontStyle: string;
22
- readonly fontWeight: string;
23
- readonly fontFamily: string;
24
- readonly fontSize: number;
25
- readonly fill: string | ((moreProps: any, ctx: CanvasRenderingContext2D) => string);
26
- };
27
- readonly xPosition: (props: MouseCoordinateXV2Props, moreProps: any) => number;
28
- }
29
- export declare class MouseCoordinateXV2 extends React.Component<MouseCoordinateXV2Props> {
30
- static defaultProps: {
31
- xPosition: typeof defaultXPosition;
32
- drawCoordinate: typeof defaultDrawCoordinate;
33
- at: string;
34
- orient: string;
35
- text: {
36
- fontStyle: string;
37
- fontWeight: string;
38
- fontFamily: string;
39
- fontSize: number;
40
- fill: string;
41
- };
42
- bg: {
43
- fill: string;
44
- stroke: string;
45
- strokeWidth: number;
46
- padding: {
47
- left: number;
48
- right: number;
49
- top: number;
50
- bottom: number;
51
- };
52
- };
53
- dx: number;
54
- dy: number;
55
- };
56
- render(): JSX.Element;
57
- private readonly drawOnCanvas;
58
- }
59
- declare function defaultXPosition(props: MouseCoordinateXV2Props, moreProps: any): any;
60
- declare function defaultDrawCoordinate(ctx: CanvasRenderingContext2D, shape: any, props: MouseCoordinateXV2Props, moreProps: any): void;
61
- export {};
1
+ import * as React from "react";
2
+ interface MouseCoordinateXV2Props {
3
+ readonly at?: "bottom" | "top";
4
+ readonly bg: {
5
+ readonly fill: string | ((moreProps: any, ctx: CanvasRenderingContext2D) => string);
6
+ readonly stroke: string | ((moreProps: any, ctx: CanvasRenderingContext2D) => string);
7
+ readonly strokeWidth: number | ((moreProps: any) => number);
8
+ readonly padding: {
9
+ left: number;
10
+ right: number;
11
+ top: number;
12
+ bottom: number;
13
+ };
14
+ };
15
+ readonly drawCoordinate: (ctx: CanvasRenderingContext2D, shape: any, props: any, moreProps: any) => void;
16
+ readonly displayFormat: (value: number) => string;
17
+ readonly dx: number;
18
+ readonly dy: number;
19
+ readonly orient?: "bottom" | "top";
20
+ readonly text: {
21
+ readonly fontStyle: string;
22
+ readonly fontWeight: string;
23
+ readonly fontFamily: string;
24
+ readonly fontSize: number;
25
+ readonly fill: string | ((moreProps: any, ctx: CanvasRenderingContext2D) => string);
26
+ };
27
+ readonly xPosition: (props: MouseCoordinateXV2Props, moreProps: any) => number;
28
+ }
29
+ export declare class MouseCoordinateXV2 extends React.Component<MouseCoordinateXV2Props> {
30
+ static defaultProps: {
31
+ xPosition: typeof defaultXPosition;
32
+ drawCoordinate: typeof defaultDrawCoordinate;
33
+ at: string;
34
+ orient: string;
35
+ text: {
36
+ fontStyle: string;
37
+ fontWeight: string;
38
+ fontFamily: string;
39
+ fontSize: number;
40
+ fill: string;
41
+ };
42
+ bg: {
43
+ fill: string;
44
+ stroke: string;
45
+ strokeWidth: number;
46
+ padding: {
47
+ left: number;
48
+ right: number;
49
+ top: number;
50
+ bottom: number;
51
+ };
52
+ };
53
+ dx: number;
54
+ dy: number;
55
+ };
56
+ render(): JSX.Element;
57
+ private readonly drawOnCanvas;
58
+ }
59
+ declare function defaultXPosition(props: MouseCoordinateXV2Props, moreProps: any): any;
60
+ declare function defaultDrawCoordinate(ctx: CanvasRenderingContext2D, shape: any, props: MouseCoordinateXV2Props, moreProps: any): void;
61
+ export {};
@@ -1,92 +1,92 @@
1
- import * as React from "react";
2
- import { getMouseCanvas, GenericChartComponent } from "@tradingaction/core";
3
- export class MouseCoordinateXV2 extends React.Component {
4
- constructor() {
5
- super(...arguments);
6
- this.drawOnCanvas = (ctx, moreProps) => {
7
- const { show, currentItem } = moreProps;
8
- const { drawCoordinate } = this.props;
9
- if (show && currentItem != null) {
10
- const shape = getXCoordinateInfo(ctx, this.props, moreProps);
11
- drawCoordinate(ctx, shape, this.props, moreProps);
12
- }
13
- };
14
- }
15
- render() {
16
- return (React.createElement(GenericChartComponent, { clip: false, canvasDraw: this.drawOnCanvas, canvasToDraw: getMouseCanvas, drawOn: ["mousemove", "pan", "drag"] }));
17
- }
18
- }
19
- MouseCoordinateXV2.defaultProps = {
20
- xPosition: defaultXPosition,
21
- drawCoordinate: defaultDrawCoordinate,
22
- at: "bottom",
23
- orient: "bottom",
24
- text: {
25
- fontStyle: "",
26
- fontWeight: "",
27
- fontFamily: "-apple-system, system-ui, Roboto, 'Helvetica Neue', Ubuntu, sans-serif",
28
- fontSize: 13,
29
- fill: "rgb(35, 35, 35)",
30
- },
31
- bg: {
32
- fill: "rgb(255, 255, 255)",
33
- stroke: "rgb(35, 35, 35)",
34
- strokeWidth: 1,
35
- padding: {
36
- left: 7,
37
- right: 7,
38
- top: 4,
39
- bottom: 4,
40
- },
41
- },
42
- dx: 7,
43
- dy: 7,
44
- };
45
- function defaultXPosition(props, moreProps) {
46
- const { currentItem, xAccessor } = moreProps;
47
- return xAccessor(currentItem);
48
- }
49
- function getXCoordinateInfo(ctx, props, moreProps) {
50
- const { at, displayFormat, text, xPosition } = props;
51
- const xValue = xPosition(props, moreProps);
52
- const { xScale, chartConfig: { height }, } = moreProps;
53
- ctx.font = `${text.fontStyle} ${text.fontWeight} ${text.fontSize}px ${text.fontFamily}`;
54
- const t = displayFormat(xValue);
55
- const textWidth = ctx.measureText(t).width;
56
- const y = at === "bottom" ? height : 0;
57
- const x = Math.round(xScale(xValue));
58
- return {
59
- x,
60
- y,
61
- textWidth,
62
- text: t,
63
- };
64
- }
65
- function defaultDrawCoordinate(ctx, shape, props, moreProps) {
66
- const { x, y, textWidth, text } = shape;
67
- const { orient, dx, dy, bg: { padding, fill, stroke, strokeWidth }, text: { fontSize, fill: textFill }, } = props;
68
- ctx.textAlign = "center";
69
- const sign = orient === "top" ? -1 : 1;
70
- const halfWidth = Math.round(textWidth / 2 + padding.right);
71
- const height = Math.round(fontSize + padding.top + padding.bottom);
72
- ctx.strokeStyle = typeof stroke === "function" ? stroke(moreProps, ctx) : stroke;
73
- ctx.fillStyle = typeof fill === "function" ? fill(moreProps, ctx) : fill;
74
- ctx.lineWidth = typeof strokeWidth === "function" ? strokeWidth(moreProps) : strokeWidth;
75
- ctx.beginPath();
76
- ctx.moveTo(x, y);
77
- ctx.lineTo(x + dx, y + sign * dy);
78
- ctx.lineTo(x + halfWidth, y + sign * dy);
79
- ctx.lineTo(x + halfWidth, y + sign * (dy + height));
80
- ctx.lineTo(x - halfWidth, y + sign * (dy + height));
81
- ctx.lineTo(x - halfWidth, y + sign * dy);
82
- ctx.lineTo(x - dx, y + sign * dy);
83
- ctx.closePath();
84
- ctx.stroke();
85
- ctx.fill();
86
- ctx.beginPath();
87
- ctx.fillStyle = typeof textFill === "function" ? textFill(moreProps, ctx) : textFill;
88
- ctx.textBaseline = orient === "top" ? "alphabetic" : "hanging";
89
- const pad = orient === "top" ? padding.bottom : padding.top;
90
- ctx.fillText(text, x, y + sign * (dy + pad + 2));
91
- }
1
+ import * as React from "react";
2
+ import { getMouseCanvas, GenericChartComponent } from "@tradingaction/core";
3
+ export class MouseCoordinateXV2 extends React.Component {
4
+ constructor() {
5
+ super(...arguments);
6
+ this.drawOnCanvas = (ctx, moreProps) => {
7
+ const { show, currentItem } = moreProps;
8
+ const { drawCoordinate } = this.props;
9
+ if (show && currentItem != null) {
10
+ const shape = getXCoordinateInfo(ctx, this.props, moreProps);
11
+ drawCoordinate(ctx, shape, this.props, moreProps);
12
+ }
13
+ };
14
+ }
15
+ render() {
16
+ return (React.createElement(GenericChartComponent, { clip: false, canvasDraw: this.drawOnCanvas, canvasToDraw: getMouseCanvas, drawOn: ["mousemove", "pan", "drag"] }));
17
+ }
18
+ }
19
+ MouseCoordinateXV2.defaultProps = {
20
+ xPosition: defaultXPosition,
21
+ drawCoordinate: defaultDrawCoordinate,
22
+ at: "bottom",
23
+ orient: "bottom",
24
+ text: {
25
+ fontStyle: "",
26
+ fontWeight: "",
27
+ fontFamily: "-apple-system, system-ui, Roboto, 'Helvetica Neue', Ubuntu, sans-serif",
28
+ fontSize: 13,
29
+ fill: "rgb(35, 35, 35)",
30
+ },
31
+ bg: {
32
+ fill: "rgb(255, 255, 255)",
33
+ stroke: "rgb(35, 35, 35)",
34
+ strokeWidth: 1,
35
+ padding: {
36
+ left: 7,
37
+ right: 7,
38
+ top: 4,
39
+ bottom: 4,
40
+ },
41
+ },
42
+ dx: 7,
43
+ dy: 7,
44
+ };
45
+ function defaultXPosition(props, moreProps) {
46
+ const { currentItem, xAccessor } = moreProps;
47
+ return xAccessor(currentItem);
48
+ }
49
+ function getXCoordinateInfo(ctx, props, moreProps) {
50
+ const { at, displayFormat, text, xPosition } = props;
51
+ const xValue = xPosition(props, moreProps);
52
+ const { xScale, chartConfig: { height }, } = moreProps;
53
+ ctx.font = `${text.fontStyle} ${text.fontWeight} ${text.fontSize}px ${text.fontFamily}`;
54
+ const t = displayFormat(xValue);
55
+ const textWidth = ctx.measureText(t).width;
56
+ const y = at === "bottom" ? height : 0;
57
+ const x = Math.round(xScale(xValue));
58
+ return {
59
+ x,
60
+ y,
61
+ textWidth,
62
+ text: t,
63
+ };
64
+ }
65
+ function defaultDrawCoordinate(ctx, shape, props, moreProps) {
66
+ const { x, y, textWidth, text } = shape;
67
+ const { orient, dx, dy, bg: { padding, fill, stroke, strokeWidth }, text: { fontSize, fill: textFill }, } = props;
68
+ ctx.textAlign = "center";
69
+ const sign = orient === "top" ? -1 : 1;
70
+ const halfWidth = Math.round(textWidth / 2 + padding.right);
71
+ const height = Math.round(fontSize + padding.top + padding.bottom);
72
+ ctx.strokeStyle = typeof stroke === "function" ? stroke(moreProps, ctx) : stroke;
73
+ ctx.fillStyle = typeof fill === "function" ? fill(moreProps, ctx) : fill;
74
+ ctx.lineWidth = typeof strokeWidth === "function" ? strokeWidth(moreProps) : strokeWidth;
75
+ ctx.beginPath();
76
+ ctx.moveTo(x, y);
77
+ ctx.lineTo(x + dx, y + sign * dy);
78
+ ctx.lineTo(x + halfWidth, y + sign * dy);
79
+ ctx.lineTo(x + halfWidth, y + sign * (dy + height));
80
+ ctx.lineTo(x - halfWidth, y + sign * (dy + height));
81
+ ctx.lineTo(x - halfWidth, y + sign * dy);
82
+ ctx.lineTo(x - dx, y + sign * dy);
83
+ ctx.closePath();
84
+ ctx.stroke();
85
+ ctx.fill();
86
+ ctx.beginPath();
87
+ ctx.fillStyle = typeof textFill === "function" ? textFill(moreProps, ctx) : textFill;
88
+ ctx.textBaseline = orient === "top" ? "alphabetic" : "hanging";
89
+ const pad = orient === "top" ? padding.bottom : padding.top;
90
+ ctx.fillText(text, x, y + sign * (dy + pad + 2));
91
+ }
92
92
  //# sourceMappingURL=MouseCoordinateXV2.js.map
@@ -1,68 +1,68 @@
1
- import * as React from "react";
2
- export interface MouseCoordinateYProps {
3
- readonly arrowWidth?: number;
4
- readonly at?: "left" | "right";
5
- readonly displayFormat: (value: number) => string;
6
- readonly dx?: number;
7
- readonly fontFamily?: string;
8
- readonly fontSize?: number;
9
- readonly fill?: string;
10
- readonly fitToText?: boolean;
11
- readonly opacity?: number;
12
- readonly orient?: "left" | "right";
13
- readonly rectWidth?: number;
14
- readonly rectHeight?: number;
15
- readonly stroke?: string;
16
- readonly strokeOpacity?: number;
17
- readonly strokeWidth?: number;
18
- readonly textFill?: string;
19
- readonly yAccessor?: (data: any) => number | undefined;
20
- readonly yAxisPad?: number;
21
- }
22
- export declare class MouseCoordinateY extends React.Component<MouseCoordinateYProps> {
23
- static defaultProps: {
24
- arrowWidth: number;
25
- at: string;
26
- dx: number;
27
- fill: string;
28
- fitToText: boolean;
29
- fontFamily: string;
30
- fontSize: number;
31
- opacity: number;
32
- orient: string;
33
- rectWidth: number;
34
- rectHeight: number;
35
- strokeOpacity: number;
36
- strokeWidth: number;
37
- textFill: string;
38
- yAxisPad: number;
39
- };
40
- render(): JSX.Element;
41
- private readonly drawOnCanvas;
42
- private readonly helper;
43
- }
44
- export declare function getYCoordinate(y: number, coordinate: string, props: any, moreProps: any): {
45
- coordinate: string;
46
- show: boolean;
47
- fitToText: any;
48
- type: string;
49
- orient: any;
50
- edgeAt: any;
51
- hideLine: boolean;
52
- fill: any;
53
- opacity: any;
54
- fontFamily: any;
55
- fontSize: any;
56
- textFill: any;
57
- stroke: any;
58
- strokeOpacity: any;
59
- strokeWidth: any;
60
- rectWidth: any;
61
- rectHeight: any;
62
- arrowWidth: any;
63
- dx: any;
64
- x1: number;
65
- x2: any;
66
- y1: number;
67
- y2: number;
68
- };
1
+ import * as React from "react";
2
+ export interface MouseCoordinateYProps {
3
+ readonly arrowWidth?: number;
4
+ readonly at?: "left" | "right";
5
+ readonly displayFormat: (value: number) => string;
6
+ readonly dx?: number;
7
+ readonly fontFamily?: string;
8
+ readonly fontSize?: number;
9
+ readonly fill?: string;
10
+ readonly fitToText?: boolean;
11
+ readonly opacity?: number;
12
+ readonly orient?: "left" | "right";
13
+ readonly rectWidth?: number;
14
+ readonly rectHeight?: number;
15
+ readonly stroke?: string;
16
+ readonly strokeOpacity?: number;
17
+ readonly strokeWidth?: number;
18
+ readonly textFill?: string;
19
+ readonly yAccessor?: (data: any) => number | undefined;
20
+ readonly yAxisPad?: number;
21
+ }
22
+ export declare class MouseCoordinateY extends React.Component<MouseCoordinateYProps> {
23
+ static defaultProps: {
24
+ arrowWidth: number;
25
+ at: string;
26
+ dx: number;
27
+ fill: string;
28
+ fitToText: boolean;
29
+ fontFamily: string;
30
+ fontSize: number;
31
+ opacity: number;
32
+ orient: string;
33
+ rectWidth: number;
34
+ rectHeight: number;
35
+ strokeOpacity: number;
36
+ strokeWidth: number;
37
+ textFill: string;
38
+ yAxisPad: number;
39
+ };
40
+ render(): JSX.Element;
41
+ private readonly drawOnCanvas;
42
+ private readonly helper;
43
+ }
44
+ export declare function getYCoordinate(y: number, coordinate: string, props: any, moreProps: any): {
45
+ coordinate: string;
46
+ show: boolean;
47
+ fitToText: any;
48
+ type: string;
49
+ orient: any;
50
+ edgeAt: any;
51
+ hideLine: boolean;
52
+ fill: any;
53
+ opacity: any;
54
+ fontFamily: any;
55
+ fontSize: any;
56
+ textFill: any;
57
+ stroke: any;
58
+ strokeOpacity: any;
59
+ strokeWidth: any;
60
+ rectWidth: any;
61
+ rectHeight: any;
62
+ arrowWidth: any;
63
+ dx: any;
64
+ x1: number;
65
+ x2: any;
66
+ y1: number;
67
+ y2: number;
68
+ };
@@ -1,91 +1,91 @@
1
- import * as React from "react";
2
- import { getMouseCanvas, GenericChartComponent, isNotDefined } from "@tradingaction/core";
3
- import { drawOnCanvas } from "./EdgeCoordinateV3";
4
- export class MouseCoordinateY extends React.Component {
5
- constructor() {
6
- super(...arguments);
7
- this.drawOnCanvas = (ctx, moreProps) => {
8
- const props = this.helper(this.props, moreProps);
9
- if (props === undefined) {
10
- return;
11
- }
12
- drawOnCanvas(ctx, props);
13
- };
14
- this.helper = (props, moreProps) => {
15
- const { chartConfig: { yScale }, chartId, currentItem, currentCharts, mouseXY, show, } = moreProps;
16
- if (!show) {
17
- return undefined;
18
- }
19
- if (isNotDefined(mouseXY)) {
20
- return undefined;
21
- }
22
- if (currentCharts.indexOf(chartId) < 0) {
23
- return undefined;
24
- }
25
- const { displayFormat, yAccessor } = props;
26
- if (yAccessor && !currentItem) {
27
- return undefined;
28
- }
29
- const y = yAccessor ? yScale(yAccessor(currentItem)) : mouseXY[1];
30
- const coordinate = displayFormat(yScale.invert(y));
31
- return getYCoordinate(y, coordinate, props, moreProps);
32
- };
33
- }
34
- render() {
35
- return (React.createElement(GenericChartComponent, { clip: false, canvasDraw: this.drawOnCanvas, canvasToDraw: getMouseCanvas, drawOn: ["mousemove", "pan", "drag"] }));
36
- }
37
- }
38
- MouseCoordinateY.defaultProps = {
39
- arrowWidth: 0,
40
- at: "right",
41
- dx: 0,
42
- fill: "#4C525E",
43
- fitToText: false,
44
- fontFamily: "-apple-system, system-ui, Roboto, 'Helvetica Neue', Ubuntu, sans-serif",
45
- fontSize: 13,
46
- opacity: 1,
47
- orient: "right",
48
- rectWidth: 50,
49
- rectHeight: 20,
50
- strokeOpacity: 1,
51
- strokeWidth: 1,
52
- textFill: "#FFFFFF",
53
- yAxisPad: 0,
54
- };
55
- export function getYCoordinate(y, coordinate, props, moreProps) {
56
- const { width } = moreProps;
57
- const { orient, at, rectWidth, rectHeight, dx, stroke, strokeOpacity, strokeWidth } = props;
58
- const { fill, opacity, fitToText, fontFamily, fontSize, textFill, arrowWidth } = props;
59
- const x1 = 0;
60
- const x2 = width;
61
- const edgeAt = at === "right" ? width : 0;
62
- const type = "horizontal";
63
- const hideLine = true;
64
- const coordinateProps = {
65
- coordinate,
66
- show: true,
67
- fitToText,
68
- type,
69
- orient,
70
- edgeAt,
71
- hideLine,
72
- fill,
73
- opacity,
74
- fontFamily,
75
- fontSize,
76
- textFill,
77
- stroke,
78
- strokeOpacity,
79
- strokeWidth,
80
- rectWidth,
81
- rectHeight,
82
- arrowWidth,
83
- dx,
84
- x1,
85
- x2,
86
- y1: y,
87
- y2: y,
88
- };
89
- return coordinateProps;
90
- }
1
+ import * as React from "react";
2
+ import { getMouseCanvas, GenericChartComponent, isNotDefined } from "@tradingaction/core";
3
+ import { drawOnCanvas } from "./EdgeCoordinateV3";
4
+ export class MouseCoordinateY extends React.Component {
5
+ constructor() {
6
+ super(...arguments);
7
+ this.drawOnCanvas = (ctx, moreProps) => {
8
+ const props = this.helper(this.props, moreProps);
9
+ if (props === undefined) {
10
+ return;
11
+ }
12
+ drawOnCanvas(ctx, props);
13
+ };
14
+ this.helper = (props, moreProps) => {
15
+ const { chartConfig: { yScale }, chartId, currentItem, currentCharts, mouseXY, show, } = moreProps;
16
+ if (!show) {
17
+ return undefined;
18
+ }
19
+ if (isNotDefined(mouseXY)) {
20
+ return undefined;
21
+ }
22
+ if (currentCharts.indexOf(chartId) < 0) {
23
+ return undefined;
24
+ }
25
+ const { displayFormat, yAccessor } = props;
26
+ if (yAccessor && !currentItem) {
27
+ return undefined;
28
+ }
29
+ const y = yAccessor ? yScale(yAccessor(currentItem)) : mouseXY[1];
30
+ const coordinate = displayFormat(yScale.invert(y));
31
+ return getYCoordinate(y, coordinate, props, moreProps);
32
+ };
33
+ }
34
+ render() {
35
+ return (React.createElement(GenericChartComponent, { clip: false, canvasDraw: this.drawOnCanvas, canvasToDraw: getMouseCanvas, drawOn: ["mousemove", "pan", "drag"] }));
36
+ }
37
+ }
38
+ MouseCoordinateY.defaultProps = {
39
+ arrowWidth: 0,
40
+ at: "right",
41
+ dx: 0,
42
+ fill: "#4C525E",
43
+ fitToText: false,
44
+ fontFamily: "-apple-system, system-ui, Roboto, 'Helvetica Neue', Ubuntu, sans-serif",
45
+ fontSize: 13,
46
+ opacity: 1,
47
+ orient: "right",
48
+ rectWidth: 50,
49
+ rectHeight: 20,
50
+ strokeOpacity: 1,
51
+ strokeWidth: 1,
52
+ textFill: "#FFFFFF",
53
+ yAxisPad: 0,
54
+ };
55
+ export function getYCoordinate(y, coordinate, props, moreProps) {
56
+ const { width } = moreProps;
57
+ const { orient, at, rectWidth, rectHeight, dx, stroke, strokeOpacity, strokeWidth } = props;
58
+ const { fill, opacity, fitToText, fontFamily, fontSize, textFill, arrowWidth } = props;
59
+ const x1 = 0;
60
+ const x2 = width;
61
+ const edgeAt = at === "right" ? width : 0;
62
+ const type = "horizontal";
63
+ const hideLine = true;
64
+ const coordinateProps = {
65
+ coordinate,
66
+ show: true,
67
+ fitToText,
68
+ type,
69
+ orient,
70
+ edgeAt,
71
+ hideLine,
72
+ fill,
73
+ opacity,
74
+ fontFamily,
75
+ fontSize,
76
+ textFill,
77
+ stroke,
78
+ strokeOpacity,
79
+ strokeWidth,
80
+ rectWidth,
81
+ rectHeight,
82
+ arrowWidth,
83
+ dx,
84
+ x1,
85
+ x2,
86
+ y1: y,
87
+ y2: y,
88
+ };
89
+ return coordinateProps;
90
+ }
91
91
  //# sourceMappingURL=MouseCoordinateY.js.map