@rowsncolumns/charts 28.1.15 → 28.1.16

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 +1 @@
1
- {"version":3,"file":"basic-chart.d.ts","sourceRoot":"","sources":["../../../basic-chart/basic-chart.tsx"],"names":[],"mappings":"AAkEA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAuTrD,MAAM,MAAM,eAAe,GAAG,oBAAoB,CAAC;AAiGnD,eAAO,MAAM,UAAU,GAAI,gPAkBxB,eAAe,sBAgvHjB,CAAC"}
1
+ {"version":3,"file":"basic-chart.d.ts","sourceRoot":"","sources":["../../../basic-chart/basic-chart.tsx"],"names":[],"mappings":"AAkEA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAuTrD,MAAM,MAAM,eAAe,GAAG,oBAAoB,CAAC;AAiGnD,eAAO,MAAM,UAAU,GAAI,gPAkBxB,eAAe,sBAsvHjB,CAAC"}
@@ -2586,7 +2586,10 @@ var BasicChart = function (_a) {
2586
2586
  valueAxisBase = {
2587
2587
  type: "value",
2588
2588
  show: !isCircularChart,
2589
- axisLine: { show: !isCircularChart },
2589
+ // echarts draws the value axis line at the zero of a value-type x
2590
+ // axis in the grid; the box & whisker overlay axis (#1099) would pull
2591
+ // it into the first category's slot, so it stays at the plot edge.
2592
+ axisLine: tslib_1.__assign({ show: !isCircularChart }, (boxplotOverlayAxis ? { onZero: false } : {})),
2590
2593
  axisTick: { show: !isCircularChart },
2591
2594
  splitLine: { show: !isCircularChart },
2592
2595
  nameLocation: "middle",
@@ -1 +1 @@
1
- {"version":3,"file":"basic-chart.d.ts","sourceRoot":"","sources":["../../../basic-chart/basic-chart.tsx"],"names":[],"mappings":"AAkEA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAuTrD,MAAM,MAAM,eAAe,GAAG,oBAAoB,CAAC;AAiGnD,eAAO,MAAM,UAAU,GAAI,gPAkBxB,eAAe,sBAgvHjB,CAAC"}
1
+ {"version":3,"file":"basic-chart.d.ts","sourceRoot":"","sources":["../../../basic-chart/basic-chart.tsx"],"names":[],"mappings":"AAkEA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAuTrD,MAAM,MAAM,eAAe,GAAG,oBAAoB,CAAC;AAiGnD,eAAO,MAAM,UAAU,GAAI,gPAkBxB,eAAe,sBAsvHjB,CAAC"}
@@ -2707,7 +2707,13 @@ export const BasicChart = ({ width, height, chart, theme, isDarkMode, sheetId, r
2707
2707
  const valueAxisBase = {
2708
2708
  type: "value",
2709
2709
  show: !isCircularChart,
2710
- axisLine: { show: !isCircularChart },
2710
+ // echarts draws the value axis line at the zero of a value-type x
2711
+ // axis in the grid; the box & whisker overlay axis (#1099) would pull
2712
+ // it into the first category's slot, so it stays at the plot edge.
2713
+ axisLine: {
2714
+ show: !isCircularChart,
2715
+ ...(boxplotOverlayAxis ? { onZero: false } : {}),
2716
+ },
2711
2717
  axisTick: { show: !isCircularChart },
2712
2718
  splitLine: { show: !isCircularChart },
2713
2719
  nameLocation: "middle",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rowsncolumns/charts",
3
- "version": "28.1.15",
3
+ "version": "28.1.16",
4
4
  "author": "Vinay M",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "./dist/cjs/index.js",