@easyv/charts 1.4.11 → 1.4.12

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.
@@ -175,7 +175,7 @@ var Chart = /*#__PURE__*/(0, _react.memo)(function (_ref) {
175
175
  style: isVertical ? {
176
176
  width: xLineRange + marginRight + marginLeft,
177
177
  height: yLineRange,
178
- transform: "translateX(".concat(-marginLeft, "px)")
178
+ transform: "translateX(".concat(-marginRight, "px)")
179
179
  } : {
180
180
  width: xLineRange,
181
181
  height: yLineRange + marginTop + marginBottom,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyv/charts",
3
- "version": "1.4.11",
3
+ "version": "1.4.12",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -160,7 +160,7 @@ const Chart = memo(
160
160
  <foreignObject style={isVertical?{
161
161
  width:xLineRange+marginRight+marginLeft,
162
162
  height:yLineRange,
163
- transform:`translateX(${-marginLeft}px)`,
163
+ transform:`translateX(${-marginRight}px)`,
164
164
  }:{
165
165
  width:xLineRange,
166
166
  height:yLineRange+marginTop+marginBottom,