@visactor/vseed 0.2.9 → 0.3.1
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/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/builder/builder/builder.d.ts +154 -118
- package/dist/esm/pipeline/advanced/chart/pipeline/area.js +9 -8
- package/dist/esm/pipeline/advanced/chart/pipeline/area.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/areaPercent.js +9 -8
- package/dist/esm/pipeline/advanced/chart/pipeline/areaPercent.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/bar.js +9 -8
- package/dist/esm/pipeline/advanced/chart/pipeline/bar.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/barParallel.js +9 -8
- package/dist/esm/pipeline/advanced/chart/pipeline/barParallel.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/barPercent.js +9 -8
- package/dist/esm/pipeline/advanced/chart/pipeline/barPercent.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/boxplot.js +19 -8
- package/dist/esm/pipeline/advanced/chart/pipeline/boxplot.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/column.js +9 -8
- package/dist/esm/pipeline/advanced/chart/pipeline/column.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/columnParallel.js +9 -8
- package/dist/esm/pipeline/advanced/chart/pipeline/columnParallel.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/columnPercent.js +9 -8
- package/dist/esm/pipeline/advanced/chart/pipeline/columnPercent.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/donut.js +9 -8
- package/dist/esm/pipeline/advanced/chart/pipeline/donut.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/dualAxis.js +1 -6
- package/dist/esm/pipeline/advanced/chart/pipeline/dualAxis.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/funnel.js +9 -8
- package/dist/esm/pipeline/advanced/chart/pipeline/funnel.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/heatmap.js +9 -7
- package/dist/esm/pipeline/advanced/chart/pipeline/heatmap.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/histogram.js +15 -8
- package/dist/esm/pipeline/advanced/chart/pipeline/histogram.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/line.js +9 -8
- package/dist/esm/pipeline/advanced/chart/pipeline/line.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/pie.js +9 -8
- package/dist/esm/pipeline/advanced/chart/pipeline/pie.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/radar.js +9 -8
- package/dist/esm/pipeline/advanced/chart/pipeline/radar.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/rose.js +9 -8
- package/dist/esm/pipeline/advanced/chart/pipeline/rose.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/roseParallel.js +9 -8
- package/dist/esm/pipeline/advanced/chart/pipeline/roseParallel.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/scatter.js +1 -6
- package/dist/esm/pipeline/advanced/chart/pipeline/scatter.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/dualAxis.js +0 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/dualAxis.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/default/defaultDimensions.js +1 -2
- package/dist/esm/pipeline/advanced/chart/pipes/default/defaultDimensions.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/default/defaultMeasures.js +2 -4
- package/dist/esm/pipeline/advanced/chart/pipes/default/defaultMeasures.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/dimensions/pickDimensionsForReshape.js +4 -4
- package/dist/esm/pipeline/advanced/chart/pipes/dimensions/pickDimensionsForReshape.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/bar.js +5 -7
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/bar.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/boxplot.js +5 -7
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/boxplot.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/column.js +5 -7
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/column.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/dualAxis.js +5 -15
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/dualAxis.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/funnel.js +5 -7
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/funnel.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/heatmap.js +4 -6
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/heatmap.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/histogram.js +2 -5
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/histogram.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/line.js +7 -14
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/line.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/pie.js +5 -7
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/pie.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/radar.js +5 -7
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/radar.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/rose.js +5 -7
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/rose.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/scatter.js +2 -5
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/scatter.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasures.d.ts +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasures.js +19 -50
- package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasures.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasuresForDualAxis.js +25 -118
- package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasuresForDualAxis.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasuresForScatter.js +30 -115
- package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasuresForScatter.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/index.d.ts +0 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/index.js +1 -2
- package/dist/esm/pipeline/advanced/chart/pipes/measures/utils.d.ts +12 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/utils.js +12 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/utils.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js +6 -12
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithDualEncoding.js +25 -28
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithDualEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithEncoding.js +6 -11
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithHistogramEncoding.js +4 -8
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithHistogramEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithScatterEncoding.js +23 -35
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithScatterEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithBoxplotEncoding.js +3 -8
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithBoxplotEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithDualEncoding.js +21 -17
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithDualEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithEncoding.js +1 -2
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithHistogramEncoding.js +4 -9
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithHistogramEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithScatterEncoding.js +22 -27
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithScatterEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/table/pipes/default/defaultDimensions.js +3 -3
- package/dist/esm/pipeline/advanced/table/pipes/default/defaultDimensions.js.map +1 -1
- package/dist/esm/pipeline/advanced/table/pipes/default/defaultMeasureId.js +3 -2
- package/dist/esm/pipeline/advanced/table/pipes/default/defaultMeasureId.js.map +1 -1
- package/dist/esm/pipeline/advanced/table/pipes/default/defaultMeasures.js +2 -2
- package/dist/esm/pipeline/advanced/table/pipes/default/defaultMeasures.js.map +1 -1
- package/dist/esm/pipeline/advanced/table/pipes/encoding/pivotTable.js +5 -5
- package/dist/esm/pipeline/advanced/table/pipes/encoding/pivotTable.js.map +1 -1
- package/dist/esm/pipeline/advanced/table/pipes/reshape/reshapePivotTable.js +3 -5
- package/dist/esm/pipeline/advanced/table/pipes/reshape/reshapePivotTable.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js +17 -45
- package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.js +3 -3
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/histogramXLinear.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/histogramXLinear.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/title/defaultTitleText.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/axes/title/defaultTitleText.js +2 -6
- package/dist/esm/pipeline/spec/chart/pipes/axes/title/defaultTitleText.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/xBand.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/xBand.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/xLinear.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/xLinear.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/yBand.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/yBand.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinear.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinear.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearPrimary.js +16 -13
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearPrimary.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearSecondary.js +10 -13
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearSecondary.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorAdapter.js +1 -3
- package/dist/esm/pipeline/spec/chart/pipes/color/colorAdapter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/linearColorForDualAxis.js +4 -12
- package/dist/esm/pipeline/spec/chart/pipes/color/linearColorForDualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetDualAxis.d.ts +2 -3
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetDualAxis.js +38 -78
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetDualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/index.d.ts +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/index.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/dual/dualChartType.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/dual/dualChartType.js +16 -75
- package/dist/esm/pipeline/spec/chart/pipes/dual/dualChartType.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dual/index.d.ts +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dual/index.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/dualAxis.d.ts +2 -3
- package/dist/esm/pipeline/spec/chart/pipes/init/dualAxis.js +16 -32
- package/dist/esm/pipeline/spec/chart/pipes/init/dualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/index.d.ts +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/index.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/label/index.d.ts +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/index.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/label/label.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/labelBoxPlot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/labelDualAxis.d.ts +2 -3
- package/dist/esm/pipeline/spec/chart/pipes/label/labelDualAxis.js +14 -30
- package/dist/esm/pipeline/spec/chart/pipes/label/labelDualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/labelPie.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/labelScatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js +5 -5
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/series/series.d.ts +3 -3
- package/dist/esm/pipeline/spec/chart/pipes/series/series.js +45 -17
- package/dist/esm/pipeline/spec/chart/pipes/series/series.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.d.ts +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltip.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltip.js +5 -5
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltip.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.js +3 -3
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.d.ts +2 -3
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js +28 -62
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHeatmap.d.ts +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHeatmap.js +4 -4
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHeatmap.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHistogram.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHistogram.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipScatter.d.ts +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipScatter.js +4 -4
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipScatter.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/columns/dimensionsToColumns.js +2 -2
- package/dist/esm/pipeline/spec/table/pipes/columns/dimensionsToColumns.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/columns/measuresToColumns.js +2 -2
- package/dist/esm/pipeline/spec/table/pipes/columns/measuresToColumns.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/columns/pivotColumns.js +1 -1
- package/dist/esm/pipeline/spec/table/pipes/columns/pivotColumns.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/indicators/pivotDataConfig.js +1 -1
- package/dist/esm/pipeline/spec/table/pipes/indicators/pivotDataConfig.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/indicators/pivotIndicators.js +4 -4
- package/dist/esm/pipeline/spec/table/pipes/indicators/pivotIndicators.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/rows/pivotRows.js +3 -3
- package/dist/esm/pipeline/spec/table/pipes/rows/pivotRows.js.map +1 -1
- package/dist/esm/pipeline/utils/chatType.d.ts +9 -0
- package/dist/esm/pipeline/utils/chatType.js +33 -21
- package/dist/esm/pipeline/utils/chatType.js.map +1 -1
- package/dist/esm/pipeline/utils/measures/find.d.ts +2 -1
- package/dist/esm/pipeline/utils/measures/find.js +3 -13
- package/dist/esm/pipeline/utils/measures/find.js.map +1 -1
- package/dist/esm/theme/dark/dark.js +0 -4
- package/dist/esm/theme/dark/dark.js.map +1 -1
- package/dist/esm/theme/light/light.js +0 -4
- package/dist/esm/theme/light/light.js.map +1 -1
- package/dist/esm/types/advancedVSeed.d.ts +137 -68
- package/dist/esm/types/advancedVSeed.js +8 -6
- package/dist/esm/types/advancedVSeed.js.map +1 -1
- package/dist/esm/types/chartType/area/area.d.ts +3 -5
- package/dist/esm/types/chartType/area/zArea.d.ts +11 -2
- package/dist/esm/types/chartType/area/zArea.js +2 -2
- package/dist/esm/types/chartType/area/zArea.js.map +1 -1
- package/dist/esm/types/chartType/areaPercent/areaPercent.d.ts +3 -5
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.d.ts +11 -2
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.js +2 -2
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.js.map +1 -1
- package/dist/esm/types/chartType/bar/bar.d.ts +4 -6
- package/dist/esm/types/chartType/bar/zBar.d.ts +11 -2
- package/dist/esm/types/chartType/bar/zBar.js +2 -2
- package/dist/esm/types/chartType/bar/zBar.js.map +1 -1
- package/dist/esm/types/chartType/barParallel/barParallel.d.ts +3 -5
- package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +11 -2
- package/dist/esm/types/chartType/barParallel/zBarParallel.js +2 -2
- package/dist/esm/types/chartType/barParallel/zBarParallel.js.map +1 -1
- package/dist/esm/types/chartType/barPercent/barPercent.d.ts +3 -3
- package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +11 -2
- package/dist/esm/types/chartType/barPercent/zBarPercent.js +2 -2
- package/dist/esm/types/chartType/barPercent/zBarPercent.js.map +1 -1
- package/dist/esm/types/chartType/boxPlot/boxPlot.d.ts +3 -5
- package/dist/esm/types/chartType/boxPlot/zBoxPlot.d.ts +11 -2
- package/dist/esm/types/chartType/boxPlot/zBoxPlot.js +2 -2
- package/dist/esm/types/chartType/boxPlot/zBoxPlot.js.map +1 -1
- package/dist/esm/types/chartType/column/column.d.ts +3 -5
- package/dist/esm/types/chartType/column/zColumn.d.ts +11 -2
- package/dist/esm/types/chartType/column/zColumn.js +2 -2
- package/dist/esm/types/chartType/column/zColumn.js.map +1 -1
- package/dist/esm/types/chartType/columnParallel/columnParallel.d.ts +4 -6
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +11 -2
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.js +2 -2
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.js.map +1 -1
- package/dist/esm/types/chartType/columnPercent/columnPercent.d.ts +3 -5
- package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +11 -2
- package/dist/esm/types/chartType/columnPercent/zColumnPercent.js +2 -2
- package/dist/esm/types/chartType/columnPercent/zColumnPercent.js.map +1 -1
- package/dist/esm/types/chartType/donut/donut.d.ts +3 -5
- package/dist/esm/types/chartType/donut/zDonut.d.ts +11 -2
- package/dist/esm/types/chartType/donut/zDonut.js +2 -2
- package/dist/esm/types/chartType/donut/zDonut.js.map +1 -1
- package/dist/esm/types/chartType/dualAxis/dualAxis.d.ts +7 -88
- package/dist/esm/types/chartType/dualAxis/zDualAxis.d.ts +9 -358
- package/dist/esm/types/chartType/dualAxis/zDualAxis.js +2 -4
- package/dist/esm/types/chartType/dualAxis/zDualAxis.js.map +1 -1
- package/dist/esm/types/chartType/funnel/funnel.d.ts +3 -5
- package/dist/esm/types/chartType/funnel/zFunnel.d.ts +11 -2
- package/dist/esm/types/chartType/funnel/zFunnel.js +2 -2
- package/dist/esm/types/chartType/funnel/zFunnel.js.map +1 -1
- package/dist/esm/types/chartType/heatmap/heatmap.d.ts +4 -6
- package/dist/esm/types/chartType/heatmap/zHeatmap.d.ts +11 -2
- package/dist/esm/types/chartType/heatmap/zHeatmap.js +2 -2
- package/dist/esm/types/chartType/heatmap/zHeatmap.js.map +1 -1
- package/dist/esm/types/chartType/histogram/histogram.d.ts +3 -5
- package/dist/esm/types/chartType/histogram/zHistogram.d.ts +11 -2
- package/dist/esm/types/chartType/histogram/zHistogram.js +2 -2
- package/dist/esm/types/chartType/histogram/zHistogram.js.map +1 -1
- package/dist/esm/types/chartType/line/line.d.ts +3 -4
- package/dist/esm/types/chartType/line/zLine.d.ts +11 -2
- package/dist/esm/types/chartType/line/zLine.js +2 -2
- package/dist/esm/types/chartType/line/zLine.js.map +1 -1
- package/dist/esm/types/chartType/pie/pie.d.ts +3 -5
- package/dist/esm/types/chartType/pie/zPie.d.ts +11 -2
- package/dist/esm/types/chartType/pie/zPie.js +2 -2
- package/dist/esm/types/chartType/pie/zPie.js.map +1 -1
- package/dist/esm/types/chartType/pivotTable/pivotTable.d.ts +4 -4
- package/dist/esm/types/chartType/pivotTable/zPivotTable.d.ts +9 -0
- package/dist/esm/types/chartType/radar/radar.d.ts +4 -6
- package/dist/esm/types/chartType/radar/zRadar.d.ts +11 -2
- package/dist/esm/types/chartType/radar/zRadar.js +2 -2
- package/dist/esm/types/chartType/radar/zRadar.js.map +1 -1
- package/dist/esm/types/chartType/rose/rose.d.ts +4 -6
- package/dist/esm/types/chartType/rose/zRose.d.ts +11 -2
- package/dist/esm/types/chartType/rose/zRose.js +2 -2
- package/dist/esm/types/chartType/rose/zRose.js.map +1 -1
- package/dist/esm/types/chartType/roseParallel/roseParallel.d.ts +4 -6
- package/dist/esm/types/chartType/roseParallel/zRoseParallel.d.ts +11 -2
- package/dist/esm/types/chartType/roseParallel/zRoseParallel.js +2 -2
- package/dist/esm/types/chartType/roseParallel/zRoseParallel.js.map +1 -1
- package/dist/esm/types/chartType/scatter/scatter.d.ts +5 -75
- package/dist/esm/types/chartType/scatter/zScatter.d.ts +10 -310
- package/dist/esm/types/chartType/scatter/zScatter.js +2 -3
- package/dist/esm/types/chartType/scatter/zScatter.js.map +1 -1
- package/dist/esm/types/chartType/table/zTable.d.ts +9 -0
- package/dist/esm/types/properties/chartType/index.d.ts +0 -2
- package/dist/esm/types/properties/chartType/index.js +1 -2
- package/dist/esm/types/properties/config/config.d.ts +0 -31
- package/dist/esm/types/properties/config/dualAxis.d.ts +7 -31
- package/dist/esm/types/properties/config/dualAxis.js +0 -2
- package/dist/esm/types/properties/config/dualAxis.js.map +1 -1
- package/dist/esm/types/properties/dimensions/areaDimension.d.ts +3 -0
- package/dist/esm/types/properties/dimensions/barDimension.d.ts +16 -0
- package/dist/esm/types/properties/dimensions/{dimensions.d.ts → baseDimension.d.ts} +13 -14
- package/dist/esm/types/properties/dimensions/boxPlotDimension.d.ts +13 -0
- package/dist/esm/types/properties/dimensions/columnDimension.d.ts +19 -0
- package/dist/esm/types/properties/dimensions/columnDimension.js +0 -0
- package/dist/esm/types/properties/dimensions/donutDimension.d.ts +2 -0
- package/dist/esm/types/properties/dimensions/donutDimension.js +0 -0
- package/dist/esm/types/properties/dimensions/dualAxisDimension.d.ts +2 -0
- package/dist/esm/types/properties/dimensions/dualAxisDimension.js +0 -0
- package/dist/esm/types/properties/dimensions/funnelDimension.d.ts +2 -0
- package/dist/esm/types/properties/dimensions/funnelDimension.js +0 -0
- package/dist/esm/types/properties/dimensions/heatmapDimension.d.ts +13 -0
- package/dist/esm/types/properties/dimensions/heatmapDimension.js +0 -0
- package/dist/esm/types/properties/dimensions/histogramDimension.d.ts +13 -0
- package/dist/esm/types/properties/dimensions/histogramDimension.js +0 -0
- package/dist/esm/types/properties/dimensions/index.d.ts +16 -1
- package/dist/esm/types/properties/dimensions/lineDimension.d.ts +2 -0
- package/dist/esm/types/properties/dimensions/lineDimension.js +0 -0
- package/dist/esm/types/properties/dimensions/pieDimension.d.ts +13 -0
- package/dist/esm/types/properties/dimensions/pieDimension.js +0 -0
- package/dist/esm/types/properties/dimensions/radarDimension.d.ts +14 -0
- package/dist/esm/types/properties/dimensions/radarDimension.js +0 -0
- package/dist/esm/types/properties/dimensions/roseDimension.d.ts +3 -0
- package/dist/esm/types/properties/dimensions/roseDimension.js +0 -0
- package/dist/esm/types/properties/dimensions/scatterDimension.d.ts +13 -0
- package/dist/esm/types/properties/dimensions/scatterDimension.js +0 -0
- package/dist/esm/types/properties/dimensions/tableDimension.d.ts +18 -0
- package/dist/esm/types/properties/dimensions/tableDimension.js +0 -0
- package/dist/esm/types/properties/dimensions/zDimensions.d.ts +1 -1
- package/dist/esm/types/properties/dimensions/zDimensions.js.map +1 -1
- package/dist/esm/types/properties/measures/areaMeasure.d.ts +2 -0
- package/dist/esm/types/properties/measures/areaMeasure.js +0 -0
- package/dist/esm/types/properties/measures/barMeasure.d.ts +14 -0
- package/dist/esm/types/properties/measures/barMeasure.js +0 -0
- package/dist/esm/types/properties/measures/{measures.d.ts → baseMeasure.d.ts} +29 -13
- package/dist/esm/types/properties/measures/baseMeasure.js +0 -0
- package/dist/esm/types/properties/measures/boxPlotMeasure.d.ts +18 -0
- package/dist/esm/types/properties/measures/boxPlotMeasure.js +0 -0
- package/dist/esm/types/properties/measures/columnMeasure.d.ts +14 -0
- package/dist/esm/types/properties/measures/columnMeasure.js +0 -0
- package/dist/esm/types/properties/measures/dualAxisMeasure.d.ts +23 -0
- package/dist/esm/types/properties/measures/dualAxisMeasure.js +0 -0
- package/dist/esm/types/properties/measures/funnelMeasure.d.ts +11 -0
- package/dist/esm/types/properties/measures/funnelMeasure.js +0 -0
- package/dist/esm/types/properties/measures/heatmapMeasure.d.ts +10 -0
- package/dist/esm/types/properties/measures/heatmapMeasure.js +0 -0
- package/dist/esm/types/properties/measures/histogramMeasure.d.ts +13 -0
- package/dist/esm/types/properties/measures/histogramMeasure.js +0 -0
- package/dist/esm/types/properties/measures/index.d.ts +15 -4
- package/dist/esm/types/properties/measures/index.js +0 -1
- package/dist/esm/types/properties/measures/lineMeasure.d.ts +2 -0
- package/dist/esm/types/properties/measures/lineMeasure.js +0 -0
- package/dist/esm/types/properties/measures/measureTree.d.ts +17 -0
- package/dist/esm/types/properties/measures/measureTree.js +0 -0
- package/dist/esm/types/properties/measures/pieMeasure.d.ts +12 -0
- package/dist/esm/types/properties/measures/pieMeasure.js +0 -0
- package/dist/esm/types/properties/measures/radarMeasure.d.ts +13 -0
- package/dist/esm/types/properties/measures/radarMeasure.js +0 -0
- package/dist/esm/types/properties/measures/scatterMeasure.d.ts +13 -0
- package/dist/esm/types/properties/measures/scatterMeasure.js +0 -0
- package/dist/esm/types/properties/measures/tableMeasure.d.ts +8 -0
- package/dist/esm/types/properties/measures/tableMeasure.js +0 -0
- package/dist/esm/types/properties/measures/zDualMeasures.d.ts +154 -612
- package/dist/esm/types/properties/measures/zDualMeasures.js +15 -10
- package/dist/esm/types/properties/measures/zDualMeasures.js.map +1 -1
- package/dist/esm/types/properties/measures/zMeasures.d.ts +28 -1
- package/dist/esm/types/properties/measures/zMeasures.js +10 -1
- package/dist/esm/types/properties/measures/zMeasures.js.map +1 -1
- package/dist/esm/types/properties/theme/customTheme.d.ts +0 -62
- package/dist/esm/types/zVseed.d.ts +235 -704
- package/dist/umd/index.js +854 -1343
- package/dist/umd/index.js.map +1 -1
- package/package.json +14 -2
- package/dist/esm/pipeline/advanced/chart/pipes/measures/pickMeasuresForReshape.d.ts +0 -2
- package/dist/esm/pipeline/advanced/chart/pipes/measures/pickMeasuresForReshape.js +0 -14
- package/dist/esm/pipeline/advanced/chart/pipes/measures/pickMeasuresForReshape.js.map +0 -1
- package/dist/esm/types/properties/chartType/dualChartType.d.ts +0 -18
- package/dist/esm/types/properties/chartType/dualChartType.js +0 -20
- package/dist/esm/types/properties/chartType/dualChartType.js.map +0 -1
- package/dist/esm/types/properties/measures/dualMeasures.d.ts +0 -7
- package/dist/esm/types/properties/measures/scatterMeasures.d.ts +0 -7
- package/dist/esm/types/properties/measures/zScatterMeasures.d.ts +0 -619
- package/dist/esm/types/properties/measures/zScatterMeasures.js +0 -17
- package/dist/esm/types/properties/measures/zScatterMeasures.js.map +0 -1
- /package/dist/esm/types/properties/dimensions/{dimensions.js → areaDimension.js} +0 -0
- /package/dist/esm/types/properties/{measures/dualMeasures.js → dimensions/barDimension.js} +0 -0
- /package/dist/esm/types/properties/{measures/measures.js → dimensions/baseDimension.js} +0 -0
- /package/dist/esm/types/properties/{measures/scatterMeasures.js → dimensions/boxPlotDimension.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Locale } from '../../i18n';
|
|
2
|
-
import type {
|
|
3
|
-
import { type BackgroundColor, type Color, type Dataset, type
|
|
2
|
+
import type { RoseParallelDimension, RoseParallelMeasure, PieLabel } from '../../properties';
|
|
3
|
+
import { type BackgroundColor, type Color, type Dataset, type Legend, type Theme, type Tooltip } from '../../properties';
|
|
4
4
|
/**
|
|
5
5
|
* @description 分组玫瑰图,适用于多维度数据对比场景,通过极坐标系下的扇形弧度和半径展示数据大小
|
|
6
6
|
* 适用场景:
|
|
@@ -44,17 +44,15 @@ export interface RoseParallel {
|
|
|
44
44
|
/**
|
|
45
45
|
* 维度
|
|
46
46
|
* @description 玫瑰图的第一个维度被映射到角度轴, 其余维度会与指标名称(存在多个指标时)合并, 作为图例项展示.
|
|
47
|
-
* @type {Dimensions}
|
|
48
47
|
* @example [{id: 'category', alias: '类别'}]
|
|
49
48
|
*/
|
|
50
|
-
dimensions?:
|
|
49
|
+
dimensions?: RoseParallelDimension[];
|
|
51
50
|
/**
|
|
52
51
|
* 指标
|
|
53
52
|
* @description 玫瑰图的指标会自动合并为一个指标, 映射到半径轴, 存在多个指标时, 指标名称会与其余维度合并, 作为图例项展示.
|
|
54
|
-
* @type {MeasureTree}
|
|
55
53
|
* @example [{id: 'value', alias: '数值'}]
|
|
56
54
|
*/
|
|
57
|
-
measures?:
|
|
55
|
+
measures?: RoseParallelMeasure[];
|
|
58
56
|
/**
|
|
59
57
|
* 图表的背景颜色
|
|
60
58
|
* @default transparent 默认为透明背景
|
|
@@ -40,7 +40,7 @@ export declare const zRoseParallel: z.ZodObject<{
|
|
|
40
40
|
row: "row";
|
|
41
41
|
}>>;
|
|
42
42
|
}, z.core.$strip>>>>;
|
|
43
|
-
measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
43
|
+
measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
44
44
|
id: z.ZodString;
|
|
45
45
|
alias: z.ZodOptional<z.ZodString>;
|
|
46
46
|
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -128,7 +128,16 @@ export declare const zRoseParallel: z.ZodObject<{
|
|
|
128
128
|
x1: "x1";
|
|
129
129
|
}>>;
|
|
130
130
|
parentId: z.ZodOptional<z.ZodString>;
|
|
131
|
-
|
|
131
|
+
chartType: z.ZodOptional<z.ZodEnum<{
|
|
132
|
+
line: "line";
|
|
133
|
+
column: "column";
|
|
134
|
+
columnPercent: "columnPercent";
|
|
135
|
+
columnParallel: "columnParallel";
|
|
136
|
+
area: "area";
|
|
137
|
+
areaPercent: "areaPercent";
|
|
138
|
+
scatter: "scatter";
|
|
139
|
+
}>>;
|
|
140
|
+
}, z.core.$strip>>>>;
|
|
132
141
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
|
133
142
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
134
143
|
colorScheme: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { zLocale } from "../../i18n/index.js";
|
|
3
|
-
import { zBackgroundColor, zColor, zDataset, zDimensions, zEncoding, zLabel, zLegend,
|
|
3
|
+
import { zBackgroundColor, zColor, zDataset, zDimensions, zEncoding, zLabel, zLegend, zMeasures, zTheme, zTooltip } from "../../properties/index.js";
|
|
4
4
|
const zRoseParallel = z.object({
|
|
5
5
|
chartType: z.literal('roseParallel'),
|
|
6
6
|
dataset: zDataset.nullish(),
|
|
7
7
|
encoding: zEncoding.nullish(),
|
|
8
8
|
dimensions: zDimensions.nullish(),
|
|
9
|
-
measures:
|
|
9
|
+
measures: zMeasures.nullish(),
|
|
10
10
|
backgroundColor: zBackgroundColor.nullish(),
|
|
11
11
|
color: zColor.nullish(),
|
|
12
12
|
label: zLabel.nullish(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types/chartType/roseParallel/zRoseParallel.js","sources":["webpack://@visactor/vseed/./src/types/chartType/roseParallel/zRoseParallel.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zBackgroundColor,\n zColor,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n
|
|
1
|
+
{"version":3,"file":"types/chartType/roseParallel/zRoseParallel.js","sources":["webpack://@visactor/vseed/./src/types/chartType/roseParallel/zRoseParallel.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zBackgroundColor,\n zColor,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasures,\n zTheme,\n zTooltip,\n} from '../../properties'\n\nexport const zRoseParallel = z.object({\n chartType: z.literal('roseParallel'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasures.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n theme: zTheme.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zRoseParallel","z","zDataset","zEncoding","zDimensions","zMeasures","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zTheme","zLocale"],"mappings":";;;AAeO,MAAMA,gBAAgBC,EAAE,MAAM,CAAC;IACpC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,UAAU,OAAO;IAC3B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;AACzB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Locale } from '../../i18n';
|
|
2
|
-
import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, Color, Dataset,
|
|
2
|
+
import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, Color, Dataset, Label, Legend, ScatterDimension, ScatterMeasure, PointStyle, Theme, Tooltip, CrosshairLine, YLinearAxis, XLinearAxis, LinearRegressionLine, LowessRegressionLine, PolynomialRegressionLine, LogisticRegressionLine, DimensionLinkage } from '../../properties';
|
|
3
3
|
/**
|
|
4
4
|
* @description 散点图,适用于展示数据的分布情况,通过点的位置表示数据的数值
|
|
5
5
|
* 适用场景:
|
|
@@ -40,92 +40,22 @@ export interface Scatter {
|
|
|
40
40
|
/**
|
|
41
41
|
* 维度
|
|
42
42
|
* @description 散点图的第一个维度被映射到X轴, 其余维度会与指标名称(存在多个指标时)合并, 作为图例项展示
|
|
43
|
-
* @type {Dimensions}
|
|
44
43
|
* @example [{id: "month", alias: "月份"}]
|
|
45
44
|
*/
|
|
46
|
-
dimensions?:
|
|
45
|
+
dimensions?: ScatterDimension[];
|
|
47
46
|
/**
|
|
48
47
|
* @description 散点图指标
|
|
49
|
-
* measures可以使用2个指标组, 代表普通散点图的X轴和Y轴指标, 每个指标组内的指标会自动合并为一个指标.
|
|
50
|
-
* measures可以使用1个指标组, 再嵌套2个指标组, 绘制组合散点图. 最外层的每一个组, 代表一个散点图, 它们会纵向排列.
|
|
51
48
|
* @example
|
|
52
|
-
* 普通散点图
|
|
53
49
|
* [
|
|
54
50
|
* {
|
|
55
|
-
* id:
|
|
56
|
-
* alias: '主轴',
|
|
57
|
-
* children: [{id: 'profit', alias: '利润'}, {id: 'sales', alias: '销售额'}]
|
|
51
|
+
* id: 'profit', alias: '利润', encoding: 'xAxis'
|
|
58
52
|
* },
|
|
59
53
|
* {
|
|
60
|
-
* id:
|
|
61
|
-
* alias: '次轴',
|
|
62
|
-
* children: [{id: 'growth', alias: '增长率'}, {id: 'returnRatio', alias: '回报率'}]
|
|
63
|
-
* }
|
|
64
|
-
* ]
|
|
65
|
-
* 组合散点图
|
|
66
|
-
* [
|
|
67
|
-
* {
|
|
68
|
-
* id: "first",
|
|
69
|
-
* alias: "第一个散点图",
|
|
70
|
-
* children: [
|
|
71
|
-
* {
|
|
72
|
-
* id: "xAxis",
|
|
73
|
-
* alias: '主轴',
|
|
74
|
-
* children: [{id: 'profit', alias: '利润'}, {id: 'sales', alias: '销售额'}]
|
|
75
|
-
* },
|
|
76
|
-
* {
|
|
77
|
-
* id: "y",
|
|
78
|
-
* alias: '次轴',
|
|
79
|
-
* children: [{id: 'growth', alias: '增长率'}, {id: 'returnRatio', alias: '回报率'}]
|
|
80
|
-
* },
|
|
81
|
-
* ]
|
|
82
|
-
* },
|
|
83
|
-
* {
|
|
84
|
-
* id: "second",
|
|
85
|
-
* alias: "第二个散点图",
|
|
86
|
-
* children: [
|
|
87
|
-
* {
|
|
88
|
-
* id: "xAxis2",
|
|
89
|
-
* alias: '主轴',
|
|
90
|
-
* children: [{id: 'profit2', alias: '利润'}, {id: 'sales2', alias: '销售额'}]
|
|
91
|
-
* },
|
|
92
|
-
* {
|
|
93
|
-
* id: "y2",
|
|
94
|
-
* alias: '次轴',
|
|
95
|
-
* children: [{id: 'growth2', alias: '增长率'}, {id: 'returnRatio2', alias: '回报率'}]
|
|
96
|
-
* },
|
|
97
|
-
* ]
|
|
98
|
-
* },
|
|
99
|
-
* ]
|
|
100
|
-
*/
|
|
101
|
-
measures?: MeasureTree;
|
|
102
|
-
/**
|
|
103
|
-
* @description 散点图指标, 是measures的简化形式
|
|
104
|
-
* 组合的散点图指标配置, 每个对象都代表一个散点图, 散点图之间纵向排列, 必须是数组.
|
|
105
|
-
* 每个配置对象内, xMeasures代表所有的X轴指标, yMeasures代表所有的Y轴指标, xMeasures和yMeasures可配置为数组或一个对象
|
|
106
|
-
* xMeasures 如果是多个指标, 则会自动合并, 映射至X轴
|
|
107
|
-
* yMeasures 如果是多个指标, 则会自动合并, 映射至Y轴
|
|
108
|
-
* @example
|
|
109
|
-
* 如下示例配置了一个双轴图, 主轴有1个value指标, 次轴有1个growth指标
|
|
110
|
-
* [
|
|
111
|
-
* {
|
|
112
|
-
* xMeasures: {id: 'value', alias: '数值'}
|
|
113
|
-
* yMeasures: {id: 'growth', alias: '增长率'}
|
|
114
|
-
* }
|
|
115
|
-
* ]
|
|
116
|
-
* 如下示例配置了2个纵向排列的双轴图, 第一个双轴图, 主轴有1个value指标, 次轴有一个growth指标, 第二个双轴图, 主轴有2个指标: profit与sales, 次轴有一个returnRatio指标
|
|
117
|
-
* [
|
|
118
|
-
* {
|
|
119
|
-
* xMeasures: {id: 'value', alias: '数值'}
|
|
120
|
-
* yMeasures: {id: 'growth', alias: '增长率'}
|
|
121
|
-
* },
|
|
122
|
-
* {
|
|
123
|
-
* xMeasures: [{id: 'profit', alias: '利润'}, {id: 'sales', alias: '销售额'}],
|
|
124
|
-
* yMeasures: [{id: 'returnRatio', alias: '回报率'}]
|
|
54
|
+
* id: 'sales', alias: '销售额', encoding: 'yAxis'
|
|
125
55
|
* }
|
|
126
56
|
* ]
|
|
127
57
|
*/
|
|
128
|
-
|
|
58
|
+
measures?: ScatterMeasure[];
|
|
129
59
|
/**
|
|
130
60
|
* @description 散点图指标的大小, 用于定义散点图中数据点的大小 或 大小范围
|
|
131
61
|
* - 若大小范围是一个数字, 例如10, 表示数据点的大小范围固定为10
|
|
@@ -40,7 +40,7 @@ export declare const zScatter: z.ZodObject<{
|
|
|
40
40
|
row: "row";
|
|
41
41
|
}>>;
|
|
42
42
|
}, z.core.$strip>>>>;
|
|
43
|
-
measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
43
|
+
measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
44
44
|
id: z.ZodString;
|
|
45
45
|
alias: z.ZodOptional<z.ZodString>;
|
|
46
46
|
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -128,315 +128,15 @@ export declare const zScatter: z.ZodObject<{
|
|
|
128
128
|
x1: "x1";
|
|
129
129
|
}>>;
|
|
130
130
|
parentId: z.ZodOptional<z.ZodString>;
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
scientific: "scientific";
|
|
141
|
-
}>>>;
|
|
142
|
-
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
143
|
-
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
144
|
-
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
145
|
-
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
146
|
-
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
147
|
-
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
148
|
-
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
149
|
-
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
150
|
-
morePrecision: "morePrecision";
|
|
151
|
-
lessPrecision: "lessPrecision";
|
|
152
|
-
}>>>;
|
|
153
|
-
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
154
|
-
floor: "floor";
|
|
155
|
-
ceil: "ceil";
|
|
156
|
-
expand: "expand";
|
|
157
|
-
trunc: "trunc";
|
|
158
|
-
halfCeil: "halfCeil";
|
|
159
|
-
halfFloor: "halfFloor";
|
|
160
|
-
halfExpand: "halfExpand";
|
|
161
|
-
halfTrunc: "halfTrunc";
|
|
162
|
-
halfEven: "halfEven";
|
|
163
|
-
}>>>;
|
|
164
|
-
}, z.core.$strip>>>;
|
|
165
|
-
id: z.ZodString;
|
|
166
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
167
|
-
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
168
|
-
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
169
|
-
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
170
|
-
number: "number";
|
|
171
|
-
percent: "percent";
|
|
172
|
-
permille: "permille";
|
|
173
|
-
scientific: "scientific";
|
|
174
|
-
}>>>;
|
|
175
|
-
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
176
|
-
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
177
|
-
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
178
|
-
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
179
|
-
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
180
|
-
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
181
|
-
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
182
|
-
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
183
|
-
morePrecision: "morePrecision";
|
|
184
|
-
lessPrecision: "lessPrecision";
|
|
185
|
-
}>>>;
|
|
186
|
-
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
187
|
-
floor: "floor";
|
|
188
|
-
ceil: "ceil";
|
|
189
|
-
expand: "expand";
|
|
190
|
-
trunc: "trunc";
|
|
191
|
-
halfCeil: "halfCeil";
|
|
192
|
-
halfFloor: "halfFloor";
|
|
193
|
-
halfExpand: "halfExpand";
|
|
194
|
-
halfTrunc: "halfTrunc";
|
|
195
|
-
halfEven: "halfEven";
|
|
196
|
-
}>>>;
|
|
197
|
-
}, z.core.$strip>>>;
|
|
198
|
-
}, z.core.$strip>>, z.ZodObject<{
|
|
199
|
-
id: z.ZodString;
|
|
200
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
201
|
-
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
202
|
-
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
203
|
-
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
204
|
-
number: "number";
|
|
205
|
-
percent: "percent";
|
|
206
|
-
permille: "permille";
|
|
207
|
-
scientific: "scientific";
|
|
208
|
-
}>>>;
|
|
209
|
-
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
210
|
-
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
211
|
-
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
212
|
-
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
213
|
-
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
214
|
-
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
215
|
-
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
216
|
-
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
217
|
-
morePrecision: "morePrecision";
|
|
218
|
-
lessPrecision: "lessPrecision";
|
|
219
|
-
}>>>;
|
|
220
|
-
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
221
|
-
floor: "floor";
|
|
222
|
-
ceil: "ceil";
|
|
223
|
-
expand: "expand";
|
|
224
|
-
trunc: "trunc";
|
|
225
|
-
halfCeil: "halfCeil";
|
|
226
|
-
halfFloor: "halfFloor";
|
|
227
|
-
halfExpand: "halfExpand";
|
|
228
|
-
halfTrunc: "halfTrunc";
|
|
229
|
-
halfEven: "halfEven";
|
|
230
|
-
}>>>;
|
|
231
|
-
}, z.core.$strip>>>;
|
|
232
|
-
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
233
|
-
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
234
|
-
number: "number";
|
|
235
|
-
percent: "percent";
|
|
236
|
-
permille: "permille";
|
|
237
|
-
scientific: "scientific";
|
|
238
|
-
}>>>;
|
|
239
|
-
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
240
|
-
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
241
|
-
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
242
|
-
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
243
|
-
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
244
|
-
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
245
|
-
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
246
|
-
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
247
|
-
morePrecision: "morePrecision";
|
|
248
|
-
lessPrecision: "lessPrecision";
|
|
249
|
-
}>>>;
|
|
250
|
-
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
251
|
-
floor: "floor";
|
|
252
|
-
ceil: "ceil";
|
|
253
|
-
expand: "expand";
|
|
254
|
-
trunc: "trunc";
|
|
255
|
-
halfCeil: "halfCeil";
|
|
256
|
-
halfFloor: "halfFloor";
|
|
257
|
-
halfExpand: "halfExpand";
|
|
258
|
-
halfTrunc: "halfTrunc";
|
|
259
|
-
halfEven: "halfEven";
|
|
260
|
-
}>>>;
|
|
261
|
-
}, z.core.$strip>>>;
|
|
262
|
-
encoding: z.ZodOptional<z.ZodEnum<{
|
|
263
|
-
column: "column";
|
|
264
|
-
value: "value";
|
|
265
|
-
xAxis: "xAxis";
|
|
266
|
-
yAxis: "yAxis";
|
|
267
|
-
angle: "angle";
|
|
268
|
-
color: "color";
|
|
269
|
-
detail: "detail";
|
|
270
|
-
tooltip: "tooltip";
|
|
271
|
-
label: "label";
|
|
272
|
-
primaryYAxis: "primaryYAxis";
|
|
273
|
-
secondaryYAxis: "secondaryYAxis";
|
|
274
|
-
radius: "radius";
|
|
275
|
-
size: "size";
|
|
276
|
-
q1: "q1";
|
|
277
|
-
median: "median";
|
|
278
|
-
q3: "q3";
|
|
279
|
-
min: "min";
|
|
280
|
-
max: "max";
|
|
281
|
-
outliers: "outliers";
|
|
282
|
-
x0: "x0";
|
|
283
|
-
x1: "x1";
|
|
284
|
-
}>>;
|
|
285
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
286
|
-
}, z.core.$strip>]>>;
|
|
287
|
-
yMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
288
|
-
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
289
|
-
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
290
|
-
number: "number";
|
|
291
|
-
percent: "percent";
|
|
292
|
-
permille: "permille";
|
|
293
|
-
scientific: "scientific";
|
|
294
|
-
}>>>;
|
|
295
|
-
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
296
|
-
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
297
|
-
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
298
|
-
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
299
|
-
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
300
|
-
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
301
|
-
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
302
|
-
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
303
|
-
morePrecision: "morePrecision";
|
|
304
|
-
lessPrecision: "lessPrecision";
|
|
305
|
-
}>>>;
|
|
306
|
-
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
307
|
-
floor: "floor";
|
|
308
|
-
ceil: "ceil";
|
|
309
|
-
expand: "expand";
|
|
310
|
-
trunc: "trunc";
|
|
311
|
-
halfCeil: "halfCeil";
|
|
312
|
-
halfFloor: "halfFloor";
|
|
313
|
-
halfExpand: "halfExpand";
|
|
314
|
-
halfTrunc: "halfTrunc";
|
|
315
|
-
halfEven: "halfEven";
|
|
316
|
-
}>>>;
|
|
317
|
-
}, z.core.$strip>>>;
|
|
318
|
-
id: z.ZodString;
|
|
319
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
320
|
-
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
321
|
-
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
322
|
-
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
323
|
-
number: "number";
|
|
324
|
-
percent: "percent";
|
|
325
|
-
permille: "permille";
|
|
326
|
-
scientific: "scientific";
|
|
327
|
-
}>>>;
|
|
328
|
-
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
329
|
-
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
330
|
-
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
331
|
-
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
332
|
-
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
333
|
-
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
334
|
-
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
335
|
-
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
336
|
-
morePrecision: "morePrecision";
|
|
337
|
-
lessPrecision: "lessPrecision";
|
|
338
|
-
}>>>;
|
|
339
|
-
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
340
|
-
floor: "floor";
|
|
341
|
-
ceil: "ceil";
|
|
342
|
-
expand: "expand";
|
|
343
|
-
trunc: "trunc";
|
|
344
|
-
halfCeil: "halfCeil";
|
|
345
|
-
halfFloor: "halfFloor";
|
|
346
|
-
halfExpand: "halfExpand";
|
|
347
|
-
halfTrunc: "halfTrunc";
|
|
348
|
-
halfEven: "halfEven";
|
|
349
|
-
}>>>;
|
|
350
|
-
}, z.core.$strip>>>;
|
|
351
|
-
}, z.core.$strip>>, z.ZodObject<{
|
|
352
|
-
id: z.ZodString;
|
|
353
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
354
|
-
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
355
|
-
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
356
|
-
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
357
|
-
number: "number";
|
|
358
|
-
percent: "percent";
|
|
359
|
-
permille: "permille";
|
|
360
|
-
scientific: "scientific";
|
|
361
|
-
}>>>;
|
|
362
|
-
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
363
|
-
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
364
|
-
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
365
|
-
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
366
|
-
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
367
|
-
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
368
|
-
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
369
|
-
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
370
|
-
morePrecision: "morePrecision";
|
|
371
|
-
lessPrecision: "lessPrecision";
|
|
372
|
-
}>>>;
|
|
373
|
-
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
374
|
-
floor: "floor";
|
|
375
|
-
ceil: "ceil";
|
|
376
|
-
expand: "expand";
|
|
377
|
-
trunc: "trunc";
|
|
378
|
-
halfCeil: "halfCeil";
|
|
379
|
-
halfFloor: "halfFloor";
|
|
380
|
-
halfExpand: "halfExpand";
|
|
381
|
-
halfTrunc: "halfTrunc";
|
|
382
|
-
halfEven: "halfEven";
|
|
383
|
-
}>>>;
|
|
384
|
-
}, z.core.$strip>>>;
|
|
385
|
-
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
386
|
-
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
387
|
-
number: "number";
|
|
388
|
-
percent: "percent";
|
|
389
|
-
permille: "permille";
|
|
390
|
-
scientific: "scientific";
|
|
391
|
-
}>>>;
|
|
392
|
-
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
393
|
-
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
394
|
-
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
395
|
-
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
396
|
-
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
397
|
-
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
398
|
-
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
399
|
-
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
400
|
-
morePrecision: "morePrecision";
|
|
401
|
-
lessPrecision: "lessPrecision";
|
|
402
|
-
}>>>;
|
|
403
|
-
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
404
|
-
floor: "floor";
|
|
405
|
-
ceil: "ceil";
|
|
406
|
-
expand: "expand";
|
|
407
|
-
trunc: "trunc";
|
|
408
|
-
halfCeil: "halfCeil";
|
|
409
|
-
halfFloor: "halfFloor";
|
|
410
|
-
halfExpand: "halfExpand";
|
|
411
|
-
halfTrunc: "halfTrunc";
|
|
412
|
-
halfEven: "halfEven";
|
|
413
|
-
}>>>;
|
|
414
|
-
}, z.core.$strip>>>;
|
|
415
|
-
encoding: z.ZodOptional<z.ZodEnum<{
|
|
416
|
-
column: "column";
|
|
417
|
-
value: "value";
|
|
418
|
-
xAxis: "xAxis";
|
|
419
|
-
yAxis: "yAxis";
|
|
420
|
-
angle: "angle";
|
|
421
|
-
color: "color";
|
|
422
|
-
detail: "detail";
|
|
423
|
-
tooltip: "tooltip";
|
|
424
|
-
label: "label";
|
|
425
|
-
primaryYAxis: "primaryYAxis";
|
|
426
|
-
secondaryYAxis: "secondaryYAxis";
|
|
427
|
-
radius: "radius";
|
|
428
|
-
size: "size";
|
|
429
|
-
q1: "q1";
|
|
430
|
-
median: "median";
|
|
431
|
-
q3: "q3";
|
|
432
|
-
min: "min";
|
|
433
|
-
max: "max";
|
|
434
|
-
outliers: "outliers";
|
|
435
|
-
x0: "x0";
|
|
436
|
-
x1: "x1";
|
|
437
|
-
}>>;
|
|
438
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
439
|
-
}, z.core.$strip>]>>;
|
|
131
|
+
chartType: z.ZodOptional<z.ZodEnum<{
|
|
132
|
+
line: "line";
|
|
133
|
+
column: "column";
|
|
134
|
+
columnPercent: "columnPercent";
|
|
135
|
+
columnParallel: "columnParallel";
|
|
136
|
+
area: "area";
|
|
137
|
+
areaPercent: "areaPercent";
|
|
138
|
+
scatter: "scatter";
|
|
139
|
+
}>>;
|
|
440
140
|
}, z.core.$strip>>>>;
|
|
441
141
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
|
442
142
|
size: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { zLocale } from "../../i18n/index.js";
|
|
3
|
-
import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zColor, zCrosshairLine, zDataset, zDimensionLinkage, zDimensions, zEncoding, zLabel, zLegend, zLinearRegressionLine, zLogisticRegressionLine, zLowessRegressionLine,
|
|
3
|
+
import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zColor, zCrosshairLine, zDataset, zDimensionLinkage, zDimensions, zEncoding, zLabel, zLegend, zLinearRegressionLine, zLogisticRegressionLine, zLowessRegressionLine, zMeasures, zPointStyle, zPolynomialRegressionLine, zTheme, zTooltip, zXLinearAxis, zYLinearAxis } from "../../properties/index.js";
|
|
4
4
|
const zScatter = z.object({
|
|
5
5
|
chartType: z.literal('scatter'),
|
|
6
6
|
dataset: zDataset.nullish(),
|
|
7
7
|
encoding: zEncoding.nullish(),
|
|
8
8
|
dimensions: zDimensions.nullish(),
|
|
9
|
-
measures:
|
|
10
|
-
scatterMeasures: zScatterMeasures.nullish(),
|
|
9
|
+
measures: zMeasures.nullish(),
|
|
11
10
|
backgroundColor: zBackgroundColor.nullish(),
|
|
12
11
|
size: z.number().or(z.array(z.number())).nullish(),
|
|
13
12
|
sizeRange: z.number().or(z.array(z.number())).nullish(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types/chartType/scatter/zScatter.js","sources":["webpack://@visactor/vseed/./src/types/chartType/scatter/zScatter.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zColor,\n zCrosshairLine,\n zDataset,\n zDimensionLinkage,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zLinearRegressionLine,\n zLogisticRegressionLine,\n zLowessRegressionLine,\n
|
|
1
|
+
{"version":3,"file":"types/chartType/scatter/zScatter.js","sources":["webpack://@visactor/vseed/./src/types/chartType/scatter/zScatter.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zColor,\n zCrosshairLine,\n zDataset,\n zDimensionLinkage,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zLinearRegressionLine,\n zLogisticRegressionLine,\n zLowessRegressionLine,\n zMeasures,\n zPointStyle,\n zPolynomialRegressionLine,\n zTheme,\n zTooltip,\n zXLinearAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zScatter = z.object({\n chartType: z.literal('scatter'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasures.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n size: z.number().or(z.array(z.number())).nullish(),\n sizeRange: z.number().or(z.array(z.number())).nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXLinearAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairLine: zCrosshairLine.nullish(),\n theme: zTheme.nullish(),\n pointStyle: z.array(zPointStyle).or(zPointStyle).nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n linearRegressionLine: z.array(zLinearRegressionLine).or(zLinearRegressionLine).nullish(),\n lowessRegressionLine: z.array(zLowessRegressionLine).or(zLowessRegressionLine).nullish(),\n polynomialRegressionLine: z.array(zPolynomialRegressionLine).or(zPolynomialRegressionLine).nullish(),\n logisticRegressionLine: z.array(zLogisticRegressionLine).or(zLogisticRegressionLine).nullish(),\n dimensionLinkage: zDimensionLinkage.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zScatter","z","zDataset","zEncoding","zDimensions","zMeasures","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYLinearAxis","zCrosshairLine","zTheme","zPointStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLinearRegressionLine","zLowessRegressionLine","zPolynomialRegressionLine","zLogisticRegressionLine","zDimensionLinkage","zLocale"],"mappings":";;;AA4BO,MAAMA,WAAWC,EAAE,MAAM,CAAC;IAC/B,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,UAAU,OAAO;IAC3B,iBAAiBC,iBAAiB,OAAO;IACzC,MAAML,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IAChD,WAAWA,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IACrD,OAAOM,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,OAAOC,OAAO,OAAO;IACrB,YAAYb,EAAE,KAAK,CAACc,aAAa,EAAE,CAACA,aAAa,OAAO;IACxD,iBAAiBd,EAAE,KAAK,CAACe,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBf,EAAE,KAAK,CAACgB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BhB,EAAE,KAAK,CAACiB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBjB,EAAE,KAAK,CAACkB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,sBAAsBlB,EAAE,KAAK,CAACmB,uBAAuB,EAAE,CAACA,uBAAuB,OAAO;IACtF,sBAAsBnB,EAAE,KAAK,CAACoB,uBAAuB,EAAE,CAACA,uBAAuB,OAAO;IACtF,0BAA0BpB,EAAE,KAAK,CAACqB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,wBAAwBrB,EAAE,KAAK,CAACsB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,kBAAkBC,kBAAkB,OAAO;IAC3C,QAAQC,QAAQ,OAAO;AACzB"}
|
|
@@ -105,6 +105,15 @@ export declare const zTable: z.ZodObject<{
|
|
|
105
105
|
x1: "x1";
|
|
106
106
|
}>>;
|
|
107
107
|
parentId: z.ZodOptional<z.ZodString>;
|
|
108
|
+
chartType: z.ZodOptional<z.ZodEnum<{
|
|
109
|
+
line: "line";
|
|
110
|
+
column: "column";
|
|
111
|
+
columnPercent: "columnPercent";
|
|
112
|
+
columnParallel: "columnParallel";
|
|
113
|
+
area: "area";
|
|
114
|
+
areaPercent: "areaPercent";
|
|
115
|
+
scatter: "scatter";
|
|
116
|
+
}>>;
|
|
108
117
|
}, z.core.$strip>]>>>>;
|
|
109
118
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
|
110
119
|
borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4791,37 +4791,6 @@ export declare const zConfig: z.ZodObject<{
|
|
|
4791
4791
|
labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
4792
4792
|
labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>>;
|
|
4793
4793
|
}, z.core.$strip>>>;
|
|
4794
|
-
dualChartType: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
4795
|
-
primary: z.ZodDefault<z.ZodEnum<{
|
|
4796
|
-
line: "line";
|
|
4797
|
-
column: "column";
|
|
4798
|
-
columnParallel: "columnParallel";
|
|
4799
|
-
area: "area";
|
|
4800
|
-
scatter: "scatter";
|
|
4801
|
-
}>>;
|
|
4802
|
-
secondary: z.ZodDefault<z.ZodEnum<{
|
|
4803
|
-
line: "line";
|
|
4804
|
-
column: "column";
|
|
4805
|
-
columnParallel: "columnParallel";
|
|
4806
|
-
area: "area";
|
|
4807
|
-
scatter: "scatter";
|
|
4808
|
-
}>>;
|
|
4809
|
-
}, z.core.$strip>>, z.ZodObject<{
|
|
4810
|
-
primary: z.ZodDefault<z.ZodEnum<{
|
|
4811
|
-
line: "line";
|
|
4812
|
-
column: "column";
|
|
4813
|
-
columnParallel: "columnParallel";
|
|
4814
|
-
area: "area";
|
|
4815
|
-
scatter: "scatter";
|
|
4816
|
-
}>>;
|
|
4817
|
-
secondary: z.ZodDefault<z.ZodEnum<{
|
|
4818
|
-
line: "line";
|
|
4819
|
-
column: "column";
|
|
4820
|
-
columnParallel: "columnParallel";
|
|
4821
|
-
area: "area";
|
|
4822
|
-
scatter: "scatter";
|
|
4823
|
-
}>>;
|
|
4824
|
-
}, z.core.$strip>]>>>;
|
|
4825
4794
|
alignTicks: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodBoolean>, z.ZodBoolean]>>>;
|
|
4826
4795
|
primaryYAxis: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
4827
4796
|
visible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|