@visactor/vtable 1.22.6-alpha.1 → 1.22.6-alpha.2

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.
Files changed (39) hide show
  1. package/cjs/PivotChart.js +2 -2
  2. package/cjs/PivotChart.js.map +1 -1
  3. package/cjs/core/BaseTable.js +1 -1
  4. package/cjs/core/BaseTable.js.map +1 -1
  5. package/cjs/index.d.ts +1 -1
  6. package/cjs/index.js +1 -1
  7. package/cjs/index.js.map +1 -1
  8. package/cjs/layout/chart-helper/get-axis-config.js +1 -7
  9. package/cjs/layout/chart-helper/get-axis-config.js.map +1 -1
  10. package/cjs/layout/pivot-header-layout.js +2 -4
  11. package/cjs/layout/pivot-header-layout.js.map +1 -1
  12. package/cjs/scenegraph/graphic/chart.js +2 -6
  13. package/cjs/scenegraph/graphic/chart.js.map +1 -1
  14. package/cjs/scenegraph/graphic/contributions/chart-render-helper.js +1 -2
  15. package/cjs/scenegraph/graphic/contributions/chart-render-helper.js.map +1 -1
  16. package/cjs/scenegraph/graphic/contributions/chart-render.js +1 -1
  17. package/cjs/scenegraph/graphic/contributions/chart-render.js.map +1 -1
  18. package/cjs/vrender.js.map +1 -1
  19. package/dist/vtable.js +8 -28
  20. package/dist/vtable.min.js +1 -1
  21. package/es/PivotChart.js +2 -2
  22. package/es/PivotChart.js.map +1 -1
  23. package/es/core/BaseTable.js +1 -1
  24. package/es/core/BaseTable.js.map +1 -1
  25. package/es/index.d.ts +1 -1
  26. package/es/index.js +1 -1
  27. package/es/index.js.map +1 -1
  28. package/es/layout/chart-helper/get-axis-config.js +1 -7
  29. package/es/layout/chart-helper/get-axis-config.js.map +1 -1
  30. package/es/layout/pivot-header-layout.js +2 -4
  31. package/es/layout/pivot-header-layout.js.map +1 -1
  32. package/es/scenegraph/graphic/chart.js +2 -6
  33. package/es/scenegraph/graphic/chart.js.map +1 -1
  34. package/es/scenegraph/graphic/contributions/chart-render-helper.js +1 -2
  35. package/es/scenegraph/graphic/contributions/chart-render-helper.js.map +1 -1
  36. package/es/scenegraph/graphic/contributions/chart-render.js +1 -1
  37. package/es/scenegraph/graphic/contributions/chart-render.js.map +1 -1
  38. package/es/vrender.js.map +1 -1
  39. package/package.json +4 -4
package/es/PivotChart.js CHANGED
@@ -645,7 +645,7 @@ export class PivotChart extends BaseTable {
645
645
  const chartStage = chartInstance.getStage(), matrix = chartNode.globalTransMatrix.clone(), stageMatrix = chartNode.stage.window.getViewBoxTransform();
646
646
  if (matrix.multiply(stageMatrix.a, stageMatrix.b, stageMatrix.c, stageMatrix.d, stageMatrix.e, stageMatrix.f),
647
647
  chartStage.window.setViewBoxTransform && chartStage.window.setViewBoxTransform(matrix.a, matrix.b, matrix.c, matrix.d, matrix.e, matrix.f),
648
- "string" == typeof dataId || "number" == typeof dataId) chartInstance.updateDataSync(dataId, null != data ? data : []); else {
648
+ "string" == typeof dataId) chartInstance.updateDataSync(dataId, null != data ? data : []); else {
649
649
  const dataBatch = [];
650
650
  for (const dataIdStr in dataId) {
651
651
  const dataIdAndField = dataId[dataIdStr], series = spec.series.find((item => {
@@ -702,7 +702,7 @@ export class PivotChart extends BaseTable {
702
702
  const matrix = chartNode.globalTransMatrix.clone(), stageMatrix = chartNode.stage.window.getViewBoxTransform().clone();
703
703
  if (stageMatrix.multiply(matrix.a, matrix.b, matrix.c, matrix.d, matrix.e, matrix.f),
704
704
  chartStage.window.setViewBoxTransform(stageMatrix.a, stageMatrix.b, stageMatrix.c, stageMatrix.d, stageMatrix.e, stageMatrix.f),
705
- "string" == typeof dataId || "number" == typeof dataId) activeChartInstance.updateDataSync(dataId, null != data ? data : []); else {
705
+ "string" == typeof dataId) activeChartInstance.updateDataSync(dataId, null != data ? data : []); else {
706
706
  const dataBatch = [];
707
707
  for (const dataIdStr in dataId) {
708
708
  const dataIdAndField = dataId[dataIdStr], series = spec.series.find((item => {