victory-axis
Advanced tools
Comparing version 35.4.6 to 35.4.7
@@ -119,3 +119,2 @@ import _defaults from "lodash/defaults"; | ||
return { | ||
type: "grid", | ||
x1: transform.x, | ||
@@ -137,3 +136,2 @@ y1: transform.y, | ||
return { | ||
type: "axis", | ||
style: style.axis, | ||
@@ -140,0 +138,0 @@ x1: isVertical ? globalTransform.x : padding.left + globalTransform.x, |
@@ -295,13 +295,7 @@ import _isEmpty from "lodash/isEmpty"; | ||
value: { | ||
axisComponent: React.createElement(LineSegment, { | ||
type: "axis" | ||
}), | ||
axisComponent: React.createElement(LineSegment, null), | ||
axisLabelComponent: React.createElement(VictoryLabel, null), | ||
tickLabelComponent: React.createElement(VictoryLabel, null), | ||
tickComponent: React.createElement(LineSegment, { | ||
type: "tick" | ||
}), | ||
gridComponent: React.createElement(LineSegment, { | ||
type: "grid" | ||
}), | ||
tickComponent: React.createElement(LineSegment, null), | ||
gridComponent: React.createElement(LineSegment, null), | ||
standalone: true, | ||
@@ -308,0 +302,0 @@ theme: VictoryTheme.grayscale, |
@@ -135,3 +135,2 @@ "use strict"; | ||
return { | ||
type: "grid", | ||
x1: transform.x, | ||
@@ -153,3 +152,2 @@ y1: transform.y, | ||
return { | ||
type: "axis", | ||
style: style.axis, | ||
@@ -156,0 +154,0 @@ x1: isVertical ? globalTransform.x : padding.left + globalTransform.x, |
@@ -316,13 +316,7 @@ "use strict"; | ||
value: { | ||
axisComponent: _react.default.createElement(_victoryCore.LineSegment, { | ||
type: "axis" | ||
}), | ||
axisComponent: _react.default.createElement(_victoryCore.LineSegment, null), | ||
axisLabelComponent: _react.default.createElement(_victoryCore.VictoryLabel, null), | ||
tickLabelComponent: _react.default.createElement(_victoryCore.VictoryLabel, null), | ||
tickComponent: _react.default.createElement(_victoryCore.LineSegment, { | ||
type: "tick" | ||
}), | ||
gridComponent: _react.default.createElement(_victoryCore.LineSegment, { | ||
type: "grid" | ||
}), | ||
tickComponent: _react.default.createElement(_victoryCore.LineSegment, null), | ||
gridComponent: _react.default.createElement(_victoryCore.LineSegment, null), | ||
standalone: true, | ||
@@ -329,0 +323,0 @@ theme: _victoryCore.VictoryTheme.grayscale, |
{ | ||
"name": "victory-axis", | ||
"version": "35.4.6", | ||
"version": "35.4.7", | ||
"description": "Axis Component for Victory", | ||
@@ -24,3 +24,3 @@ "keywords": [ | ||
"prop-types": "^15.5.8", | ||
"victory-core": "^35.4.6" | ||
"victory-core": "^35.4.7" | ||
}, | ||
@@ -27,0 +27,0 @@ "scripts": { |
@@ -95,3 +95,2 @@ import { assign, defaults } from "lodash"; | ||
return { | ||
type: "grid", | ||
x1: transform.x, | ||
@@ -110,3 +109,2 @@ y1: transform.y, | ||
return { | ||
type: "axis", | ||
style: style.axis, | ||
@@ -113,0 +111,0 @@ x1: isVertical ? globalTransform.x : padding.left + globalTransform.x, |
@@ -115,7 +115,7 @@ import PropTypes from "prop-types"; | ||
static defaultProps = { | ||
axisComponent: <LineSegment type={"axis"} />, | ||
axisComponent: <LineSegment />, | ||
axisLabelComponent: <VictoryLabel />, | ||
tickLabelComponent: <VictoryLabel />, | ||
tickComponent: <LineSegment type={"tick"} />, | ||
gridComponent: <LineSegment type={"grid"} />, | ||
tickComponent: <LineSegment />, | ||
gridComponent: <LineSegment />, | ||
standalone: true, | ||
@@ -122,0 +122,0 @@ theme: VictoryTheme.grayscale, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1425577
9286
Updatedvictory-core@^35.4.7