victory-core 36.6.1 → 36.6.4
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/CHANGELOG.md +25 -0
- package/dist/victory-core.js +2 -2
- package/es/index.js +1 -2
- package/es/types/callbacks.d.ts +0 -1
- package/es/types/callbacks.js +1 -2
- package/es/types/prop-types.d.ts +3 -3
- package/es/types/prop-types.js +1 -2
- package/es/victory-accessible-group/victory-accessible-group.js +1 -2
- package/es/victory-animation/util.js +1 -2
- package/es/victory-animation/victory-animation.js +1 -2
- package/es/victory-clip-container/victory-clip-container.js +1 -2
- package/es/victory-container/victory-container.js +1 -2
- package/es/victory-label/victory-label.d.ts +5 -4
- package/es/victory-label/victory-label.js +1 -2
- package/es/victory-portal/portal-context.js +1 -2
- package/es/victory-portal/portal.js +1 -2
- package/es/victory-portal/victory-portal.js +1 -2
- package/es/victory-primitives/arc.js +1 -2
- package/es/victory-primitives/background.js +1 -2
- package/es/victory-primitives/border.js +1 -2
- package/es/victory-primitives/circle.js +1 -2
- package/es/victory-primitives/clip-path.js +1 -2
- package/es/victory-primitives/index.js +1 -2
- package/es/victory-primitives/line-segment.js +1 -2
- package/es/victory-primitives/line.js +1 -2
- package/es/victory-primitives/path.js +1 -2
- package/es/victory-primitives/point.js +1 -2
- package/es/victory-primitives/rect.js +1 -2
- package/es/victory-primitives/text.js +1 -2
- package/es/victory-primitives/tspan.js +1 -2
- package/es/victory-primitives/types.js +1 -2
- package/es/victory-primitives/whisker.js +1 -2
- package/es/victory-state/defaults.js +1 -2
- package/es/victory-state/helpers/get-axis-data.js +1 -2
- package/es/victory-state/helpers/get-data.js +1 -2
- package/es/victory-state/helpers/get-domain.js +1 -2
- package/es/victory-state/helpers/get-range.js +1 -2
- package/es/victory-state/helpers/get-scale.js +1 -2
- package/es/victory-state/index.js +1 -2
- package/es/victory-state/types.js +1 -2
- package/es/victory-state/victory-provider.js +1 -2
- package/es/victory-theme/grayscale.js +1 -2
- package/es/victory-theme/material.js +1 -2
- package/es/victory-theme/types.js +1 -2
- package/es/victory-theme/victory-theme.js +1 -2
- package/es/victory-transition/victory-transition.js +1 -2
- package/es/victory-util/add-events.js +1 -2
- package/es/victory-util/axis.js +1 -2
- package/es/victory-util/collection.js +1 -2
- package/es/victory-util/common-props.js +1 -2
- package/es/victory-util/data.js +1 -2
- package/es/victory-util/default-transitions.js +1 -2
- package/es/victory-util/domain.js +1 -2
- package/es/victory-util/events.js +1 -2
- package/es/victory-util/helpers.d.ts +3 -2
- package/es/victory-util/helpers.js +1 -2
- package/es/victory-util/hooks/index.js +1 -2
- package/es/victory-util/hooks/use-animation-state.js +1 -2
- package/es/victory-util/hooks/use-previous-props.js +1 -2
- package/es/victory-util/immutable.js +1 -2
- package/es/victory-util/index.js +1 -2
- package/es/victory-util/label-helpers.js +1 -2
- package/es/victory-util/line-helpers.js +1 -2
- package/es/victory-util/log.js +1 -2
- package/es/victory-util/point-path-helpers.js +1 -2
- package/es/victory-util/prop-types.js +1 -2
- package/es/victory-util/scale.js +1 -2
- package/es/victory-util/selection.d.ts +1 -1
- package/es/victory-util/selection.js +2 -3
- package/es/victory-util/style.js +1 -2
- package/es/victory-util/textsize.js +1 -2
- package/es/victory-util/timer-context.js +1 -2
- package/es/victory-util/timer.js +1 -2
- package/es/victory-util/transitions.js +1 -2
- package/es/victory-util/type-helpers.js +1 -2
- package/es/victory-util/user-props.js +1 -2
- package/es/victory-util/with-container.d.ts +1 -1
- package/es/victory-util/with-container.js +1 -2
- package/es/victory-util/wrapper.js +1 -2
- package/lib/index.js +1 -2
- package/lib/types/callbacks.d.ts +0 -1
- package/lib/types/callbacks.js +1 -2
- package/lib/types/prop-types.d.ts +3 -3
- package/lib/types/prop-types.js +1 -2
- package/lib/victory-accessible-group/victory-accessible-group.js +1 -2
- package/lib/victory-animation/util.js +1 -2
- package/lib/victory-animation/victory-animation.js +1 -2
- package/lib/victory-clip-container/victory-clip-container.js +1 -2
- package/lib/victory-container/victory-container.js +1 -2
- package/lib/victory-label/victory-label.d.ts +5 -4
- package/lib/victory-label/victory-label.js +1 -2
- package/lib/victory-portal/portal-context.js +1 -2
- package/lib/victory-portal/portal.js +1 -2
- package/lib/victory-portal/victory-portal.js +1 -2
- package/lib/victory-primitives/arc.js +1 -2
- package/lib/victory-primitives/background.js +1 -2
- package/lib/victory-primitives/border.js +1 -2
- package/lib/victory-primitives/circle.js +1 -2
- package/lib/victory-primitives/clip-path.js +1 -2
- package/lib/victory-primitives/index.js +1 -2
- package/lib/victory-primitives/line-segment.js +1 -2
- package/lib/victory-primitives/line.js +1 -2
- package/lib/victory-primitives/path.js +1 -2
- package/lib/victory-primitives/point.js +1 -2
- package/lib/victory-primitives/rect.js +1 -2
- package/lib/victory-primitives/text.js +1 -2
- package/lib/victory-primitives/tspan.js +1 -2
- package/lib/victory-primitives/types.js +1 -2
- package/lib/victory-primitives/whisker.js +1 -2
- package/lib/victory-state/defaults.js +1 -2
- package/lib/victory-state/helpers/get-axis-data.js +1 -2
- package/lib/victory-state/helpers/get-data.js +1 -2
- package/lib/victory-state/helpers/get-domain.js +1 -2
- package/lib/victory-state/helpers/get-range.js +1 -2
- package/lib/victory-state/helpers/get-scale.js +1 -2
- package/lib/victory-state/index.js +1 -2
- package/lib/victory-state/types.js +1 -2
- package/lib/victory-state/victory-provider.js +1 -2
- package/lib/victory-theme/grayscale.js +1 -2
- package/lib/victory-theme/material.js +1 -2
- package/lib/victory-theme/types.js +1 -2
- package/lib/victory-theme/victory-theme.js +1 -2
- package/lib/victory-transition/victory-transition.js +1 -2
- package/lib/victory-util/add-events.js +1 -2
- package/lib/victory-util/axis.js +1 -2
- package/lib/victory-util/collection.js +1 -2
- package/lib/victory-util/common-props.js +1 -2
- package/lib/victory-util/data.js +1 -2
- package/lib/victory-util/default-transitions.js +1 -2
- package/lib/victory-util/domain.js +1 -2
- package/lib/victory-util/events.js +1 -2
- package/lib/victory-util/helpers.d.ts +3 -2
- package/lib/victory-util/helpers.js +1 -2
- package/lib/victory-util/hooks/index.js +1 -2
- package/lib/victory-util/hooks/use-animation-state.js +1 -2
- package/lib/victory-util/hooks/use-previous-props.js +1 -2
- package/lib/victory-util/immutable.js +1 -2
- package/lib/victory-util/index.js +1 -2
- package/lib/victory-util/label-helpers.js +1 -2
- package/lib/victory-util/line-helpers.js +1 -2
- package/lib/victory-util/log.js +1 -2
- package/lib/victory-util/point-path-helpers.js +1 -2
- package/lib/victory-util/prop-types.js +1 -2
- package/lib/victory-util/scale.js +1 -2
- package/lib/victory-util/selection.d.ts +1 -1
- package/lib/victory-util/selection.js +7 -4
- package/lib/victory-util/style.js +1 -2
- package/lib/victory-util/textsize.js +1 -2
- package/lib/victory-util/timer-context.js +1 -2
- package/lib/victory-util/timer.js +1 -2
- package/lib/victory-util/transitions.js +1 -2
- package/lib/victory-util/type-helpers.js +1 -2
- package/lib/victory-util/user-props.js +1 -2
- package/lib/victory-util/with-container.d.ts +1 -1
- package/lib/victory-util/with-container.js +1 -2
- package/lib/victory-util/wrapper.js +1 -2
- package/package.json +12 -4
- package/src/types/callbacks.ts +0 -2
- package/src/types/prop-types.ts +4 -3
- package/src/victory-label/victory-label.tsx +4 -4
- package/src/victory-util/helpers.ts +3 -2
- package/src/victory-util/selection.ts +3 -1
- package/src/victory-util/with-container.tsx +2 -2
package/es/victory-util/style.js
CHANGED
package/es/victory-util/timer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { VictoryProviderProps } from "../victory-state";
|
|
3
3
|
import { VictoryCommonProps } from "./common-props";
|
|
4
|
-
export declare function withContainer<Props extends VictoryCommonProps>(WrappedComponent:
|
|
4
|
+
export declare function withContainer<Props extends VictoryCommonProps>(WrappedComponent: React.FC<Props>, initialProviderProps?: Partial<VictoryProviderProps>): React.FC<Props>;
|
|
5
5
|
//# sourceMappingURL=with-container.d.ts.map
|
package/lib/index.js
CHANGED
package/lib/types/callbacks.d.ts
CHANGED
|
@@ -34,5 +34,4 @@ export declare type VictoryOrientationCallback = (args: CallbackArgs) => Orienta
|
|
|
34
34
|
export declare type NumberOrCallback = number | VictoryNumberCallback;
|
|
35
35
|
export declare type PaddingOrCallback = number | BlockProps | VictoryPaddingCallback;
|
|
36
36
|
export declare type OrientationOrCallback = OrientationTypes | VictoryOrientationCallback;
|
|
37
|
-
export declare type ValueOrCallback<TValue> = TValue | ((args: CallbackArgs) => TValue);
|
|
38
37
|
//# sourceMappingURL=callbacks.d.ts.map
|
package/lib/types/callbacks.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
//# sourceMappingURL=callbacks.js.map
|
|
1
|
+
"use strict";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { ScaleLinear, ScaleLogarithmic, ScalePower, ScaleTime } from "victory-vendor/d3-scale";
|
|
3
3
|
import { AnimationEasing, AnimationStyle } from "../victory-animation/victory-animation";
|
|
4
|
-
import { StringOrNumberOrCallback } from "./callbacks";
|
|
4
|
+
import { CallbackArgs, StringOrNumberOrCallback } from "./callbacks";
|
|
5
5
|
export declare type AxisType = "x" | "y";
|
|
6
6
|
export declare type DatumValue = number | string | Date | null | undefined;
|
|
7
7
|
export declare type Datum = any;
|
|
@@ -10,7 +10,7 @@ export declare type ForAxes<T> = T | {
|
|
|
10
10
|
y?: T;
|
|
11
11
|
};
|
|
12
12
|
export declare type ID = number | string;
|
|
13
|
-
export declare type ValueOrAccessor<ValueType
|
|
13
|
+
export declare type ValueOrAccessor<ValueType, PropsType = CallbackArgs> = ValueType | ((props: PropsType) => ValueType);
|
|
14
14
|
export declare type Tuple<T> = [T, T];
|
|
15
15
|
export declare type ValueOrAxes<T> = T | ForAxes<T>;
|
|
16
16
|
export declare type DomainPaddingPropType = ValueOrAxes<PaddingType>;
|
|
@@ -105,7 +105,7 @@ export declare type CategoryPropType = string[] | {
|
|
|
105
105
|
x: string[];
|
|
106
106
|
y: string[];
|
|
107
107
|
};
|
|
108
|
-
export declare type DataGetterPropType = ValueOrAccessor<string | string[] | number | number[]>;
|
|
108
|
+
export declare type DataGetterPropType = ValueOrAccessor<string | string[] | number | number[], any>;
|
|
109
109
|
export declare type InterpolationPropType = "basis" | "basisClosed" | "basisOpen" | "bundle" | "cardinal" | "cardinalClosed" | "cardinalOpen" | "catmullRom" | "catmullRomClosed" | "catmullRomOpen" | "linear" | "linearClosed" | "monotoneX" | "monotoneY" | "natural" | "radial" | "step" | "stepAfter" | "stepBefore";
|
|
110
110
|
export declare type ColorScalePropType = "grayscale" | "qualitative" | "heatmap" | "warm" | "cool" | "red" | "green" | "blue" | string[];
|
|
111
111
|
export declare type SortOrderPropType = "ascending" | "descending";
|
package/lib/types/prop-types.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
//# sourceMappingURL=prop-types.js.map
|
|
1
|
+
"use strict";
|
|
@@ -297,5 +297,4 @@ VictoryClipContainer.defaultProps = {
|
|
|
297
297
|
rectComponent: /*#__PURE__*/_react.default.createElement(_rect.Rect, null),
|
|
298
298
|
clipPathComponent: /*#__PURE__*/_react.default.createElement(_clipPath.ClipPath, null),
|
|
299
299
|
groupComponent: /*#__PURE__*/_react.default.createElement("g", null)
|
|
300
|
-
};
|
|
301
|
-
//# sourceMappingURL=victory-clip-container.js.map
|
|
300
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { NumberOrCallback, StringOrCallback, StringOrNumberOrCallback
|
|
2
|
+
import { NumberOrCallback, StringOrCallback, StringOrNumberOrCallback } from "../types/callbacks";
|
|
3
|
+
import { ValueOrAccessor } from "../types/prop-types";
|
|
3
4
|
import { PaddingProps, VerticalAnchorType, VictoryLabelStyleObject } from "../victory-theme/victory-theme";
|
|
4
5
|
export declare type TextAnchorType = "start" | "middle" | "end" | "inherit";
|
|
5
6
|
export declare type OriginType = {
|
|
@@ -34,11 +35,11 @@ export interface VictoryLabelProps {
|
|
|
34
35
|
tabIndex?: NumberOrCallback;
|
|
35
36
|
text?: string[] | StringOrNumberOrCallback;
|
|
36
37
|
textComponent?: React.ReactElement;
|
|
37
|
-
textAnchor?:
|
|
38
|
+
textAnchor?: ValueOrAccessor<TextAnchorType>;
|
|
38
39
|
title?: string;
|
|
39
|
-
transform?:
|
|
40
|
+
transform?: ValueOrAccessor<string | object>;
|
|
40
41
|
tspanComponent?: React.ReactElement;
|
|
41
|
-
verticalAnchor?:
|
|
42
|
+
verticalAnchor?: ValueOrAccessor<VerticalAnchorType>;
|
|
42
43
|
x?: number;
|
|
43
44
|
y?: number;
|
|
44
45
|
dx?: StringOrNumberOrCallback;
|
|
@@ -16,5 +16,4 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
16
16
|
var PortalContext = /*#__PURE__*/_react.default.createContext({});
|
|
17
17
|
|
|
18
18
|
exports.PortalContext = PortalContext;
|
|
19
|
-
PortalContext.displayName = "PortalContext";
|
|
20
|
-
//# sourceMappingURL=portal-context.js.map
|
|
19
|
+
PortalContext.displayName = "PortalContext";
|
|
@@ -137,5 +137,4 @@ VictoryPortal.propTypes = {
|
|
|
137
137
|
VictoryPortal.defaultProps = {
|
|
138
138
|
groupComponent: /*#__PURE__*/_react.default.createElement("g", null)
|
|
139
139
|
};
|
|
140
|
-
VictoryPortal.contextType = _portalContext.PortalContext;
|
|
141
|
-
//# sourceMappingURL=victory-portal.js.map
|
|
140
|
+
VictoryPortal.contextType = _portalContext.PortalContext;
|
|
@@ -24,5 +24,4 @@ exports.ClipPath = ClipPath;
|
|
|
24
24
|
ClipPath.propTypes = {
|
|
25
25
|
children: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.node), _propTypes.default.node]),
|
|
26
26
|
clipId: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string])
|
|
27
|
-
};
|
|
28
|
-
//# sourceMappingURL=clip-path.js.map
|
|
27
|
+
};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
//# sourceMappingURL=types.js.map
|
|
1
|
+
"use strict";
|
|
@@ -7,5 +7,4 @@ exports.DEFAULT_WIDTH = exports.DEFAULT_HEIGHT = void 0;
|
|
|
7
7
|
var DEFAULT_HEIGHT = 300;
|
|
8
8
|
exports.DEFAULT_HEIGHT = DEFAULT_HEIGHT;
|
|
9
9
|
var DEFAULT_WIDTH = 450;
|
|
10
|
-
exports.DEFAULT_WIDTH = DEFAULT_WIDTH;
|
|
11
|
-
//# sourceMappingURL=defaults.js.map
|
|
10
|
+
exports.DEFAULT_WIDTH = DEFAULT_WIDTH;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
//# sourceMappingURL=types.js.map
|
|
1
|
+
"use strict";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
//# sourceMappingURL=types.js.map
|
|
1
|
+
"use strict";
|
|
@@ -261,5 +261,4 @@ VictoryTransition.propTypes = {
|
|
|
261
261
|
animationWhitelist: _propTypes.default.array,
|
|
262
262
|
children: _propTypes.default.node
|
|
263
263
|
};
|
|
264
|
-
VictoryTransition.contextType = _timerContext.default;
|
|
265
|
-
//# sourceMappingURL=victory-transition.js.map
|
|
264
|
+
VictoryTransition.contextType = _timerContext.default;
|
package/lib/victory-util/axis.js
CHANGED
|
@@ -80,5 +80,4 @@ function getMinValue(arr) {
|
|
|
80
80
|
var array = arr.concat(values);
|
|
81
81
|
return containsDates(array) ? new Date(Math.min.apply(Math, _toConsumableArray(array))) // Dates will be coerced to numbers
|
|
82
82
|
: Math.min.apply(Math, _toConsumableArray(array));
|
|
83
|
-
}
|
|
84
|
-
//# sourceMappingURL=collection.js.map
|
|
83
|
+
}
|
package/lib/victory-util/data.js
CHANGED
|
@@ -499,5 +499,4 @@ function isDataComponent(component) {
|
|
|
499
499
|
|
|
500
500
|
var whitelist = ["area", "bar", "boxplot", "candlestick", "errorbar", "group", "histogram", "line", "pie", "scatter", "stack", "voronoi"];
|
|
501
501
|
return (0, _includes2.default)(whitelist, role);
|
|
502
|
-
}
|
|
503
|
-
//# sourceMappingURL=data.js.map
|
|
502
|
+
}
|
|
@@ -451,5 +451,4 @@ function isDomainComponent(component) {
|
|
|
451
451
|
|
|
452
452
|
var whitelist = ["area", "axis", "bar", "boxplot", "candlestick", "errorbar", "group", "histogram", "line", "pie", "scatter", "stack", "voronoi"];
|
|
453
453
|
return (0, _includes2.default)(whitelist, role);
|
|
454
|
-
}
|
|
455
|
-
//# sourceMappingURL=domain.js.map
|
|
454
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { CallbackArgs
|
|
2
|
+
import { CallbackArgs } from "../types/callbacks";
|
|
3
|
+
import { ValueOrAccessor } from "../types/prop-types";
|
|
3
4
|
/**
|
|
4
5
|
* creates an object with some keys excluded
|
|
5
6
|
* replacement for lodash.omit for performance. does not mimic the entire lodash.omit api
|
|
@@ -24,7 +25,7 @@ export declare function getPadding(props: any, name?: string): {
|
|
|
24
25
|
export declare function isTooltip(component: any): boolean;
|
|
25
26
|
export declare function getDefaultStyles(props: any, role: any): any;
|
|
26
27
|
export declare function getStyles(style: any, defaultStyles: any): any;
|
|
27
|
-
export declare function evaluateProp<TValue>(prop:
|
|
28
|
+
export declare function evaluateProp<TValue>(prop: ValueOrAccessor<TValue, CallbackArgs>, props: CallbackArgs): TValue;
|
|
28
29
|
export declare function evaluateStyle(style: any, props: any): any;
|
|
29
30
|
export declare function degreesToRadians(degrees: any): any;
|
|
30
31
|
export declare function radiansToDegrees(radians: any): any;
|
|
@@ -18,5 +18,4 @@ Object.defineProperty(exports, "usePreviousProps", {
|
|
|
18
18
|
|
|
19
19
|
var _usePreviousProps = require("./use-previous-props");
|
|
20
20
|
|
|
21
|
-
var _useAnimationState = require("./use-animation-state");
|
|
22
|
-
//# sourceMappingURL=index.js.map
|
|
21
|
+
var _useAnimationState = require("./use-animation-state");
|
|
@@ -177,5 +177,4 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
177
177
|
|
|
178
178
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
179
179
|
|
|
180
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
181
|
-
//# sourceMappingURL=index.js.map
|
|
180
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -75,5 +75,4 @@ var getLineFunction = function (props) {
|
|
|
75
75
|
return polar ? d3Shape.lineRadial().defined(defined).curve(getInterpolationFunction(props)).angle(getAngleAccessor(scale)).radius(getYAccessor(scale)) : d3Shape.line().defined(defined).curve(getInterpolationFunction(props)).x(horizontal ? getYAccessor(scale) : getXAccessor(scale)).y(horizontal ? getXAccessor(scale) : getYAccessor(scale));
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
-
exports.getLineFunction = getLineFunction;
|
|
79
|
-
//# sourceMappingURL=line-helpers.js.map
|
|
78
|
+
exports.getLineFunction = getLineFunction;
|
package/lib/victory-util/log.js
CHANGED