@visactor/vseed 0.1.51 → 0.2.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 +2 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/builder/builder/advanced/colorItems.js.map +1 -1
- package/dist/esm/builder/builder/build.js.map +1 -1
- package/dist/esm/builder/builder/buildAdvanced.js.map +1 -1
- package/dist/esm/builder/builder/buildSpec.js.map +1 -1
- package/dist/esm/builder/builder/builder.d.ts +346 -0
- package/dist/esm/builder/builder/builder.js.map +1 -1
- package/dist/esm/builder/register/all.js.map +1 -1
- package/dist/esm/builder/register/chartType/area.js.map +1 -1
- package/dist/esm/builder/register/chartType/areaPercent.js.map +1 -1
- package/dist/esm/builder/register/chartType/bar.js.map +1 -1
- package/dist/esm/builder/register/chartType/barParallel.js.map +1 -1
- package/dist/esm/builder/register/chartType/barPercent.js.map +1 -1
- package/dist/esm/builder/register/chartType/boxplot.js.map +1 -1
- package/dist/esm/builder/register/chartType/column.js.map +1 -1
- package/dist/esm/builder/register/chartType/columnParallel.js.map +1 -1
- package/dist/esm/builder/register/chartType/columnPercent.js.map +1 -1
- package/dist/esm/builder/register/chartType/donut.js.map +1 -1
- package/dist/esm/builder/register/chartType/dualAxis.js.map +1 -1
- package/dist/esm/builder/register/chartType/funnel.js.map +1 -1
- package/dist/esm/builder/register/chartType/heatmap.js.map +1 -1
- package/dist/esm/builder/register/chartType/histogram.js.map +1 -1
- package/dist/esm/builder/register/chartType/line.js.map +1 -1
- package/dist/esm/builder/register/chartType/pie.js.map +1 -1
- package/dist/esm/builder/register/chartType/pivotTable.js.map +1 -1
- package/dist/esm/builder/register/chartType/radar.js.map +1 -1
- package/dist/esm/builder/register/chartType/rose.js.map +1 -1
- package/dist/esm/builder/register/chartType/roseParallel.js.map +1 -1
- package/dist/esm/builder/register/chartType/scatter.js.map +1 -1
- package/dist/esm/builder/register/chartType/table.js.map +1 -1
- package/dist/esm/builder/register/custom.js.map +1 -1
- package/dist/esm/builder/register/theme/custom.js.map +1 -1
- package/dist/esm/builder/register/theme/dark.js.map +1 -1
- package/dist/esm/builder/register/theme/light.js.map +1 -1
- package/dist/esm/dataReshape/constant.js.map +1 -1
- package/dist/esm/dataReshape/dataReshapeByEncoding.js.map +1 -1
- package/dist/esm/dataReshape/foldMeasures.js.map +1 -1
- package/dist/esm/dataReshape/unfoldDimensions.js.map +1 -1
- package/dist/esm/dataSelector/selector.js.map +1 -1
- package/dist/esm/i18n/i18n.js.map +1 -1
- package/dist/esm/i18n/i18nData.js +9 -9
- package/dist/esm/i18n/i18nData.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/area.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/areaPercent.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/bar.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/barParallel.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/barPercent.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/boxplot.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/column.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/columnParallel.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/columnPercent.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/donut.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/donut.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/dualAxis.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/funnel.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/heatmap.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/histogram.js +1 -2
- package/dist/esm/pipeline/advanced/chart/pipeline/histogram.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/line.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/pie.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/pie.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/radar.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/rose.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/roseParallel.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/scatter.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/analysis/common.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/analysis/sortLegend.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/analysis/sortXBand.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/analysis/sortYBand.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/annotation/annotation.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/boxplot.js +2 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/boxplot.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/column.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/dualAxis.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/histogram.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/index.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/line.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/pie.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/scatter.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/default/defaultDimensions.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/default/defaultMeasureId.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/default/defaultMeasures.js +2 -2
- package/dist/esm/pipeline/advanced/chart/pipes/default/defaultMeasures.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/dimensions/pickDimensionsForReshape.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/adapter/encodingAdapter.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/bar.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/boxplot.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/color/addColorToEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/column.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/dualAxis.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/funnel.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/heatmap.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/histogram.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/line.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/pie.js +8 -6
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/pie.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/radar.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/rose.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/scatter.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/init/initAdvancedVSeed.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/markStyle/markStyle.js +3 -1
- package/dist/esm/pipeline/advanced/chart/pipes/markStyle/markStyle.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasures.js +5 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasures.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasuresForDualAxis.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasuresForScatter.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/pickMeasuresForReshape.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/utils.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/pivot/pivotAdapter.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/regressionLine/regressionLine.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithDualEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithEncoding.js +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithHistogramEncoding.js +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithHistogramEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithScatterEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithBoxplotEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithDualEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithHistogramEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithScatterEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/theme/theme.js.map +1 -1
- package/dist/esm/pipeline/advanced/table/pipeline/pivotTable.js.map +1 -1
- package/dist/esm/pipeline/advanced/table/pipeline/table.js.map +1 -1
- package/dist/esm/pipeline/advanced/table/pipes/cellStyle/cellStyle.js.map +1 -1
- package/dist/esm/pipeline/advanced/table/pipes/config/pivotTableConfig.js.map +1 -1
- package/dist/esm/pipeline/advanced/table/pipes/config/tableConfig.js.map +1 -1
- package/dist/esm/pipeline/advanced/table/pipes/default/defaultDimensions.js.map +1 -1
- package/dist/esm/pipeline/advanced/table/pipes/default/defaultMeasureId.js.map +1 -1
- package/dist/esm/pipeline/advanced/table/pipes/default/defaultMeasures.js.map +1 -1
- package/dist/esm/pipeline/advanced/table/pipes/encoding/pivotTable.js.map +1 -1
- package/dist/esm/pipeline/advanced/table/pipes/init/initAdvancedVSeed.js.map +1 -1
- package/dist/esm/pipeline/advanced/table/pipes/records/records.js.map +1 -1
- package/dist/esm/pipeline/advanced/table/pipes/reshape/reshapePivotTable.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/area.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/bar.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/boxplot.js +10 -5
- package/dist/esm/pipeline/spec/chart/pipeline/boxplot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/column.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/donut.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js +15 -13
- package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/funnel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/histogram.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/line.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/pie.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/radar.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/rose.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/roseParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/scatter.js +3 -1
- package/dist/esm/pipeline/spec/chart/pipeline/scatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationArea.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationAreaBand.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationHorizontalLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPoint.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationVerticalLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/splitLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/format/linearFormat.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/radarAngle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/radarRadius.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/radius.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/title/defaultTitleText.js.map +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.map +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.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearPrimary.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearSecondary.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/backgroundColor/background.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/barWidth/barGapInGroup.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/barWidth/barMaxWidth.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/boxWidth/boxGapInGroup.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/boxWidth/boxGapInGroup.js +14 -0
- package/dist/esm/pipeline/spec/chart/pipes/boxWidth/boxGapInGroup.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/boxWidth/boxMaxWidth.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/boxWidth/boxMaxWidth.js +14 -0
- package/dist/esm/pipeline/spec/chart/pipes/boxWidth/boxMaxWidth.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/boxWidth/index.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/boxWidth/index.js +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/color/color.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorAdapter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorAreaStyleFill.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorBarStyleFill.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorBoxPlotStyleFill.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/color/colorBoxPlotStyleFill.js +17 -0
- package/dist/esm/pipeline/spec/chart/pipes/color/colorBoxPlotStyleFill.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/color/colorCellStyleFill.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorFunnelStyleFill.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorLineStyleFill.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorPieStyleFill.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorPointStyleFill.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorRoseStyleFill.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/color/index.js +2 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/linearColor.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/linearColorForDualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/histogramCrosshair.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairRect.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairRect.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairRect.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairRect.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetBoxplot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetDualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHistogram.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetPivot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetScatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetXY.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetYX.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/progressive.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dual/dualChartType.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/index.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/index.js +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/init/area.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/bar.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/barParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/boxplot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/column.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/columnParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/donut.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/dualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/funnel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/heatmap.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/histogram.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/line.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/pie.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/pivot.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/pivot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/radar.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/rose.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/roseParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/scatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/label.js.map +1 -1
- 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/legend/boxLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/colorLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/discreteLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/heatmapColorLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/pivotColorLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/pivotDiscreteLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/areaStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/barStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/boxPlotStyle.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/boxPlotStyle.js +52 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/boxPlotStyle.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/cellStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/curve/curve.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelTransformStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.js +3 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/lineStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.js +67 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/pieStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/pointState.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/pointStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/roseStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/percent/percent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/areaStyleFilter.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/areaStyleFilter.js +7 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/areaStyleFilter.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.js +7 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/index.d.ts +4 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/index.js +4 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.js +7 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.js +7 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.js +18 -20
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAdapter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAxisStyle.js +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAxisStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotColumnDimensions.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotHideIndicatorName.js +7 -3
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotHideIndicatorName.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotRowDimensions.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotTitle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/region/addRegionPadding.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js +8 -4
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.js +2 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js +6 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.d.ts +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js +15 -9
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/series/series.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/size/scatterSize.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/stack/stack.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/stack/stackCornerRadius.js +2 -3
- package/dist/esm/pipeline/spec/chart/pipes/stack/stackCornerRadius.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.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js +16 -2
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHeatmap.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHistogram.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipScatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/utils/histogram.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipeline/pivotTable.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipeline/table.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/cellStyle/common.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/cellStyle/pivot.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/cellStyle/table.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/columns/dimensionsToColumns.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/columns/measuresToColumns.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/columns/pivotColumns.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/corner/titleOnDimension.js.map +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.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/init/pivotTable.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/init/table.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/rows/pivotRows.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/bodyStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/cornerHeaderStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/frameStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/headerStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/rowHeaderStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/scrollStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/selectionStyle.js.map +1 -1
- package/dist/esm/pipeline/utils/chatType.js.map +1 -1
- package/dist/esm/pipeline/utils/constant.js.map +1 -1
- package/dist/esm/pipeline/utils/dimensions/delete.js.map +1 -1
- package/dist/esm/pipeline/utils/dimensions/typeGuard.js.map +1 -1
- package/dist/esm/pipeline/utils/format/createFormatter.js.map +1 -1
- package/dist/esm/pipeline/utils/format/createFormatterByMeasure.js.map +1 -1
- package/dist/esm/pipeline/utils/format/createNumFormatter.js +1 -1
- package/dist/esm/pipeline/utils/format/createNumFormatter.js.map +1 -1
- package/dist/esm/pipeline/utils/measures/delete.js.map +1 -1
- package/dist/esm/pipeline/utils/measures/depth.js.map +1 -1
- package/dist/esm/pipeline/utils/measures/find.d.ts +1 -0
- package/dist/esm/pipeline/utils/measures/find.js +13 -1
- package/dist/esm/pipeline/utils/measures/find.js.map +1 -1
- package/dist/esm/pipeline/utils/measures/typeGuard.js.map +1 -1
- package/dist/esm/pipeline/utils/pipeline.js.map +1 -1
- package/dist/esm/pipeline/utils/replaceNullToUndefined.js.map +1 -1
- package/dist/esm/pipeline/utils/tree/traverse.js.map +1 -1
- package/dist/esm/pipeline/utils/valid/checkVSeed.js.map +1 -1
- package/dist/esm/theme/common/annotaion.js.map +1 -1
- package/dist/esm/theme/common/axes.js +4 -4
- package/dist/esm/theme/common/axes.js.map +1 -1
- package/dist/esm/theme/common/boxPlot.d.ts +5 -0
- package/dist/esm/theme/common/boxPlot.js +15 -0
- package/dist/esm/theme/common/boxPlot.js.map +1 -0
- package/dist/esm/theme/common/color.js.map +1 -1
- package/dist/esm/theme/common/crosshair.js +4 -4
- package/dist/esm/theme/common/crosshair.js.map +1 -1
- package/dist/esm/theme/common/funnelTransform.js.map +1 -1
- package/dist/esm/theme/common/heatmapCell.js.map +1 -1
- package/dist/esm/theme/common/label.js.map +1 -1
- package/dist/esm/theme/common/legend.js.map +1 -1
- package/dist/esm/theme/common/regressionLine.js.map +1 -1
- package/dist/esm/theme/common/table.js +2 -0
- package/dist/esm/theme/common/table.js.map +1 -1
- package/dist/esm/theme/common/tooltip.js.map +1 -1
- package/dist/esm/theme/dark/dark.js +4 -1
- package/dist/esm/theme/dark/dark.js.map +1 -1
- package/dist/esm/theme/light/light.js +4 -1
- package/dist/esm/theme/light/light.js.map +1 -1
- package/dist/esm/types/advancedVSeed.d.ts +362 -0
- package/dist/esm/types/advancedVSeed.js.map +1 -1
- package/dist/esm/types/builder/builder.js.map +1 -1
- package/dist/esm/types/chartType/area/zArea.js.map +1 -1
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.js.map +1 -1
- package/dist/esm/types/chartType/bar/zBar.js.map +1 -1
- package/dist/esm/types/chartType/barParallel/zBarParallel.js.map +1 -1
- package/dist/esm/types/chartType/barPercent/zBarPercent.js.map +1 -1
- package/dist/esm/types/chartType/boxplot/boxplot.d.ts +17 -1
- package/dist/esm/types/chartType/boxplot/zBoxplot.d.ts +318 -0
- package/dist/esm/types/chartType/boxplot/zBoxplot.js +6 -2
- package/dist/esm/types/chartType/boxplot/zBoxplot.js.map +1 -1
- package/dist/esm/types/chartType/column/zColumn.js.map +1 -1
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.js.map +1 -1
- package/dist/esm/types/chartType/columnPercent/zColumnPercent.js.map +1 -1
- package/dist/esm/types/chartType/donut/zDonut.js.map +1 -1
- package/dist/esm/types/chartType/dualAxis/zDualAxis.js.map +1 -1
- package/dist/esm/types/chartType/funnel/zFunnel.js.map +1 -1
- package/dist/esm/types/chartType/heatmap/zHeatmap.js.map +1 -1
- package/dist/esm/types/chartType/histogram/zHistogram.js.map +1 -1
- package/dist/esm/types/chartType/line/zLine.js.map +1 -1
- package/dist/esm/types/chartType/pie/zPie.js.map +1 -1
- package/dist/esm/types/chartType/pivotTable/zPivotTable.js.map +1 -1
- package/dist/esm/types/chartType/radar/zRadar.js.map +1 -1
- package/dist/esm/types/chartType/rose/zRose.js.map +1 -1
- package/dist/esm/types/chartType/roseParallel/zRoseParallel.js.map +1 -1
- package/dist/esm/types/chartType/scatter/zScatter.js.map +1 -1
- package/dist/esm/types/chartType/table/zTable.js.map +1 -1
- package/dist/esm/types/dataSelector/selector.js.map +1 -1
- package/dist/esm/types/i18n/i18n.js.map +1 -1
- package/dist/esm/types/properties/analysis/analysis.js.map +1 -1
- package/dist/esm/types/properties/analysis/sort.js.map +1 -1
- package/dist/esm/types/properties/analysis/sortLegend.js.map +1 -1
- package/dist/esm/types/properties/annotation/annotation.js.map +1 -1
- package/dist/esm/types/properties/annotation/zAnnotationArea.js.map +1 -1
- package/dist/esm/types/properties/annotation/zAnnotationHorizontalLine.js.map +1 -1
- package/dist/esm/types/properties/annotation/zAnnotationPoint.js.map +1 -1
- package/dist/esm/types/properties/annotation/zAnnotationVerticalLine.js.map +1 -1
- package/dist/esm/types/properties/cellStyle/bodyCellStyle.js.map +1 -1
- package/dist/esm/types/properties/cellStyle/cellStyle.js.map +1 -1
- package/dist/esm/types/properties/chartType/chartType.js.map +1 -1
- package/dist/esm/types/properties/chartType/dualChartType.js.map +1 -1
- package/dist/esm/types/properties/config/annotation/zAnnotaion.js.map +1 -1
- package/dist/esm/types/properties/config/area.js.map +1 -1
- package/dist/esm/types/properties/config/axes/zBandAxis.js.map +1 -1
- package/dist/esm/types/properties/config/axes/zLinearAxis.js.map +1 -1
- package/dist/esm/types/properties/config/backgroundColor/backgroundColor.js.map +1 -1
- package/dist/esm/types/properties/config/bar.js.map +1 -1
- package/dist/esm/types/properties/config/barWidth/index.js.map +1 -1
- package/dist/esm/types/properties/config/boxWidth/boxWidth.d.ts +8 -0
- package/dist/esm/types/properties/config/boxWidth/boxWidth.js +0 -0
- package/dist/esm/types/properties/config/boxWidth/index.d.ts +2 -0
- package/dist/esm/types/properties/config/boxWidth/index.js +1 -0
- package/dist/esm/types/properties/config/boxWidth/zBoxWidth.d.ts +3 -0
- package/dist/esm/types/properties/config/boxWidth/zBoxWidth.js +6 -0
- package/dist/esm/types/properties/config/boxWidth/zBoxWidth.js.map +1 -0
- package/dist/esm/types/properties/config/boxplot.d.ts +23 -0
- package/dist/esm/types/properties/config/boxplot.js +11 -1
- package/dist/esm/types/properties/config/boxplot.js.map +1 -1
- package/dist/esm/types/properties/config/color/color.js.map +1 -1
- package/dist/esm/types/properties/config/column.js.map +1 -1
- package/dist/esm/types/properties/config/config.d.ts +23 -0
- package/dist/esm/types/properties/config/config.js.map +1 -1
- package/dist/esm/types/properties/config/crosshair/zCrosshair.js.map +1 -1
- package/dist/esm/types/properties/config/dimensionLinkage/dimensionLinkage.js.map +1 -1
- package/dist/esm/types/properties/config/dualAxis.js.map +1 -1
- package/dist/esm/types/properties/config/funnel.js.map +1 -1
- package/dist/esm/types/properties/config/funnelTransform/zFunnelTransform.js.map +1 -1
- package/dist/esm/types/properties/config/heatmap/zHeatmap.js.map +1 -1
- package/dist/esm/types/properties/config/heatmap.js.map +1 -1
- package/dist/esm/types/properties/config/histogram.js.map +1 -1
- package/dist/esm/types/properties/config/index.d.ts +1 -0
- package/dist/esm/types/properties/config/index.js +1 -0
- package/dist/esm/types/properties/config/label/zLabel.js.map +1 -1
- package/dist/esm/types/properties/config/label/zPieLabel.js.map +1 -1
- package/dist/esm/types/properties/config/legend/legend.js.map +1 -1
- package/dist/esm/types/properties/config/line.js.map +1 -1
- package/dist/esm/types/properties/config/pie.js.map +1 -1
- package/dist/esm/types/properties/config/pivotGrid/pivotGrid.js.map +1 -1
- package/dist/esm/types/properties/config/pivotTable.js.map +1 -1
- package/dist/esm/types/properties/config/rose.js.map +1 -1
- package/dist/esm/types/properties/config/scatter.js.map +1 -1
- package/dist/esm/types/properties/config/stackCornerRadius/stackCornerRadius.js.map +1 -1
- package/dist/esm/types/properties/config/table.js.map +1 -1
- package/dist/esm/types/properties/config/tooltip/tooltip.js.map +1 -1
- package/dist/esm/types/properties/config/whiskers/index.js.map +1 -1
- package/dist/esm/types/properties/dataset/dataset.js.map +1 -1
- package/dist/esm/types/properties/datasetReshapeInfo/zDatasetReshapeInfo.js.map +1 -1
- package/dist/esm/types/properties/dimensions/zDimensions.js.map +1 -1
- package/dist/esm/types/properties/encoding/zDimensionEncoding.js.map +1 -1
- package/dist/esm/types/properties/encoding/zEncoding.js +1 -1
- package/dist/esm/types/properties/encoding/zEncoding.js.map +1 -1
- package/dist/esm/types/properties/encoding/zMeasureEncoding.js.map +1 -1
- package/dist/esm/types/properties/format/numFormat.js.map +1 -1
- package/dist/esm/types/properties/markStyle/barStyle.js.map +1 -1
- package/dist/esm/types/properties/markStyle/boxPlotStyle.d.ts +148 -0
- package/dist/esm/types/properties/markStyle/boxPlotStyle.js +14 -0
- package/dist/esm/types/properties/markStyle/boxPlotStyle.js.map +1 -0
- package/dist/esm/types/properties/markStyle/index.d.ts +2 -0
- package/dist/esm/types/properties/markStyle/index.js +2 -0
- package/dist/esm/types/properties/markStyle/lineStyle.js.map +1 -1
- package/dist/esm/types/properties/markStyle/markStyle.d.ts +316 -0
- package/dist/esm/types/properties/markStyle/markStyle.js +5 -1
- package/dist/esm/types/properties/markStyle/markStyle.js.map +1 -1
- package/dist/esm/types/properties/markStyle/outlierStyle.d.ts +161 -0
- package/dist/esm/types/properties/markStyle/outlierStyle.js +22 -0
- package/dist/esm/types/properties/markStyle/outlierStyle.js.map +1 -0
- package/dist/esm/types/properties/markStyle/pointStyle.js.map +1 -1
- package/dist/esm/types/properties/markStyle/zAreaStyle.js.map +1 -1
- package/dist/esm/types/properties/measures/zDualMeasures.js.map +1 -1
- package/dist/esm/types/properties/measures/zMeasures.js.map +1 -1
- package/dist/esm/types/properties/measures/zScatterMeasures.js.map +1 -1
- package/dist/esm/types/properties/regressionLine/zRegressionLine.js.map +1 -1
- package/dist/esm/types/properties/theme/customTheme.d.ts +46 -0
- package/dist/esm/types/properties/theme/customTheme.js.map +1 -1
- package/dist/esm/types/properties/theme/theme.js.map +1 -1
- package/dist/esm/types/vseed.d.ts +1 -0
- package/dist/esm/types/zVseed.d.ts +318 -0
- package/dist/esm/types/zVseed.js.map +1 -1
- package/dist/umd/index.js +661 -386
- package/dist/umd/index.js.map +1 -1
- package/package.json +5 -5
package/dist/umd/index.js
CHANGED
|
@@ -30,291 +30,296 @@
|
|
|
30
30
|
var __webpack_exports__ = {};
|
|
31
31
|
__webpack_require__.r(__webpack_exports__);
|
|
32
32
|
__webpack_require__.d(__webpack_exports__, {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
33
|
+
donutAdvancedPipeline: ()=>donutAdvancedPipeline,
|
|
34
|
+
scatterAdvancedPipeline: ()=>scatterAdvancedPipeline,
|
|
35
|
+
zLineConfig: ()=>zLineConfig,
|
|
36
|
+
zSelectors: ()=>zSelectors,
|
|
37
|
+
FoldXMeasureValue: ()=>FoldXMeasureValue,
|
|
38
|
+
pivotTableAdvancedPipeline: ()=>pivotTableAdvancedPipeline,
|
|
39
|
+
zAnnotationAreaConfig: ()=>zAnnotationAreaConfig,
|
|
40
|
+
selectByPartial: ()=>selectByPartial,
|
|
41
|
+
zCustomTheme: ()=>zCustomTheme,
|
|
42
42
|
intl: ()=>intl,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
DEFAULT_PARENT_ID: ()=>DEFAULT_PARENT_ID,
|
|
43
|
+
roseParallelSpecPipeline: ()=>roseParallelSpecPipeline,
|
|
44
|
+
UpperWhisker: ()=>UpperWhisker,
|
|
45
|
+
zRoseParallel: ()=>zRoseParallel,
|
|
46
|
+
boxplotAdvancedPipeline: ()=>boxplotAdvancedPipeline,
|
|
47
|
+
registerRadar: ()=>registerRadar,
|
|
49
48
|
isRadar: ()=>isRadar,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
49
|
+
isVTable: ()=>isVTable,
|
|
50
|
+
findAllMeasures: ()=>findAllMeasures,
|
|
51
|
+
zFunnelConfig: ()=>zFunnelConfig,
|
|
52
|
+
zUnfoldInfo: ()=>zUnfoldInfo,
|
|
53
|
+
registerColumnPercent: ()=>registerColumnPercent,
|
|
54
|
+
zPivotTableConfig: ()=>zPivotTableConfig,
|
|
55
|
+
registerRose: ()=>registerRose,
|
|
56
|
+
zDimensions: ()=>zDimensions,
|
|
57
|
+
zPieConfig: ()=>zPieConfig,
|
|
58
|
+
zScatterConfig: ()=>zScatterConfig,
|
|
54
59
|
zYLinearAxis: ()=>zYLinearAxis,
|
|
55
|
-
zMarkStyle: ()=>zMarkStyle,
|
|
56
|
-
registerFunnel: ()=>registerFunnel,
|
|
57
|
-
columnAdvancedPipeline: ()=>columnAdvancedPipeline,
|
|
58
60
|
zLabel: ()=>zLabel,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
DimensionEncodingEnum: ()=>DimensionEncodingEnum,
|
|
70
|
-
barPercentAdvancedPipeline: ()=>barPercentAdvancedPipeline,
|
|
71
|
-
zColumnParallel: ()=>zColumnParallel,
|
|
72
|
-
zDimensions: ()=>zDimensions,
|
|
73
|
-
zLegend: ()=>zLegend,
|
|
74
|
-
zSelector: ()=>zSelector,
|
|
75
|
-
LINEAR_AXIS_INNER_OFFSET_TOP: ()=>12,
|
|
76
|
-
replaceNullToUndefined: ()=>replaceNullToUndefined,
|
|
77
|
-
zHeatmap: ()=>zHeatmap,
|
|
78
|
-
FoldXMeasureId: ()=>FoldXMeasureId,
|
|
79
|
-
zAnnotationAreaConfig: ()=>zAnnotationAreaConfig,
|
|
61
|
+
registerAreaPercent: ()=>registerAreaPercent,
|
|
62
|
+
zAnnotationArea: ()=>zAnnotationArea,
|
|
63
|
+
zDimension: ()=>zDimension,
|
|
64
|
+
FoldPrimaryMeasureValue: ()=>FoldPrimaryMeasureValue,
|
|
65
|
+
donutSpecPipeline: ()=>donutSpecPipeline,
|
|
66
|
+
zSortLegend: ()=>zSortLegend,
|
|
67
|
+
selectorDatum: ()=>selectorDatum,
|
|
68
|
+
registerTable: ()=>registerTable,
|
|
69
|
+
zCrosshairRect: ()=>zCrosshairRect,
|
|
70
|
+
boxplotSpecPipeline: ()=>boxplotSpecPipeline,
|
|
80
71
|
zAnnotationVerticalLineConfig: ()=>zAnnotationVerticalLineConfig,
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
72
|
+
zCustomThemeConfig: ()=>zCustomThemeConfig,
|
|
73
|
+
zMeasureEncoding: ()=>zMeasureEncoding,
|
|
74
|
+
MedianMeasureId: ()=>MedianMeasureId,
|
|
75
|
+
BinPercentageMeasureId: ()=>BinPercentageMeasureId,
|
|
76
|
+
AngleEncoding: ()=>AngleEncoding,
|
|
86
77
|
zCrosshairLine: ()=>zCrosshairLine,
|
|
87
|
-
|
|
78
|
+
zEcdfRegressionLine: ()=>zEcdfRegressionLine,
|
|
79
|
+
zLegend: ()=>zLegend,
|
|
80
|
+
zMeasure: ()=>zMeasure,
|
|
81
|
+
zBoxMaxWidth: ()=>zBoxMaxWidth,
|
|
82
|
+
zMeasureGroup: ()=>zMeasureGroup,
|
|
83
|
+
zOutlierStyle: ()=>zOutlierStyle,
|
|
84
|
+
zBarStyle: ()=>zBarStyle,
|
|
85
|
+
lineSpecPipeline: ()=>lineSpecPipeline,
|
|
86
|
+
replaceNullToUndefined: ()=>replaceNullToUndefined,
|
|
88
87
|
zBarParallel: ()=>zBarParallel,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
88
|
+
zBarPercent: ()=>zBarPercent,
|
|
89
|
+
LINEAR_AXIS_INNER_OFFSET_TOP: ()=>12,
|
|
90
|
+
zBarPercentConfig: ()=>zBarPercentConfig,
|
|
91
|
+
zDualAxis: ()=>zDualAxis,
|
|
92
|
+
DetailEncoding: ()=>DetailEncoding,
|
|
93
|
+
dualAxisAdvancedPipeline: ()=>dualAxisAdvancedPipeline,
|
|
94
|
+
FoldSecondaryMeasureValue: ()=>FoldSecondaryMeasureValue,
|
|
95
|
+
zXLinearAxis: ()=>zXLinearAxis,
|
|
97
96
|
zRose: ()=>zRose,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
97
|
+
selectByDmension: ()=>selectByDmension,
|
|
98
|
+
isDimensionGroup: ()=>isDimensionGroup,
|
|
99
|
+
BinEndMeasureId: ()=>BinEndMeasureId,
|
|
100
|
+
zHeatmapConfig: ()=>zHeatmapConfig,
|
|
101
|
+
DATUM_HIDE_KEY: ()=>DATUM_HIDE_KEY,
|
|
102
|
+
isAreaPercent: ()=>isAreaPercent,
|
|
103
|
+
zAdvancedVSeed: ()=>zAdvancedVSeed,
|
|
104
|
+
FoldXMeasureId: ()=>FoldXMeasureId,
|
|
105
|
+
Q3MeasureValue: ()=>"__Q3__",
|
|
107
106
|
zColor: ()=>zColor,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
FoldMeasureName: ()=>FoldMeasureName,
|
|
116
|
-
zDualChartType: ()=>zDualChartType,
|
|
107
|
+
zFoldInfo: ()=>zFoldInfo,
|
|
108
|
+
isPivotTable: ()=>isPivotTable,
|
|
109
|
+
zHistogram: ()=>zHistogram,
|
|
110
|
+
registerArea: ()=>registerArea,
|
|
111
|
+
AXIS_LABEL_SPACE: ()=>8,
|
|
112
|
+
zRoseConfig: ()=>zRoseConfig,
|
|
113
|
+
areaPercentSpecPipeline: ()=>areaPercentSpecPipeline,
|
|
117
114
|
darkTheme: ()=>darkTheme,
|
|
118
|
-
|
|
115
|
+
FoldYMeasureId: ()=>FoldYMeasureId,
|
|
116
|
+
selector: ()=>selector_selector,
|
|
117
|
+
zAnnotationHorizontalLine: ()=>zAnnotationHorizontalLine,
|
|
118
|
+
zDualChartType: ()=>zDualChartType,
|
|
119
119
|
ORIGINAL_DATA: ()=>ORIGINAL_DATA,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
FoldSecondaryMeasureValue: ()=>FoldSecondaryMeasureValue,
|
|
120
|
+
columnAdvancedPipeline: ()=>columnAdvancedPipeline,
|
|
121
|
+
FoldMeasureId: ()=>FoldMeasureId,
|
|
122
|
+
zBoxplot: ()=>zBoxplot,
|
|
123
|
+
MeasureName: ()=>MeasureName,
|
|
124
|
+
lightTheme: ()=>lightTheme,
|
|
126
125
|
zSort: ()=>zSort,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
FoldYMeasureId: ()=>FoldYMeasureId,
|
|
136
|
-
findMeasureById: ()=>findMeasureById,
|
|
137
|
-
AngleEncoding: ()=>AngleEncoding,
|
|
138
|
-
areaPercentAdvancedPipeline: ()=>areaPercentAdvancedPipeline,
|
|
139
|
-
findTreeNodesBy: ()=>findTreeNodesBy,
|
|
140
|
-
zAreaPercentConfig: ()=>zAreaPercentConfig,
|
|
141
|
-
zBackgroundColor: ()=>zBackgroundColor,
|
|
142
|
-
MeasureId: ()=>MeasureId,
|
|
143
|
-
registerRadar: ()=>registerRadar,
|
|
126
|
+
hasMultipleMeasureInSingleView: ()=>hasMultipleMeasureInSingleView,
|
|
127
|
+
columnParallelSpecPipeline: ()=>columnParallelSpecPipeline,
|
|
128
|
+
roseSpecPipeline: ()=>roseSpecPipeline,
|
|
129
|
+
columnSpecPipeline: ()=>columnSpecPipeline,
|
|
130
|
+
pivotTableSpecPipeline: ()=>pivotTableSpecPipeline,
|
|
131
|
+
BinCountMeasureId: ()=>BinCountMeasureId,
|
|
132
|
+
zYBandAxis: ()=>zYBandAxis,
|
|
133
|
+
registerRoseParallel: ()=>registerRoseParallel,
|
|
144
134
|
zLocale: ()=>zLocale,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
registerScatter: ()=>registerScatter,
|
|
149
|
-
boxplotSpecPipeline: ()=>boxplotSpecPipeline,
|
|
135
|
+
zHeatmap: ()=>zHeatmap,
|
|
136
|
+
isColumnPercent: ()=>isColumnPercent,
|
|
137
|
+
selectByMeasure: ()=>selectByMeasure,
|
|
150
138
|
autoNumFormatter: ()=>autoNumFormatter,
|
|
151
|
-
tableSpecPipeline: ()=>tableSpecPipeline,
|
|
152
139
|
zConfig: ()=>zConfig,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
isPivotTable: ()=>isPivotTable,
|
|
162
|
-
zDimensionEncoding: ()=>zDimensionEncoding,
|
|
163
|
-
registerPie: ()=>registerPie,
|
|
164
|
-
LowerWhisker: ()=>LowerWhisker,
|
|
165
|
-
zEcdfRegressionLine: ()=>zEcdfRegressionLine,
|
|
166
|
-
zBarParallelConfig: ()=>zBarParallelConfig,
|
|
167
|
-
lineAdvancedPipeline: ()=>lineAdvancedPipeline,
|
|
168
|
-
AXIS_LABEL_SPACE: ()=>8,
|
|
169
|
-
FoldMeasureValue: ()=>FoldMeasureValue,
|
|
140
|
+
zLinearRegressionLine: ()=>zLinearRegressionLine,
|
|
141
|
+
createNumFormatter: ()=>createNumFormatter,
|
|
142
|
+
DEFAULT_PARENT_ID: ()=>DEFAULT_PARENT_ID,
|
|
143
|
+
isPivotChart: ()=>isPivotChart,
|
|
144
|
+
zPolynomialRegressionLine: ()=>zPolynomialRegressionLine,
|
|
145
|
+
zTableConfig: ()=>zTableConfig,
|
|
146
|
+
findFirstMeasure: ()=>findFirstMeasure,
|
|
147
|
+
isValueSelector: ()=>isValueSelector,
|
|
170
148
|
zFunnel: ()=>zFunnel,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
columnPercentSpecPipeline: ()=>columnPercentSpecPipeline,
|
|
149
|
+
zChartType: ()=>zChartType,
|
|
150
|
+
registerColumnParallel: ()=>registerColumnParallel,
|
|
151
|
+
isDimensionSelector: ()=>isDimensionSelector,
|
|
175
152
|
BAND_AXIS_INNER_OFFSET_IN_PIVOT: ()=>2,
|
|
176
|
-
|
|
177
|
-
isMeasureSelector: ()=>isMeasureSelector,
|
|
178
|
-
zBarConfig: ()=>zBarConfig,
|
|
179
|
-
areaAdvancedPipeline: ()=>areaAdvancedPipeline,
|
|
180
|
-
areaPercentSpecPipeline: ()=>areaPercentSpecPipeline,
|
|
181
|
-
barParallelSpecPipeline: ()=>barParallelSpecPipeline,
|
|
182
|
-
zPie: ()=>zPie,
|
|
153
|
+
isBarPercent: ()=>isBarPercent,
|
|
183
154
|
zBar: ()=>zBar,
|
|
184
|
-
|
|
185
|
-
|
|
155
|
+
zColorLegend: ()=>zColorLegend,
|
|
156
|
+
zColumnConfig: ()=>zColumnConfig,
|
|
157
|
+
zPie: ()=>zPie,
|
|
186
158
|
isTable: ()=>isTable,
|
|
187
|
-
zBarMaxWidth: ()=>zBarMaxWidth,
|
|
188
159
|
zDonut: ()=>zDonut,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
160
|
+
registerPie: ()=>registerPie,
|
|
161
|
+
ColorIdEncoding: ()=>ColorIdEncoding,
|
|
162
|
+
zColumnPercentConfig: ()=>zColumnPercentConfig,
|
|
163
|
+
roseParallelAdvancedPipeline: ()=>roseParallelAdvancedPipeline,
|
|
164
|
+
zWhiskersConfig: ()=>zWhiskersConfig,
|
|
165
|
+
zBackgroundColor: ()=>zBackgroundColor,
|
|
166
|
+
EncodingEnum: ()=>EncodingEnum,
|
|
196
167
|
zScatterMeasures: ()=>zScatterMeasures,
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
168
|
+
foldMeasures: ()=>foldMeasures,
|
|
169
|
+
DUAL_AXIS_LABEL_Z_INDEX: ()=>1002,
|
|
170
|
+
zAnnotationPoint: ()=>zAnnotationPoint,
|
|
171
|
+
zPivotTable: ()=>zPivotTable,
|
|
172
|
+
OutliersMeasureId: ()=>OutliersMeasureId,
|
|
173
|
+
barParallelSpecPipeline: ()=>barParallelSpecPipeline,
|
|
174
|
+
scatterSpecPipeline: ()=>scatterSpecPipeline,
|
|
203
175
|
Separator: ()=>"-",
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
EncodingEnum: ()=>EncodingEnum,
|
|
209
|
-
preorderTraverse: ()=>preorderTraverse,
|
|
210
|
-
roseParallelSpecPipeline: ()=>roseParallelSpecPipeline,
|
|
176
|
+
barSpecPipeline: ()=>barSpecPipeline,
|
|
177
|
+
measureDepth: ()=>measureDepth,
|
|
178
|
+
registerBar: ()=>registerBar,
|
|
179
|
+
updateSpec: ()=>updateSpec,
|
|
211
180
|
registerHistogram: ()=>registerHistogram,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
181
|
+
Q1MeasureValue: ()=>"__Q1__",
|
|
182
|
+
lineAdvancedPipeline: ()=>lineAdvancedPipeline,
|
|
183
|
+
zRadarConfig: ()=>zRadarConfig,
|
|
184
|
+
zRoseParallelConfig: ()=>zRoseParallelConfig,
|
|
185
|
+
isMeasureSelector: ()=>isMeasureSelector,
|
|
186
|
+
areaPercentAdvancedPipeline: ()=>areaPercentAdvancedPipeline,
|
|
187
|
+
zAreaStyle: ()=>zAreaStyle,
|
|
188
|
+
zKdeRegressionLine: ()=>zKdeRegressionLine,
|
|
189
|
+
zTooltip: ()=>zTooltip,
|
|
190
|
+
zAreaPercentConfig: ()=>zAreaPercentConfig,
|
|
191
|
+
zPivotChartGridConfig: ()=>zPivotChartGridConfig,
|
|
192
|
+
zMarkStyle: ()=>zMarkStyle,
|
|
193
|
+
zPointStyle: ()=>zPointStyle,
|
|
194
|
+
areaAdvancedPipeline: ()=>areaAdvancedPipeline,
|
|
195
|
+
zBoxPlotStyle: ()=>zBoxPlotStyle,
|
|
196
|
+
DUAL_AXIS_CHART_NON_COLUMN_Z_INDEX: ()=>1001,
|
|
197
|
+
zBarMaxWidth: ()=>zBarMaxWidth,
|
|
221
198
|
zColumnParallelConfig: ()=>zColumnParallelConfig,
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
199
|
+
BinStartMeasureId: ()=>BinStartMeasureId,
|
|
200
|
+
MeasureEncodingEnum: ()=>MeasureEncodingEnum,
|
|
201
|
+
ColorEncoding: ()=>ColorEncoding,
|
|
202
|
+
zLowessRegressionLine: ()=>zLowessRegressionLine,
|
|
203
|
+
heatmapAdvancedPipeline: ()=>heatmapAdvancedPipeline,
|
|
204
|
+
tableSpecPipeline: ()=>tableSpecPipeline,
|
|
205
|
+
zEncoding: ()=>zEncoding,
|
|
206
|
+
zAreaConfig: ()=>zAreaConfig,
|
|
207
|
+
registerAll: ()=>registerAll,
|
|
208
|
+
dataReshapeByEncoding: ()=>dataReshapeByEncoding,
|
|
209
|
+
dualAxisSpecPipeline: ()=>dualAxisSpecPipeline,
|
|
210
|
+
unfoldDimensions: ()=>unfoldDimensions,
|
|
211
|
+
zArea: ()=>zArea,
|
|
212
|
+
registerBoxplot: ()=>registerBoxplot,
|
|
213
|
+
histogramAdvancedPipeline: ()=>histogramAdvancedPipeline,
|
|
214
|
+
registerDarkTheme: ()=>registerDarkTheme,
|
|
215
|
+
ChartTypeEnum: ()=>ChartTypeEnum,
|
|
216
|
+
zDualMeasures: ()=>zDualMeasures,
|
|
217
|
+
FoldMeasureValue: ()=>FoldMeasureValue,
|
|
218
|
+
isVChart: ()=>isVChart,
|
|
227
219
|
zTheme: ()=>zTheme,
|
|
220
|
+
autoFormatter: ()=>autoFormatter,
|
|
228
221
|
zDatum: ()=>zDatum,
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
registerColumnPercent: ()=>registerColumnPercent,
|
|
232
|
-
registerHeatmap: ()=>registerHeatmap,
|
|
233
|
-
isBarPercent: ()=>isBarPercent,
|
|
222
|
+
radarSpecPipeline: ()=>radarSpecPipeline,
|
|
223
|
+
zDimensionTree: ()=>zDimensionTree,
|
|
234
224
|
checkVSeed: ()=>checkVSeed,
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
225
|
+
zDimensionEncoding: ()=>zDimensionEncoding,
|
|
226
|
+
zBodyCellStyle: ()=>zBodyCellStyle,
|
|
227
|
+
barAdvancedPipeline: ()=>barAdvancedPipeline,
|
|
228
|
+
DUAL_AXIS_CHART_COLUMN_Z_INDEX: ()=>1000,
|
|
229
|
+
isCombination: ()=>isCombination,
|
|
230
|
+
areaSpecPipeline: ()=>areaSpecPipeline,
|
|
231
|
+
zAnnotationPointConfig: ()=>zAnnotationPointConfig,
|
|
240
232
|
registerPivotTable: ()=>registerPivotTable,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
233
|
+
execPipeline: ()=>execPipeline,
|
|
234
|
+
XEncoding: ()=>XEncoding,
|
|
235
|
+
zLineStyle: ()=>zLineStyle,
|
|
236
|
+
zRegressionLine: ()=>zRegressionLine,
|
|
237
|
+
findMeasureById: ()=>findMeasureById,
|
|
238
|
+
tableAdvancedPipeline: ()=>tableAdvancedPipeline,
|
|
239
|
+
zDimensionGroup: ()=>zDimensionGroup,
|
|
248
240
|
Builder: ()=>Builder,
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
241
|
+
zScatterMeasure: ()=>zScatterMeasure,
|
|
242
|
+
selectByValue: ()=>selectByValue,
|
|
243
|
+
MeasureId: ()=>MeasureId,
|
|
244
|
+
registerBarParallel: ()=>registerBarParallel,
|
|
245
|
+
zAnnotationVerticalLine: ()=>zAnnotationVerticalLine,
|
|
246
|
+
zMeasureTree: ()=>zMeasureTree,
|
|
247
|
+
registerDonut: ()=>registerDonut,
|
|
248
|
+
findTreeNodesBy: ()=>findTreeNodesBy,
|
|
252
249
|
zRadar: ()=>zRadar,
|
|
253
250
|
zTable: ()=>zTable,
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
createNumFormatter: ()=>createNumFormatter,
|
|
251
|
+
zAnnotation: ()=>zAnnotation,
|
|
252
|
+
zXBandAxis: ()=>zXBandAxis,
|
|
253
|
+
pieAdvancedPipeline: ()=>pieAdvancedPipeline,
|
|
254
|
+
ANNOTATION_Z_INDEX: ()=>1000,
|
|
255
|
+
zColumnPercent: ()=>zColumnPercent,
|
|
256
|
+
createFormatter: ()=>createFormatter,
|
|
257
|
+
columnPercentSpecPipeline: ()=>columnPercentSpecPipeline,
|
|
258
|
+
zSelector: ()=>zSelector,
|
|
259
|
+
registerHeatmap: ()=>registerHeatmap,
|
|
260
|
+
zMeasures: ()=>zMeasures,
|
|
265
261
|
zLine: ()=>zLine,
|
|
266
|
-
|
|
267
|
-
|
|
262
|
+
FoldMeasureName: ()=>FoldMeasureName,
|
|
263
|
+
pieSpecPipeline: ()=>pieSpecPipeline,
|
|
264
|
+
zBarGapInGroup: ()=>zBarGapInGroup,
|
|
265
|
+
barPercentSpecPipeline: ()=>barPercentSpecPipeline,
|
|
266
|
+
zColumnParallel: ()=>zColumnParallel,
|
|
268
267
|
zDatasetReshapeInfo: ()=>zDatasetReshapeInfo,
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
zAreaStyle: ()=>zAreaStyle,
|
|
272
|
-
BinEndMeasureId: ()=>BinEndMeasureId,
|
|
273
|
-
zAnnotationArea: ()=>zAnnotationArea,
|
|
274
|
-
DetailEncoding: ()=>DetailEncoding,
|
|
268
|
+
zAnalysis: ()=>zAnalysis,
|
|
269
|
+
heatmapSpecPipeline: ()=>heatmapSpecPipeline,
|
|
275
270
|
isPivot: ()=>chatType_isPivot,
|
|
276
|
-
|
|
277
|
-
zDimension: ()=>zDimension,
|
|
278
|
-
lightTheme: ()=>lightTheme,
|
|
279
|
-
registerColumnParallel: ()=>registerColumnParallel,
|
|
271
|
+
registerColumn: ()=>registerColumn,
|
|
280
272
|
updateAdvanced: ()=>updateAdvanced,
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
273
|
+
zDimensionLinkage: ()=>zDimensionLinkage,
|
|
274
|
+
preorderTraverse: ()=>preorderTraverse,
|
|
275
|
+
deleteMeasureTreeByCallback: ()=>deleteMeasureTreeByCallback,
|
|
276
|
+
registerLightTheme: ()=>registerLightTheme,
|
|
277
|
+
isMeasure: ()=>isMeasure,
|
|
278
|
+
FoldYMeasureValue: ()=>FoldYMeasureValue,
|
|
279
|
+
LowerWhisker: ()=>LowerWhisker,
|
|
280
|
+
isMeasureGroup: ()=>isMeasureGroup,
|
|
281
|
+
registerBarPercent: ()=>registerBarPercent,
|
|
282
|
+
funnelSpecPipeline: ()=>funnelSpecPipeline,
|
|
283
|
+
zColumn: ()=>zColumn,
|
|
290
284
|
radarAdvancedPipeline: ()=>radarAdvancedPipeline,
|
|
285
|
+
zBarParallelConfig: ()=>zBarParallelConfig,
|
|
286
|
+
zAnnotationConfig: ()=>zAnnotationConfig,
|
|
287
|
+
registerCustomTheme: ()=>registerCustomTheme,
|
|
288
|
+
zVSeed: ()=>zVSeed,
|
|
289
|
+
registerLine: ()=>registerLine,
|
|
290
|
+
zDualMeasure: ()=>zDualMeasure,
|
|
291
|
+
zLinearColor: ()=>zLinearColor,
|
|
292
|
+
zFunnelTransform: ()=>zFunnelTransform,
|
|
293
|
+
barParallelAdvancedPipeline: ()=>barParallelAdvancedPipeline,
|
|
291
294
|
registerDualAxis: ()=>registerDualAxis,
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
zEncoding: ()=>zEncoding,
|
|
300
|
-
ColorEncoding: ()=>ColorEncoding,
|
|
301
|
-
measureDepth: ()=>measureDepth,
|
|
302
|
-
BinCountMeasureId: ()=>BinCountMeasureId,
|
|
303
|
-
zAdvancedVSeed: ()=>zAdvancedVSeed,
|
|
295
|
+
zAnnotationHorizontalLineConfig: ()=>zAnnotationHorizontalLineConfig,
|
|
296
|
+
registerFunnel: ()=>registerFunnel,
|
|
297
|
+
histogramSpecPipeline: ()=>histogramSpecPipeline,
|
|
298
|
+
roseAdvancedPipeline: ()=>roseAdvancedPipeline,
|
|
299
|
+
zNumFormat: ()=>zNumFormat,
|
|
300
|
+
zBarConfig: ()=>zBarConfig,
|
|
301
|
+
registerScatter: ()=>registerScatter,
|
|
304
302
|
zAreaPercent: ()=>zAreaPercent,
|
|
305
|
-
|
|
306
|
-
donutAdvancedPipeline: ()=>donutAdvancedPipeline,
|
|
307
|
-
zScatter: ()=>zScatter,
|
|
308
|
-
zScatterConfig: ()=>zScatterConfig,
|
|
309
|
-
zTooltip: ()=>zTooltip,
|
|
303
|
+
isDimension: ()=>isDimension,
|
|
310
304
|
isBarLikeChart: ()=>isBarLikeChart,
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
305
|
+
columnParallelAdvancedPipeline: ()=>columnParallelAdvancedPipeline,
|
|
306
|
+
deleteDimensionTreeByCallback: ()=>deleteDimensionTreeByCallback,
|
|
307
|
+
zPieLabel: ()=>zPieLabel,
|
|
308
|
+
zStackCornerRadius: ()=>zStackCornerRadius,
|
|
309
|
+
zDualAxisConfig: ()=>zDualAxisConfig,
|
|
310
|
+
columnPercentAdvancedPipeline: ()=>columnPercentAdvancedPipeline,
|
|
311
|
+
barPercentAdvancedPipeline: ()=>barPercentAdvancedPipeline,
|
|
312
|
+
DimensionEncodingEnum: ()=>DimensionEncodingEnum,
|
|
313
|
+
zDonutConfig: ()=>zDonutConfig,
|
|
314
|
+
funnelAdvancedPipeline: ()=>funnelAdvancedPipeline,
|
|
315
|
+
zDataset: ()=>zDataset,
|
|
316
|
+
zLogisticRegressionLine: ()=>zLogisticRegressionLine,
|
|
317
|
+
createFormatterByMeasure: ()=>createFormatterByMeasure,
|
|
318
|
+
zBoxGapInGroup: ()=>zBoxGapInGroup,
|
|
319
|
+
isPartialDatumSelector: ()=>isPartialDatumSelector,
|
|
320
|
+
isMeasures: ()=>isMeasures,
|
|
321
|
+
YEncoding: ()=>YEncoding,
|
|
322
|
+
zScatter: ()=>zScatter
|
|
318
323
|
});
|
|
319
324
|
const execPipeline = (pipeline, context, initialValue = {})=>{
|
|
320
325
|
const result = pipeline.reduce((prev, cur)=>cur(prev, context), initialValue);
|
|
@@ -326,39 +331,39 @@
|
|
|
326
331
|
const translateMap = {
|
|
327
332
|
指标名称: {
|
|
328
333
|
'en-US': 'MeasureName',
|
|
329
|
-
'zh-CN':
|
|
334
|
+
'zh-CN': '指标名称'
|
|
330
335
|
},
|
|
331
336
|
指标Id: {
|
|
332
337
|
'en-US': 'MeasureId',
|
|
333
|
-
'zh-CN':
|
|
338
|
+
'zh-CN': '指标Id'
|
|
334
339
|
},
|
|
335
340
|
指标值: {
|
|
336
341
|
'en-US': 'MeasureValue',
|
|
337
|
-
'zh-CN':
|
|
342
|
+
'zh-CN': '指标值'
|
|
338
343
|
},
|
|
339
344
|
异常点: {
|
|
340
345
|
'en-US': 'Outlier',
|
|
341
|
-
'zh-CN':
|
|
346
|
+
'zh-CN': '异常点'
|
|
342
347
|
},
|
|
343
348
|
上边界: {
|
|
344
349
|
'en-US': 'Upper Whisker',
|
|
345
|
-
'zh-CN':
|
|
350
|
+
'zh-CN': '上边界'
|
|
346
351
|
},
|
|
347
352
|
上四分位数: {
|
|
348
353
|
'en-US': 'Q3',
|
|
349
|
-
'zh-CN':
|
|
354
|
+
'zh-CN': '75分位数'
|
|
350
355
|
},
|
|
351
356
|
中位数: {
|
|
352
357
|
'en-US': 'Q2',
|
|
353
|
-
'zh-CN':
|
|
358
|
+
'zh-CN': '中位数'
|
|
354
359
|
},
|
|
355
360
|
下四分位数: {
|
|
356
361
|
'en-US': 'Q1',
|
|
357
|
-
'zh-CN':
|
|
362
|
+
'zh-CN': '25分位数'
|
|
358
363
|
},
|
|
359
364
|
下边界: {
|
|
360
365
|
'en-US': 'Lower Whisker',
|
|
361
|
-
'zh-CN':
|
|
366
|
+
'zh-CN': '下边界'
|
|
362
367
|
}
|
|
363
368
|
};
|
|
364
369
|
class i18n_Intl {
|
|
@@ -881,6 +886,18 @@
|
|
|
881
886
|
});
|
|
882
887
|
return result;
|
|
883
888
|
};
|
|
889
|
+
const hasMultipleMeasureInSingleView = (measures = [])=>{
|
|
890
|
+
if (measures.every((m)=>!('children' in m))) return measures.length > 1;
|
|
891
|
+
let found = false;
|
|
892
|
+
preorderTraverse(measures, (node)=>{
|
|
893
|
+
if (node.children && node.children.length > 1) {
|
|
894
|
+
found = true;
|
|
895
|
+
return true;
|
|
896
|
+
}
|
|
897
|
+
return false;
|
|
898
|
+
});
|
|
899
|
+
return found;
|
|
900
|
+
};
|
|
884
901
|
const defaultDimensions = (advancedVSeed, context)=>{
|
|
885
902
|
const result = {
|
|
886
903
|
...advancedVSeed
|
|
@@ -1181,7 +1198,7 @@
|
|
|
1181
1198
|
typeSymbol = '%';
|
|
1182
1199
|
} else if ('permille' === type) {
|
|
1183
1200
|
num *= 1000;
|
|
1184
|
-
typeSymbol =
|
|
1201
|
+
typeSymbol = '‰';
|
|
1185
1202
|
} else if ('number' === type) num /= ratio || 1;
|
|
1186
1203
|
let numStr = numFormatter.format(num);
|
|
1187
1204
|
if (thousandSeparator) {
|
|
@@ -1398,9 +1415,9 @@
|
|
|
1398
1415
|
};
|
|
1399
1416
|
return result;
|
|
1400
1417
|
};
|
|
1401
|
-
const
|
|
1402
|
-
const
|
|
1403
|
-
const isArray_isArray = (value)=>Array.isArray ? Array.isArray(value) :
|
|
1418
|
+
const isType = (value, type)=>Object.prototype.toString.call(value) === `[object ${type}]`;
|
|
1419
|
+
const common_isType = isType;
|
|
1420
|
+
const isArray_isArray = (value)=>Array.isArray ? Array.isArray(value) : common_isType(value, "Array");
|
|
1404
1421
|
const common_isArray = isArray_isArray;
|
|
1405
1422
|
const isValid = (value)=>null != value;
|
|
1406
1423
|
const common_isValid = isValid;
|
|
@@ -2135,7 +2152,7 @@
|
|
|
2135
2152
|
if (measures && measures.length > 0) {
|
|
2136
2153
|
const clonedMeasures = chunk_BCBB46UE_d(measures);
|
|
2137
2154
|
preorderTraverse(clonedMeasures, (node)=>{
|
|
2138
|
-
|
|
2155
|
+
node.alias = node.alias || node.id;
|
|
2139
2156
|
return false;
|
|
2140
2157
|
});
|
|
2141
2158
|
return {
|
|
@@ -2308,15 +2325,18 @@
|
|
|
2308
2325
|
const parent = measureTree.find((item)=>item.id === measure.parentId);
|
|
2309
2326
|
if (parent && 'children' in parent) {
|
|
2310
2327
|
parent.children = parent.children || [];
|
|
2328
|
+
if (parent.children.length > 0) parent.alias += `-${measure.alias ?? measure.id}`;
|
|
2311
2329
|
parent.children.push(measure);
|
|
2312
|
-
} else if (measure.parentId) measureTree.push({
|
|
2330
|
+
} else if (common_isValid(measure.parentId)) measureTree.push({
|
|
2313
2331
|
id: measure.parentId,
|
|
2332
|
+
alias: measure.alias ?? measure.id,
|
|
2314
2333
|
children: [
|
|
2315
2334
|
measure
|
|
2316
2335
|
]
|
|
2317
2336
|
});
|
|
2318
2337
|
else measureTree.push({
|
|
2319
2338
|
id: DEFAULT_PARENT_ID,
|
|
2339
|
+
alias: measure.alias ?? measure.id,
|
|
2320
2340
|
children: [
|
|
2321
2341
|
measure
|
|
2322
2342
|
]
|
|
@@ -2595,7 +2615,7 @@
|
|
|
2595
2615
|
omitIds: allMeasures.map((item)=>item.id)
|
|
2596
2616
|
});
|
|
2597
2617
|
const reshapeInfo = {
|
|
2598
|
-
id: groupId
|
|
2618
|
+
id: `${groupId}`,
|
|
2599
2619
|
index,
|
|
2600
2620
|
foldInfo,
|
|
2601
2621
|
unfoldInfo
|
|
@@ -2707,7 +2727,9 @@
|
|
|
2707
2727
|
'barStyle',
|
|
2708
2728
|
'pointStyle',
|
|
2709
2729
|
'lineStyle',
|
|
2710
|
-
'areaStyle'
|
|
2730
|
+
'areaStyle',
|
|
2731
|
+
'boxPlotStyle',
|
|
2732
|
+
'outlierStyle'
|
|
2711
2733
|
]);
|
|
2712
2734
|
const markStyle = replaceNullToUndefined(pickedMarkStyle);
|
|
2713
2735
|
return {
|
|
@@ -4287,15 +4309,15 @@
|
|
|
4287
4309
|
};
|
|
4288
4310
|
const isNumber = (value, fuzzy = !1)=>{
|
|
4289
4311
|
const type = typeof value;
|
|
4290
|
-
return fuzzy ? "number" === type : "number" === type ||
|
|
4312
|
+
return fuzzy ? "number" === type : "number" === type || common_isType(value, "Number");
|
|
4291
4313
|
};
|
|
4292
4314
|
const common_isNumber = isNumber;
|
|
4293
4315
|
const isNil = (value)=>null == value;
|
|
4294
4316
|
const common_isNil = isNil;
|
|
4295
|
-
const
|
|
4317
|
+
const clamp = function(input, min, max) {
|
|
4296
4318
|
return input < min ? min : input > max ? max : input;
|
|
4297
4319
|
};
|
|
4298
|
-
const
|
|
4320
|
+
const common_clamp = clamp;
|
|
4299
4321
|
function hslToRgb(h, s, l) {
|
|
4300
4322
|
s /= 100, l /= 100;
|
|
4301
4323
|
const c = (1 - Math.abs(2 * l - 1)) * s, x = c * (1 - Math.abs(h / 60 % 2 - 1)), m = l - c / 2;
|
|
@@ -4568,7 +4590,7 @@
|
|
|
4568
4590
|
return .5 * (Math.max(this.color.r, this.color.g, this.color.b) / 255 + Math.min(this.color.r, this.color.g, this.color.b) / 255);
|
|
4569
4591
|
}
|
|
4570
4592
|
setHsl(h, s, l) {
|
|
4571
|
-
const opacity = this.color.opacity, hsl = rgbToHsl(this.color.r, this.color.g, this.color.b), rgb = hslToRgb(common_isNil(h) ? hsl.h :
|
|
4593
|
+
const opacity = this.color.opacity, hsl = rgbToHsl(this.color.r, this.color.g, this.color.b), rgb = hslToRgb(common_isNil(h) ? hsl.h : common_clamp(h, 0, 360), common_isNil(s) ? hsl.s : s >= 0 && s <= 1 ? 100 * s : s, common_isNil(l) ? hsl.l : l <= 1 && l >= 0 ? 100 * l : l);
|
|
4572
4594
|
return this.color = new RGB(rgb.r, rgb.g, rgb.b, opacity), this;
|
|
4573
4595
|
}
|
|
4574
4596
|
setRGB(r, g, b) {
|
|
@@ -4849,10 +4871,10 @@
|
|
|
4849
4871
|
widthMode: 'standard',
|
|
4850
4872
|
autoFillWidth: true,
|
|
4851
4873
|
defaultHeaderColWidth: 'auto',
|
|
4852
|
-
defaultColWidth:
|
|
4874
|
+
defaultColWidth: 240,
|
|
4853
4875
|
heightMode: 'standard',
|
|
4854
4876
|
autoFillHeight: true,
|
|
4855
|
-
defaultRowHeight:
|
|
4877
|
+
defaultRowHeight: 180,
|
|
4856
4878
|
defaultHeaderRowHeight: 'auto',
|
|
4857
4879
|
indicatorsAsCol: false,
|
|
4858
4880
|
select: {
|
|
@@ -4907,7 +4929,7 @@
|
|
|
4907
4929
|
0 === arg.row ? outlineBorderLineWidth : 1,
|
|
4908
4930
|
outlineBorderLineWidth,
|
|
4909
4931
|
0,
|
|
4910
|
-
0 === arg.col || noYAxis && 1 === arg.col ? outlineBorderLineWidth : 1
|
|
4932
|
+
0 === arg.col || noYAxis && 1 === arg.col && arg.table.colCount <= 2 ? outlineBorderLineWidth : 1
|
|
4911
4933
|
];
|
|
4912
4934
|
},
|
|
4913
4935
|
bgColor: transparent,
|
|
@@ -5111,7 +5133,7 @@
|
|
|
5111
5133
|
const colorItems = chunk_QJLMYOTX_i(datasetReshapeInfo.flatMap((d)=>d.unfoldInfo.colorItems));
|
|
5112
5134
|
const allMeasureIds = chunk_QJLMYOTX_i(datasetReshapeInfo.flatMap((d)=>Object.keys(d.foldInfo.foldMap || {})));
|
|
5113
5135
|
const indicators = datasetReshapeInfo.map((reshapeInfo, index)=>{
|
|
5114
|
-
const measureGroup = measures?.find((d)
|
|
5136
|
+
const measureGroup = measures?.find((d)=>`${d.id}` === reshapeInfo.id);
|
|
5115
5137
|
const subMeasuresId = (measureGroup?.children || []).map((d)=>d.id);
|
|
5116
5138
|
const invalideMeasuresIds = allMeasureIds.filter((id)=>!subMeasuresId.includes(id));
|
|
5117
5139
|
const newDataset = dataset[index];
|
|
@@ -5139,7 +5161,7 @@
|
|
|
5139
5161
|
};
|
|
5140
5162
|
const chartSpec = execPipeline(chartPipeline, newContext, {});
|
|
5141
5163
|
return {
|
|
5142
|
-
indicatorKey: reshapeInfo.id
|
|
5164
|
+
indicatorKey: `${reshapeInfo.id}`,
|
|
5143
5165
|
title: measureGroup?.alias,
|
|
5144
5166
|
cellType: 'chart',
|
|
5145
5167
|
chartModule: 'vchart',
|
|
@@ -5214,6 +5236,8 @@
|
|
|
5214
5236
|
left: 2,
|
|
5215
5237
|
right: 2
|
|
5216
5238
|
};
|
|
5239
|
+
} else if ('linear' === axis.type) {
|
|
5240
|
+
if ('top' === axis.orient || 'bottom' === axis.orient) axis.label.flush = true;
|
|
5217
5241
|
}
|
|
5218
5242
|
});
|
|
5219
5243
|
}
|
|
@@ -5473,13 +5497,6 @@
|
|
|
5473
5497
|
legends
|
|
5474
5498
|
};
|
|
5475
5499
|
};
|
|
5476
|
-
const defaultScatterFormatter = (val)=>{
|
|
5477
|
-
if (chunk_JK3VNB42_n(val)) return '';
|
|
5478
|
-
if ('string' == typeof val) return val;
|
|
5479
|
-
if (0 === val) return '0';
|
|
5480
|
-
if (Math.abs(val) < 1) return val.toFixed(2);
|
|
5481
|
-
return val === Math.floor(val) ? `${val}` : val.toFixed(1);
|
|
5482
|
-
};
|
|
5483
5500
|
const dimensionLinkage = (spec, context)=>{
|
|
5484
5501
|
const { advancedVSeed, vseed } = context;
|
|
5485
5502
|
const { chartType } = vseed;
|
|
@@ -5489,18 +5506,24 @@
|
|
|
5489
5506
|
const labelHoverOnAxis = {};
|
|
5490
5507
|
const chartSpec = indicators?.[0]?.chartSpec;
|
|
5491
5508
|
const crosshair = chartSpec?.crosshair;
|
|
5492
|
-
if (crosshair?.xField)
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5509
|
+
if (crosshair?.xField) {
|
|
5510
|
+
const labelFormat = crosshair.xField.label?.formatMethod;
|
|
5511
|
+
labelHoverOnAxis.bottom = {
|
|
5512
|
+
visible: config.showLabel ?? crosshair.xField.label?.visible ?? true,
|
|
5513
|
+
background: crosshair.xField.label?.labelBackground,
|
|
5514
|
+
textStyle: crosshair.xField.label?.style,
|
|
5515
|
+
formatMethod: labelFormat ? (text)=>text || 0 === text ? labelFormat(text) : null : void 0
|
|
5516
|
+
};
|
|
5517
|
+
}
|
|
5518
|
+
if (crosshair?.yField) {
|
|
5519
|
+
const labelFormat = crosshair.yField.label?.formatMethod;
|
|
5520
|
+
labelHoverOnAxis.left = {
|
|
5521
|
+
visible: config.showLabel ?? crosshair.yField.label?.visible ?? true,
|
|
5522
|
+
background: crosshair.yField.label?.labelBackground,
|
|
5523
|
+
textStyle: crosshair.yField.label?.style,
|
|
5524
|
+
formatMethod: labelFormat ? (text)=>text || 0 === text ? labelFormat(text) : null : void 0
|
|
5525
|
+
};
|
|
5526
|
+
}
|
|
5504
5527
|
if (indicators && indicators.length) indicators.forEach((ind)=>{
|
|
5505
5528
|
const crosshair = ind?.chartSpec?.crosshair;
|
|
5506
5529
|
if (crosshair?.xField) crosshair.xField.label = {
|
|
@@ -5772,13 +5795,11 @@
|
|
|
5772
5795
|
const { advancedVSeed, vseed } = context;
|
|
5773
5796
|
const { chartType } = vseed;
|
|
5774
5797
|
const stackCornerRadius = advancedVSeed.config?.[chartType]?.stackCornerRadius;
|
|
5775
|
-
const { datasetReshapeInfo } = advancedVSeed;
|
|
5776
|
-
const { foldInfo } = datasetReshapeInfo[0];
|
|
5777
5798
|
if ('dualAxis' === chartType && 'bar' !== spec.type) return spec;
|
|
5778
5799
|
return {
|
|
5779
5800
|
...spec,
|
|
5780
5801
|
stackCornerRadius: (_, datum)=>{
|
|
5781
|
-
if (datum[
|
|
5802
|
+
if (datum && datum[datum[FoldMeasureId]] > 0) return stackCornerRadius;
|
|
5782
5803
|
return 0;
|
|
5783
5804
|
}
|
|
5784
5805
|
};
|
|
@@ -5821,7 +5842,7 @@
|
|
|
5821
5842
|
type: 'rect',
|
|
5822
5843
|
style: {
|
|
5823
5844
|
lineWidth: 0,
|
|
5824
|
-
opacity: 0.
|
|
5845
|
+
opacity: 0.26,
|
|
5825
5846
|
fill: rectColor
|
|
5826
5847
|
}
|
|
5827
5848
|
},
|
|
@@ -6353,6 +6374,7 @@
|
|
|
6353
6374
|
return points[points.length - 1]?.y;
|
|
6354
6375
|
}
|
|
6355
6376
|
};
|
|
6377
|
+
const getAlphaByConfidenceLevel = (confidenceLevel = 0.95)=>1 - Math.max(Math.min(1, confidenceLevel), 0);
|
|
6356
6378
|
const columnPolynomialRegressionLine = (spec, context)=>{
|
|
6357
6379
|
const result = {
|
|
6358
6380
|
...spec
|
|
@@ -6366,7 +6388,7 @@
|
|
|
6366
6388
|
lineList.forEach((line, lineIndex)=>{
|
|
6367
6389
|
if (false === line.enable) return;
|
|
6368
6390
|
const theme = lineTheme.linearRegressionLine ?? {};
|
|
6369
|
-
const { color, lineWidth, lineDash, text, textColor, textFontSize, textFontWeight, confidenceIntervalOpacity, confidenceIntervalVisible = theme.confidenceIntervalVisible } = line;
|
|
6391
|
+
const { color, lineWidth, lineDash, text, textColor, textFontSize, textFontWeight, confidenceIntervalOpacity, confidenceLevel = 0.95, confidenceIntervalVisible = theme.confidenceIntervalVisible } = line;
|
|
6370
6392
|
const childrenMarks = [];
|
|
6371
6393
|
result.extensionMark.push({
|
|
6372
6394
|
type: 'group',
|
|
@@ -6387,7 +6409,9 @@
|
|
|
6387
6409
|
const fieldX = s.fieldX?.[0];
|
|
6388
6410
|
const fieldY = s.fieldY?.[0];
|
|
6389
6411
|
const xValues = s.getRawDataStatisticsByField(fieldX).values;
|
|
6390
|
-
|
|
6412
|
+
const degree = line.degree ?? 2;
|
|
6413
|
+
const minPoints = degree + 1;
|
|
6414
|
+
if (!fieldX || !fieldY || !data || data.length < minPoints || xValues.length < minPoints) return null;
|
|
6391
6415
|
const { confidenceInterval, evaluateGrid } = regressionPolynomial(xValues.map((xVal, index)=>{
|
|
6392
6416
|
const filteredData = data.filter((d)=>d[fieldX] === xVal);
|
|
6393
6417
|
return {
|
|
@@ -6395,7 +6419,8 @@
|
|
|
6395
6419
|
y: Math.max(...filteredData.map((d)=>d[fieldY]))
|
|
6396
6420
|
};
|
|
6397
6421
|
}), void 0, void 0, {
|
|
6398
|
-
degree: line.degree ?? 2
|
|
6422
|
+
degree: line.degree ?? 2,
|
|
6423
|
+
alpha: getAlphaByConfidenceLevel(confidenceLevel)
|
|
6399
6424
|
});
|
|
6400
6425
|
const N = xValues.length;
|
|
6401
6426
|
const xAxisHelper = s.getXAxisHelper();
|
|
@@ -6476,6 +6501,7 @@
|
|
|
6476
6501
|
interactive: false,
|
|
6477
6502
|
zIndex: 500,
|
|
6478
6503
|
dataId: spec.data?.id,
|
|
6504
|
+
dataKey: ()=>`polynomialRegressionLine-label-${lineIndex}`,
|
|
6479
6505
|
style: {
|
|
6480
6506
|
textAlign: 'end',
|
|
6481
6507
|
fill: textColor ?? theme.textColor,
|
|
@@ -7245,7 +7271,7 @@
|
|
|
7245
7271
|
type: 'rect',
|
|
7246
7272
|
style: {
|
|
7247
7273
|
lineWidth: 0,
|
|
7248
|
-
opacity: 0.
|
|
7274
|
+
opacity: 0.26,
|
|
7249
7275
|
fill: rectColor
|
|
7250
7276
|
}
|
|
7251
7277
|
},
|
|
@@ -8602,7 +8628,7 @@
|
|
|
8602
8628
|
}
|
|
8603
8629
|
};
|
|
8604
8630
|
}
|
|
8605
|
-
const generateRegressionLinePipe = (type, regressionFunction, getOptions = getDefaultRegressionOptions)=>(spec, context)=>{
|
|
8631
|
+
const generateRegressionLinePipe = (type, regressionFunction, getOptions = getDefaultRegressionOptions, getMinPoints = ()=>2)=>(spec, context)=>{
|
|
8606
8632
|
const result = {
|
|
8607
8633
|
...spec
|
|
8608
8634
|
};
|
|
@@ -8643,7 +8669,8 @@
|
|
|
8643
8669
|
if (!groups.length) groups.push(void 0);
|
|
8644
8670
|
groups.forEach((group)=>{
|
|
8645
8671
|
const groupData = data.filter((d)=>d[colorAttrOptions?.field] === group);
|
|
8646
|
-
|
|
8672
|
+
const minPoints = getMinPoints(line);
|
|
8673
|
+
if (groupData.length < minPoints) return;
|
|
8647
8674
|
const { confidenceInterval, evaluateGrid } = regressionFunction(groupData, (datum)=>datum?.[fieldX], (datum)=>datum?.[fieldY], getOptions?.(line));
|
|
8648
8675
|
const N = Math.max(3, Math.floor(groupData.length / 4));
|
|
8649
8676
|
const mainColor = color ?? colorAttrOptions?.scale?.scale(group);
|
|
@@ -8757,6 +8784,7 @@
|
|
|
8757
8784
|
zIndex: 500,
|
|
8758
8785
|
animation: false,
|
|
8759
8786
|
dataId: spec.data?.id,
|
|
8787
|
+
dataKey: ()=>`regressionLine-label-${lineIndex}`,
|
|
8760
8788
|
style: {
|
|
8761
8789
|
textAlign: 'end',
|
|
8762
8790
|
fill: textColor ?? theme.textColor,
|
|
@@ -8782,16 +8810,19 @@
|
|
|
8782
8810
|
});
|
|
8783
8811
|
return result;
|
|
8784
8812
|
};
|
|
8785
|
-
const getDefaultRegressionOptions = (lineConfig)=>
|
|
8786
|
-
|
|
8787
|
-
|
|
8788
|
-
|
|
8789
|
-
|
|
8813
|
+
const getDefaultRegressionOptions = (lineConfig)=>{
|
|
8814
|
+
const alpha = getAlphaByConfidenceLevel(lineConfig?.confidenceLevel);
|
|
8815
|
+
return {
|
|
8816
|
+
alpha
|
|
8817
|
+
};
|
|
8818
|
+
};
|
|
8819
|
+
const linearRegressionLine = generateRegressionLinePipe('linearRegressionLine', regressionLinear, getDefaultRegressionOptions);
|
|
8820
|
+
const lowessRegressionLine = generateRegressionLinePipe('lowessRegressionLine', regressionLowess, getDefaultRegressionOptions);
|
|
8790
8821
|
const polynomialRegressionLine = generateRegressionLinePipe('polynomialRegressionLine', regressionPolynomial, (lineConfig)=>({
|
|
8791
8822
|
...getDefaultRegressionOptions(lineConfig),
|
|
8792
8823
|
degree: lineConfig.degree ?? 2
|
|
8793
|
-
}));
|
|
8794
|
-
const logisticRegressionLine = generateRegressionLinePipe('logisticRegressionLine', regressionLogistic);
|
|
8824
|
+
}), (lineConfig)=>(lineConfig.degree ?? 2) + 1);
|
|
8825
|
+
const logisticRegressionLine = generateRegressionLinePipe('logisticRegressionLine', regressionLogistic, getDefaultRegressionOptions);
|
|
8795
8826
|
const scatter = [
|
|
8796
8827
|
initScatter,
|
|
8797
8828
|
colorAdapter(color_color, linearColor),
|
|
@@ -8842,7 +8873,9 @@
|
|
|
8842
8873
|
annotationHorizontalLine_annotationHorizontalLine,
|
|
8843
8874
|
annotationArea_annotationArea,
|
|
8844
8875
|
linearRegressionLine,
|
|
8845
|
-
lowessRegressionLine
|
|
8876
|
+
lowessRegressionLine,
|
|
8877
|
+
polynomialRegressionLine,
|
|
8878
|
+
logisticRegressionLine
|
|
8846
8879
|
]),
|
|
8847
8880
|
pivotRowDimensions,
|
|
8848
8881
|
pivotColumnDimensions,
|
|
@@ -9528,7 +9561,6 @@
|
|
|
9528
9561
|
const foldInfoList = datasetReshapeInfo[0].foldInfoList;
|
|
9529
9562
|
const unfoldInfo = datasetReshapeInfo[0].unfoldInfo;
|
|
9530
9563
|
result.tooltip = {
|
|
9531
|
-
style: getTooltipStyle(tooltip),
|
|
9532
9564
|
visible: enable,
|
|
9533
9565
|
mark: {
|
|
9534
9566
|
title: {
|
|
@@ -9576,6 +9608,37 @@
|
|
|
9576
9608
|
};
|
|
9577
9609
|
return result;
|
|
9578
9610
|
};
|
|
9611
|
+
const tooltipDualAxis = (spec, context)=>{
|
|
9612
|
+
const result = {
|
|
9613
|
+
...spec
|
|
9614
|
+
};
|
|
9615
|
+
const { advancedVSeed } = context;
|
|
9616
|
+
const { chartType } = advancedVSeed;
|
|
9617
|
+
const baseConfig = advancedVSeed.config[chartType];
|
|
9618
|
+
const { tooltip = {
|
|
9619
|
+
enable: true
|
|
9620
|
+
} } = baseConfig;
|
|
9621
|
+
result.tooltip = {
|
|
9622
|
+
style: getTooltipStyle(tooltip)
|
|
9623
|
+
};
|
|
9624
|
+
return result;
|
|
9625
|
+
};
|
|
9626
|
+
const barStyleFilter = (pipe)=>(spec, context)=>{
|
|
9627
|
+
if ('bar' === spec.type) return pipe(spec, context);
|
|
9628
|
+
return spec;
|
|
9629
|
+
};
|
|
9630
|
+
const pointStyleFilter = (pipe)=>(spec, context)=>{
|
|
9631
|
+
if ('line' === spec.type || 'area' === spec.type) return pipe(spec, context);
|
|
9632
|
+
return spec;
|
|
9633
|
+
};
|
|
9634
|
+
const lineStyleFilter = (pipe)=>(spec, context)=>{
|
|
9635
|
+
if ('line' === spec.type) return pipe(spec, context);
|
|
9636
|
+
return spec;
|
|
9637
|
+
};
|
|
9638
|
+
const areaStyleFilter = (pipe)=>(spec, context)=>{
|
|
9639
|
+
if ('area' === spec.type) return pipe(spec, context);
|
|
9640
|
+
return spec;
|
|
9641
|
+
};
|
|
9579
9642
|
const yLinearPrimary = (spec, context)=>{
|
|
9580
9643
|
const result = {
|
|
9581
9644
|
...spec
|
|
@@ -9791,21 +9854,21 @@
|
|
|
9791
9854
|
};
|
|
9792
9855
|
const isObjectLike = (value)=>"object" == typeof value && null !== value;
|
|
9793
9856
|
const common_isObjectLike = isObjectLike;
|
|
9794
|
-
const
|
|
9795
|
-
if (!common_isObjectLike(value) || !
|
|
9857
|
+
const isPlainObject = function(value) {
|
|
9858
|
+
if (!common_isObjectLike(value) || !common_isType(value, "Object")) return !1;
|
|
9796
9859
|
if (null === Object.getPrototypeOf(value)) return !0;
|
|
9797
9860
|
let proto = value;
|
|
9798
9861
|
for(; null !== Object.getPrototypeOf(proto);)proto = Object.getPrototypeOf(proto);
|
|
9799
9862
|
return Object.getPrototypeOf(value) === proto;
|
|
9800
9863
|
};
|
|
9801
|
-
const
|
|
9864
|
+
const common_isPlainObject = isPlainObject;
|
|
9802
9865
|
const isString = (value, fuzzy = !1)=>{
|
|
9803
9866
|
const type = typeof value;
|
|
9804
|
-
return fuzzy ? "string" === type : "string" === type ||
|
|
9867
|
+
return fuzzy ? "string" === type : "string" === type || common_isType(value, "String");
|
|
9805
9868
|
};
|
|
9806
9869
|
const common_isString = isString;
|
|
9807
9870
|
function pickWithout(obj, keys) {
|
|
9808
|
-
if (!obj || !
|
|
9871
|
+
if (!obj || !common_isPlainObject(obj)) return obj;
|
|
9809
9872
|
const result = {};
|
|
9810
9873
|
return Object.keys(obj).forEach((k)=>{
|
|
9811
9874
|
const v = obj[k];
|
|
@@ -9910,11 +9973,11 @@
|
|
|
9910
9973
|
barMaxWidth_barMaxWidth,
|
|
9911
9974
|
barGapInGroup_barGapInGroup,
|
|
9912
9975
|
stackCornerRadius_stackCornerRadius,
|
|
9913
|
-
colorBarStyleFill(barStyle_barStyle),
|
|
9914
|
-
colorPointStyleFill(pointStyle_pointStyle),
|
|
9915
|
-
pointStateDimensionHover,
|
|
9916
|
-
colorLineStyleFill(lineStyle_lineStyle),
|
|
9917
|
-
colorAreaStyleFill(areaStyle_areaStyle)
|
|
9976
|
+
barStyleFilter(colorBarStyleFill(barStyle_barStyle)),
|
|
9977
|
+
pointStyleFilter(colorPointStyleFill(pointStyle_pointStyle)),
|
|
9978
|
+
pointStyleFilter(pointStateDimensionHover),
|
|
9979
|
+
lineStyleFilter(colorLineStyleFill(lineStyle_lineStyle)),
|
|
9980
|
+
areaStyleFilter(colorAreaStyleFill(areaStyle_areaStyle))
|
|
9918
9981
|
], [
|
|
9919
9982
|
initDualAxisSecondary,
|
|
9920
9983
|
dualChartTypeSecondary,
|
|
@@ -9925,11 +9988,11 @@
|
|
|
9925
9988
|
barMaxWidth_barMaxWidth,
|
|
9926
9989
|
barGapInGroup_barGapInGroup,
|
|
9927
9990
|
stackCornerRadius_stackCornerRadius,
|
|
9928
|
-
colorBarStyleFill(barStyle_barStyle),
|
|
9929
|
-
colorPointStyleFill(pointStyle_pointStyle),
|
|
9930
|
-
pointStateDimensionHover,
|
|
9931
|
-
colorLineStyleFill(lineStyle_lineStyle),
|
|
9932
|
-
colorAreaStyleFill(areaStyle_areaStyle)
|
|
9991
|
+
barStyleFilter(colorBarStyleFill(barStyle_barStyle)),
|
|
9992
|
+
pointStyleFilter(colorPointStyleFill(pointStyle_pointStyle)),
|
|
9993
|
+
pointStyleFilter(pointStateDimensionHover),
|
|
9994
|
+
lineStyleFilter(colorLineStyleFill(lineStyle_lineStyle)),
|
|
9995
|
+
areaStyleFilter(colorAreaStyleFill(areaStyle_areaStyle))
|
|
9933
9996
|
]),
|
|
9934
9997
|
xBand,
|
|
9935
9998
|
yLinearPrimary,
|
|
@@ -9941,7 +10004,8 @@
|
|
|
9941
10004
|
annotationPointOfDualAxis,
|
|
9942
10005
|
annotationVerticalLine_annotationVerticalLine,
|
|
9943
10006
|
annotationHorizontalLine_annotationHorizontalLine,
|
|
9944
|
-
annotationAreaBand
|
|
10007
|
+
annotationAreaBand,
|
|
10008
|
+
tooltipDualAxis
|
|
9945
10009
|
];
|
|
9946
10010
|
const pivotDualAxis = [
|
|
9947
10011
|
initPivot,
|
|
@@ -9989,7 +10053,8 @@
|
|
|
9989
10053
|
annotationPointOfDualAxis,
|
|
9990
10054
|
annotationVerticalLine_annotationVerticalLine,
|
|
9991
10055
|
annotationHorizontalLine_annotationHorizontalLine,
|
|
9992
|
-
annotationAreaBand
|
|
10056
|
+
annotationAreaBand,
|
|
10057
|
+
tooltipDualAxis
|
|
9993
10058
|
]),
|
|
9994
10059
|
pivotRowDimensions,
|
|
9995
10060
|
pivotColumnDimensions,
|
|
@@ -10008,7 +10073,7 @@
|
|
|
10008
10073
|
const { measures: vseedMeasures = [], dimensions = [] } = advancedVSeed;
|
|
10009
10074
|
const measures = findAllMeasures(vseedMeasures);
|
|
10010
10075
|
const encoding = {};
|
|
10011
|
-
pie_generateDefaultDimensionEncoding(dimensions, encoding);
|
|
10076
|
+
pie_generateDefaultDimensionEncoding(dimensions, encoding, hasMultipleMeasureInSingleView(vseedMeasures));
|
|
10012
10077
|
pie_generateDefaultMeasureEncoding(measures, encoding);
|
|
10013
10078
|
return {
|
|
10014
10079
|
...advancedVSeed,
|
|
@@ -10021,8 +10086,9 @@
|
|
|
10021
10086
|
const hasDimensionEncoding = dimensions.some((item)=>item.encoding);
|
|
10022
10087
|
const hasMeasureEncoding = measures.some((item)=>item.encoding);
|
|
10023
10088
|
const encoding = {};
|
|
10024
|
-
|
|
10025
|
-
|
|
10089
|
+
const hasMulti = hasMultipleMeasureInSingleView(vseedMeasures);
|
|
10090
|
+
if (hasDimensionEncoding) pie_generateDimensionEncoding(dimensions, encoding, hasMulti);
|
|
10091
|
+
else pie_generateDefaultDimensionEncoding(dimensions, encoding, hasMulti);
|
|
10026
10092
|
if (hasMeasureEncoding) pie_generateMeasureEncoding(measures, encoding);
|
|
10027
10093
|
else pie_generateDefaultMeasureEncoding(measures, encoding);
|
|
10028
10094
|
return {
|
|
@@ -10030,9 +10096,10 @@
|
|
|
10030
10096
|
encoding
|
|
10031
10097
|
};
|
|
10032
10098
|
};
|
|
10033
|
-
const pie_generateDefaultDimensionEncoding = (dimensions, encoding)=>{
|
|
10099
|
+
const pie_generateDefaultDimensionEncoding = (dimensions, encoding, isMultiMeasure)=>{
|
|
10034
10100
|
const uniqueDimIds = chunk_QJLMYOTX_i(dimensions.map((d)=>d.id));
|
|
10035
|
-
encoding.color = uniqueDimIds.slice(0);
|
|
10101
|
+
if (isMultiMeasure) encoding.color = uniqueDimIds.slice(0);
|
|
10102
|
+
else encoding.color = uniqueDimIds.filter((d)=>d !== MeasureId);
|
|
10036
10103
|
encoding.detail = encoding.color;
|
|
10037
10104
|
encoding.tooltip = uniqueDimIds.filter((d)=>d !== MeasureId);
|
|
10038
10105
|
encoding.label = [];
|
|
@@ -10075,11 +10142,11 @@
|
|
|
10075
10142
|
defaultDimensions_defaultDimensions,
|
|
10076
10143
|
defaultMeasureId_defaultMeasureId,
|
|
10077
10144
|
encodingAdapter([
|
|
10078
|
-
|
|
10079
|
-
|
|
10145
|
+
buildMeasures,
|
|
10146
|
+
defaultEncodingForPie
|
|
10080
10147
|
], [
|
|
10081
|
-
encodingForPie,
|
|
10082
10148
|
buildMeasures,
|
|
10149
|
+
encodingForPie,
|
|
10083
10150
|
pickMeasuresForReshape([
|
|
10084
10151
|
'tooltip',
|
|
10085
10152
|
'label',
|
|
@@ -10171,10 +10238,14 @@
|
|
|
10171
10238
|
};
|
|
10172
10239
|
return result;
|
|
10173
10240
|
};
|
|
10174
|
-
const pivotHideIndicatorName = (spec)=>
|
|
10241
|
+
const pivotHideIndicatorName = (spec, context)=>{
|
|
10242
|
+
const { advancedVSeed } = context;
|
|
10243
|
+
const { datasetReshapeInfo } = advancedVSeed;
|
|
10244
|
+
return {
|
|
10175
10245
|
...spec,
|
|
10176
|
-
hideIndicatorName:
|
|
10177
|
-
}
|
|
10246
|
+
hideIndicatorName: datasetReshapeInfo.length <= 1
|
|
10247
|
+
};
|
|
10248
|
+
};
|
|
10178
10249
|
const addRegionPadding = (spec)=>{
|
|
10179
10250
|
const result = {
|
|
10180
10251
|
...spec
|
|
@@ -10236,11 +10307,11 @@
|
|
|
10236
10307
|
defaultDimensions_defaultDimensions,
|
|
10237
10308
|
defaultMeasureId_defaultMeasureId,
|
|
10238
10309
|
encodingAdapter([
|
|
10239
|
-
|
|
10240
|
-
|
|
10310
|
+
buildMeasures,
|
|
10311
|
+
defaultEncodingForPie
|
|
10241
10312
|
], [
|
|
10242
|
-
encodingForPie,
|
|
10243
10313
|
buildMeasures,
|
|
10314
|
+
encodingForPie,
|
|
10244
10315
|
pickMeasuresForReshape([
|
|
10245
10316
|
'tooltip',
|
|
10246
10317
|
'label',
|
|
@@ -11446,6 +11517,8 @@
|
|
|
11446
11517
|
'yAxis',
|
|
11447
11518
|
'crosshairRect',
|
|
11448
11519
|
'whiskers',
|
|
11520
|
+
'boxMaxWidth',
|
|
11521
|
+
'boxGapInGroup',
|
|
11449
11522
|
'dimensionLinkage'
|
|
11450
11523
|
]);
|
|
11451
11524
|
const config = replaceNullToUndefined(pickedConfig);
|
|
@@ -11541,7 +11614,7 @@
|
|
|
11541
11614
|
const i = (n - 1) * percent, i0 = Math.floor(i), value0 = valueof(values[i0], i0, values);
|
|
11542
11615
|
return value0 + (valueof(values[i0 + 1], i0 + 1, values) - value0) * (i - i0);
|
|
11543
11616
|
}
|
|
11544
|
-
const
|
|
11617
|
+
const boxplot = (data, options)=>{
|
|
11545
11618
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
11546
11619
|
const field = null == options ? void 0 : options.field;
|
|
11547
11620
|
if (!field) return [];
|
|
@@ -11565,8 +11638,8 @@
|
|
|
11565
11638
|
}
|
|
11566
11639
|
}
|
|
11567
11640
|
if (common_isArray(whiskers)) whiskers = [
|
|
11568
|
-
|
|
11569
|
-
|
|
11641
|
+
common_clamp(Math.min.apply(null, whiskers), 0, 1),
|
|
11642
|
+
common_clamp(Math.max.apply(null, whiskers), 0, 1)
|
|
11570
11643
|
];
|
|
11571
11644
|
const out = [];
|
|
11572
11645
|
for (const [key, vals] of groups){
|
|
@@ -11605,7 +11678,7 @@
|
|
|
11605
11678
|
const boxPlotDataList = [];
|
|
11606
11679
|
encoding.value.forEach((f)=>{
|
|
11607
11680
|
const m = allMeasures.find((m)=>m.id === f);
|
|
11608
|
-
const boxPlotData =
|
|
11681
|
+
const boxPlotData = boxplot(dataset, {
|
|
11609
11682
|
field: f,
|
|
11610
11683
|
groupField: [
|
|
11611
11684
|
...encoding.x ?? [],
|
|
@@ -11699,7 +11772,7 @@
|
|
|
11699
11772
|
const boxPlotDataList = [];
|
|
11700
11773
|
validEncodingIds.forEach((f)=>{
|
|
11701
11774
|
const m = subMeasures.find((m)=>m.id === f);
|
|
11702
|
-
const boxPlotData =
|
|
11775
|
+
const boxPlotData = boxplot(dataset, {
|
|
11703
11776
|
field: f,
|
|
11704
11777
|
groupField: [
|
|
11705
11778
|
...encoding.x ?? [],
|
|
@@ -11749,7 +11822,7 @@
|
|
|
11749
11822
|
unfoldInfo = res.unfoldInfo;
|
|
11750
11823
|
}
|
|
11751
11824
|
const reshapeInfo = {
|
|
11752
|
-
id: groupId
|
|
11825
|
+
id: `${groupId}`,
|
|
11753
11826
|
index,
|
|
11754
11827
|
foldInfo,
|
|
11755
11828
|
unfoldInfo
|
|
@@ -11824,6 +11897,26 @@
|
|
|
11824
11897
|
result.animation = true;
|
|
11825
11898
|
return result;
|
|
11826
11899
|
};
|
|
11900
|
+
const boxMaxWidth_boxMaxWidth = (spec, context)=>{
|
|
11901
|
+
const { advancedVSeed, vseed } = context;
|
|
11902
|
+
const { chartType } = vseed;
|
|
11903
|
+
const boxMaxWidth = advancedVSeed.config?.[chartType]?.boxMaxWidth;
|
|
11904
|
+
if (!chunk_JK3VNB42_n(boxMaxWidth)) return {
|
|
11905
|
+
...spec,
|
|
11906
|
+
boxMaxWidth
|
|
11907
|
+
};
|
|
11908
|
+
return spec;
|
|
11909
|
+
};
|
|
11910
|
+
const boxGapInGroup_boxGapInGroup = (spec, context)=>{
|
|
11911
|
+
const { advancedVSeed, vseed } = context;
|
|
11912
|
+
const { chartType } = vseed;
|
|
11913
|
+
const boxGapInGroup = advancedVSeed.config?.[chartType]?.boxGapInGroup;
|
|
11914
|
+
if (!chunk_JK3VNB42_n(boxGapInGroup)) return {
|
|
11915
|
+
...spec,
|
|
11916
|
+
boxGapInGroup
|
|
11917
|
+
};
|
|
11918
|
+
return spec;
|
|
11919
|
+
};
|
|
11827
11920
|
const datasetBoxplot = (spec, context)=>{
|
|
11828
11921
|
const { advancedVSeed, vseed } = context;
|
|
11829
11922
|
const { datasetReshapeInfo } = advancedVSeed;
|
|
@@ -11939,20 +12032,133 @@
|
|
|
11939
12032
|
defaultContent
|
|
11940
12033
|
];
|
|
11941
12034
|
};
|
|
11942
|
-
const
|
|
11943
|
-
|
|
11944
|
-
|
|
11945
|
-
|
|
11946
|
-
|
|
11947
|
-
|
|
11948
|
-
|
|
11949
|
-
|
|
12035
|
+
const colorBoxPlotStyleFill = (stylePipe)=>(spec, context)=>{
|
|
12036
|
+
const result = stylePipe(spec, context);
|
|
12037
|
+
const { advancedVSeed, vseed } = context;
|
|
12038
|
+
const { datasetReshapeInfo } = advancedVSeed;
|
|
12039
|
+
const { unfoldInfo } = datasetReshapeInfo[0];
|
|
12040
|
+
if (isLinearColor(advancedVSeed, vseed)) {
|
|
12041
|
+
if (result?.boxPlot?.style) result.boxPlot.style.fill = {
|
|
12042
|
+
field: unfoldInfo.encodingColor,
|
|
12043
|
+
scale: 'color'
|
|
12044
|
+
};
|
|
12045
|
+
}
|
|
12046
|
+
return result;
|
|
12047
|
+
};
|
|
12048
|
+
const boxPlotStyle_boxPlotStyle = (spec, context)=>{
|
|
12049
|
+
const { advancedVSeed, vseed } = context;
|
|
12050
|
+
const { markStyle, config } = advancedVSeed;
|
|
12051
|
+
const { boxPlotStyle } = markStyle;
|
|
12052
|
+
const theme = config?.[vseed.chartType]?.boxPlotStyle;
|
|
12053
|
+
const result = {
|
|
12054
|
+
...spec,
|
|
12055
|
+
boxPlot: {
|
|
12056
|
+
style: {
|
|
12057
|
+
shaftShape: 'filled-line',
|
|
12058
|
+
visible: true,
|
|
12059
|
+
shaftWidth: '50%',
|
|
12060
|
+
stroke: theme?.boxBorderColor
|
|
12061
|
+
}
|
|
12062
|
+
}
|
|
12063
|
+
};
|
|
12064
|
+
if (chunk_JK3VNB42_n(boxPlotStyle) || chunk_VCYTMP4D_n(boxPlotStyle)) return result;
|
|
12065
|
+
const boxPlotStyles = Array.isArray(boxPlotStyle) ? boxPlotStyle : [
|
|
12066
|
+
boxPlotStyle
|
|
12067
|
+
];
|
|
12068
|
+
const customMap = boxPlotStyles.reduce((result, style, index)=>{
|
|
12069
|
+
const { boxColor, boxColorOpacity, boxBorderColor, boxBorderWidth = 1, boxVisible = true, boxBorderOpacity } = style;
|
|
12070
|
+
return {
|
|
12071
|
+
...result,
|
|
12072
|
+
[`custom${index + 1}`]: {
|
|
12073
|
+
level: index + 1,
|
|
12074
|
+
filter: (datum)=>{
|
|
12075
|
+
if (selector_selector(datum, style.selector)) return true;
|
|
12076
|
+
return false;
|
|
12077
|
+
},
|
|
12078
|
+
style: {
|
|
12079
|
+
visible: boxVisible,
|
|
12080
|
+
fill: boxColor,
|
|
12081
|
+
fillOpacity: boxColorOpacity,
|
|
12082
|
+
lineWidth: boxBorderWidth,
|
|
12083
|
+
stroke: boxBorderColor,
|
|
12084
|
+
strokeOpacity: boxBorderOpacity
|
|
12085
|
+
}
|
|
12086
|
+
}
|
|
12087
|
+
};
|
|
12088
|
+
}, {});
|
|
12089
|
+
result.boxPlot.state = {
|
|
12090
|
+
...result.boxPlot.state,
|
|
12091
|
+
...customMap
|
|
12092
|
+
};
|
|
12093
|
+
return result;
|
|
12094
|
+
};
|
|
12095
|
+
const outlierStyle_outlierStyle = (spec, context)=>{
|
|
12096
|
+
const { advancedVSeed, vseed } = context;
|
|
12097
|
+
const { markStyle, config } = advancedVSeed;
|
|
12098
|
+
const { outlierStyle } = markStyle;
|
|
12099
|
+
const theme = config?.[vseed.chartType]?.outlierStyle;
|
|
12100
|
+
const result = {
|
|
12101
|
+
...spec,
|
|
12102
|
+
outlier: {
|
|
12103
|
+
style: {
|
|
12104
|
+
fill: theme?.pointColor
|
|
12105
|
+
}
|
|
12106
|
+
}
|
|
12107
|
+
};
|
|
12108
|
+
if (chunk_JK3VNB42_n(outlierStyle) || chunk_VCYTMP4D_n(outlierStyle)) return result;
|
|
12109
|
+
const outlierStyles = Array.isArray(outlierStyle) ? outlierStyle : [
|
|
12110
|
+
outlierStyle
|
|
12111
|
+
];
|
|
12112
|
+
const customMap = outlierStyles.reduce((result, style, index)=>{
|
|
12113
|
+
const { pointBorderColor, pointBorderStyle, pointBorderWidth = 1, pointColor, pointColorOpacity, pointSize, pointVisible = true } = style;
|
|
12114
|
+
const lineDash = 'dashed' === pointBorderStyle ? [
|
|
12115
|
+
5,
|
|
12116
|
+
2
|
|
12117
|
+
] : 'dotted' === pointBorderStyle ? [
|
|
12118
|
+
2,
|
|
12119
|
+
5
|
|
12120
|
+
] : [
|
|
12121
|
+
0,
|
|
12122
|
+
0
|
|
12123
|
+
];
|
|
12124
|
+
return {
|
|
12125
|
+
...result,
|
|
12126
|
+
[`custom${index + 1}`]: {
|
|
12127
|
+
level: index + 1,
|
|
12128
|
+
filter: (datum)=>{
|
|
12129
|
+
if (selector_selector(datum, style.selector)) return true;
|
|
12130
|
+
return false;
|
|
12131
|
+
},
|
|
12132
|
+
style: {
|
|
12133
|
+
visible: pointVisible,
|
|
12134
|
+
size: pointSize,
|
|
12135
|
+
fill: pointColor,
|
|
12136
|
+
fillOpacity: pointColorOpacity,
|
|
12137
|
+
innerBorder: {
|
|
12138
|
+
stroke: pointBorderColor,
|
|
12139
|
+
lineWidth: pointBorderWidth,
|
|
12140
|
+
distance: (pointBorderWidth || 0) / 2,
|
|
12141
|
+
lineDash: lineDash
|
|
12142
|
+
}
|
|
12143
|
+
}
|
|
12144
|
+
}
|
|
12145
|
+
};
|
|
12146
|
+
}, {});
|
|
12147
|
+
return {
|
|
12148
|
+
...result,
|
|
12149
|
+
outlier: {
|
|
12150
|
+
...result.outlier,
|
|
12151
|
+
state: {
|
|
12152
|
+
...customMap
|
|
12153
|
+
}
|
|
12154
|
+
}
|
|
11950
12155
|
};
|
|
11951
|
-
return normalLegend;
|
|
11952
12156
|
};
|
|
11953
|
-
const
|
|
12157
|
+
const boxplot_boxplot = [
|
|
11954
12158
|
initBoxplot,
|
|
11955
12159
|
stackCornerRadius_stackCornerRadius,
|
|
12160
|
+
boxMaxWidth_boxMaxWidth,
|
|
12161
|
+
boxGapInGroup_boxGapInGroup,
|
|
11956
12162
|
colorAdapter(color_color, linearColor),
|
|
11957
12163
|
background_backgroundColor,
|
|
11958
12164
|
datasetBoxplot,
|
|
@@ -11961,9 +12167,10 @@
|
|
|
11961
12167
|
yLinear,
|
|
11962
12168
|
label_label,
|
|
11963
12169
|
tooltipBoxplot,
|
|
11964
|
-
colorAdapter(
|
|
12170
|
+
colorAdapter(discreteLegend, colorLegend),
|
|
11965
12171
|
verticalCrosshairRect,
|
|
11966
|
-
|
|
12172
|
+
colorBoxPlotStyleFill(boxPlotStyle_boxPlotStyle),
|
|
12173
|
+
outlierStyle_outlierStyle,
|
|
11967
12174
|
annotationPoint_annotationPoint,
|
|
11968
12175
|
annotationVerticalLine_annotationVerticalLine,
|
|
11969
12176
|
annotationHorizontalLine_annotationHorizontalLine,
|
|
@@ -11976,6 +12183,8 @@
|
|
|
11976
12183
|
pivotIndicators_pivotIndicators([
|
|
11977
12184
|
initBoxplot,
|
|
11978
12185
|
stackCornerRadius_stackCornerRadius,
|
|
12186
|
+
boxMaxWidth_boxMaxWidth,
|
|
12187
|
+
boxGapInGroup_boxGapInGroup,
|
|
11979
12188
|
colorAdapter(color_color, linearColor),
|
|
11980
12189
|
background_backgroundColor,
|
|
11981
12190
|
datasetBoxplot,
|
|
@@ -11984,7 +12193,8 @@
|
|
|
11984
12193
|
pivotAxisStyle(yLinear),
|
|
11985
12194
|
label_label,
|
|
11986
12195
|
tooltipBoxplot,
|
|
11987
|
-
|
|
12196
|
+
colorBoxPlotStyleFill(boxPlotStyle_boxPlotStyle),
|
|
12197
|
+
outlierStyle_outlierStyle,
|
|
11988
12198
|
verticalCrosshairRect,
|
|
11989
12199
|
annotationPoint_annotationPoint,
|
|
11990
12200
|
annotationVerticalLine_annotationVerticalLine,
|
|
@@ -11998,7 +12208,7 @@
|
|
|
11998
12208
|
dimensionLinkage
|
|
11999
12209
|
];
|
|
12000
12210
|
const boxplotSpecPipeline = [
|
|
12001
|
-
pivotAdapter_pivotAdapter(
|
|
12211
|
+
pivotAdapter_pivotAdapter(boxplot_boxplot, pivotBoxplot)
|
|
12002
12212
|
];
|
|
12003
12213
|
const registerBoxplot = ()=>{
|
|
12004
12214
|
Builder._advancedPipelineMap.boxPlot = boxplotAdvancedPipeline;
|
|
@@ -12196,7 +12406,7 @@
|
|
|
12196
12406
|
}
|
|
12197
12407
|
return finalOut;
|
|
12198
12408
|
};
|
|
12199
|
-
const
|
|
12409
|
+
const bin = (data, options)=>{
|
|
12200
12410
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
12201
12411
|
const field = null == options ? void 0 : options.field;
|
|
12202
12412
|
if (!field) return [];
|
|
@@ -12301,7 +12511,7 @@
|
|
|
12301
12511
|
if (encoding.value?.length) {
|
|
12302
12512
|
const valueField = encoding.value[0];
|
|
12303
12513
|
const m = allMeasures.find((m)=>m.id === valueField);
|
|
12304
|
-
const binData =
|
|
12514
|
+
const binData = bin(dataset, {
|
|
12305
12515
|
field: valueField,
|
|
12306
12516
|
groupField: [
|
|
12307
12517
|
...encoding.x ?? [],
|
|
@@ -12410,7 +12620,7 @@
|
|
|
12410
12620
|
if (encoding.value?.length) {
|
|
12411
12621
|
const valueField = encoding.value[0];
|
|
12412
12622
|
const m = subMeasures.find((m)=>m.id === valueField);
|
|
12413
|
-
const binData =
|
|
12623
|
+
const binData = bin(dataset, {
|
|
12414
12624
|
field: valueField,
|
|
12415
12625
|
groupField: [
|
|
12416
12626
|
...encoding.x ?? [],
|
|
@@ -12462,7 +12672,7 @@
|
|
|
12462
12672
|
unfoldInfo = res.unfoldInfo;
|
|
12463
12673
|
}
|
|
12464
12674
|
const reshapeInfo = {
|
|
12465
|
-
id: groupId
|
|
12675
|
+
id: `${groupId}`,
|
|
12466
12676
|
index,
|
|
12467
12677
|
foldInfo,
|
|
12468
12678
|
unfoldInfo
|
|
@@ -12480,7 +12690,6 @@
|
|
|
12480
12690
|
initAdvancedVSeed_initAdvancedVSeed,
|
|
12481
12691
|
default_defaultMeasures_defaultMeasures,
|
|
12482
12692
|
defaultDimensions_defaultDimensions,
|
|
12483
|
-
defaultMeasureId_defaultMeasureId,
|
|
12484
12693
|
histogramConfig,
|
|
12485
12694
|
encodingAdapter([
|
|
12486
12695
|
defaultEncodingForHistogram,
|
|
@@ -12657,7 +12866,7 @@
|
|
|
12657
12866
|
}
|
|
12658
12867
|
return Math.sqrt(s / n);
|
|
12659
12868
|
}
|
|
12660
|
-
function
|
|
12869
|
+
function kde(data, options = {}) {
|
|
12661
12870
|
const n = data.length, kernel = options.kernel || gaussian;
|
|
12662
12871
|
let h = options.bandwidth;
|
|
12663
12872
|
if (!h || h <= 0) {
|
|
@@ -12750,6 +12959,7 @@
|
|
|
12750
12959
|
const { chartType, encoding = {}, dimensions, regressionLine } = advancedVSeed;
|
|
12751
12960
|
const { dataset } = vseed;
|
|
12752
12961
|
const lineTheme = advancedVSeed.config[chartType]?.regressionLine;
|
|
12962
|
+
const binValueType = advancedVSeed.config[chartType]?.binValueType;
|
|
12753
12963
|
if (!regressionLine || !regressionLine.kdeRegressionLine) return result;
|
|
12754
12964
|
const rowColumnFields = T(dimensions.filter((dim)=>'row' === dim.encoding || 'column' === dim.encoding), (item)=>item.id);
|
|
12755
12965
|
const lineList = array_array(regressionLine.kdeRegressionLine).filter((kdeLine)=>false !== kdeLine.enable);
|
|
@@ -12777,12 +12987,15 @@
|
|
|
12777
12987
|
const viewData = s.getViewData()?.latestData;
|
|
12778
12988
|
if (!dataset || !dataset.length || !viewData || !viewData.length || !scaleY) return null;
|
|
12779
12989
|
const simpleData = dataset.filter((entry)=>rowColumnFields.length ? rowColumnFields.every((dim)=>entry[dim.id] === viewData[0][dim.id]) : true).map((d)=>+d[encoding.value?.[0]]);
|
|
12780
|
-
const res =
|
|
12990
|
+
const res = kde(simpleData, {
|
|
12781
12991
|
bandwidth: Math.abs(viewData[0][BinEndMeasureId] - viewData[0][BinStartMeasureId])
|
|
12782
12992
|
});
|
|
12783
12993
|
const N = Math.max(3, Math.floor(simpleData.length / 4));
|
|
12784
12994
|
const lineData = res.evaluateGrid(N);
|
|
12785
|
-
const scaleR = (k)=>
|
|
12995
|
+
const scaleR = (k)=>{
|
|
12996
|
+
if ('percentage' === binValueType) return scaleY.scale(k * res.bandwidth);
|
|
12997
|
+
return scaleY.scale(k * simpleData.length * res.bandwidth);
|
|
12998
|
+
};
|
|
12786
12999
|
const linePoints = lineData.map((ld)=>{
|
|
12787
13000
|
const d = {
|
|
12788
13001
|
[fieldX]: ld.x
|
|
@@ -12823,6 +13036,7 @@
|
|
|
12823
13036
|
interactive: false,
|
|
12824
13037
|
zIndex: 500,
|
|
12825
13038
|
dataId: spec.data?.id,
|
|
13039
|
+
dataKey: ()=>`kdeRegressionLine-label-${lineIndex}`,
|
|
12826
13040
|
style: {
|
|
12827
13041
|
textAlign: 'end',
|
|
12828
13042
|
fill: textColor ?? theme.textColor,
|
|
@@ -12963,6 +13177,7 @@
|
|
|
12963
13177
|
interactive: false,
|
|
12964
13178
|
zIndex: 500,
|
|
12965
13179
|
dataId: spec.data?.id,
|
|
13180
|
+
dataKey: ()=>`ecdfRegressionLine-label-${lineIndex}`,
|
|
12966
13181
|
style: {
|
|
12967
13182
|
textAlign: 'end',
|
|
12968
13183
|
fill: textColor ?? theme.textColor,
|
|
@@ -13072,9 +13287,9 @@
|
|
|
13072
13287
|
const getDarkCrosshairRect = ()=>({
|
|
13073
13288
|
visible: true,
|
|
13074
13289
|
labelVisible: true,
|
|
13075
|
-
labelColor: '#
|
|
13076
|
-
labelBackgroundColor: '#
|
|
13077
|
-
rectColor: '#
|
|
13290
|
+
labelColor: '#ffffff',
|
|
13291
|
+
labelBackgroundColor: '#404349',
|
|
13292
|
+
rectColor: '#4B4F54'
|
|
13078
13293
|
});
|
|
13079
13294
|
const getLightCrosshairLine = ()=>({
|
|
13080
13295
|
visible: true,
|
|
@@ -13088,7 +13303,7 @@
|
|
|
13088
13303
|
labelVisible: true,
|
|
13089
13304
|
labelColor: '#ffffff',
|
|
13090
13305
|
labelBackgroundColor: '#364159',
|
|
13091
|
-
rectColor: '#
|
|
13306
|
+
rectColor: '#D9DDE4'
|
|
13092
13307
|
});
|
|
13093
13308
|
const getLightColorScheme = ()=>[
|
|
13094
13309
|
'#8D72F6',
|
|
@@ -13218,12 +13433,14 @@
|
|
|
13218
13433
|
});
|
|
13219
13434
|
const getLightPivotChartGridConfig = ()=>{
|
|
13220
13435
|
const res = pickPivotChartGridConfig(getLightTableConfig());
|
|
13436
|
+
res.hoverHeaderInlineBackgroundColor = '#D9DDE446';
|
|
13221
13437
|
res.chartGridColor = '#F0F1F6';
|
|
13222
13438
|
res.axisLabelColor = '#BCC1CB';
|
|
13223
13439
|
return res;
|
|
13224
13440
|
};
|
|
13225
13441
|
const getDarkPivotChartGridConfig = ()=>{
|
|
13226
13442
|
const res = pickPivotChartGridConfig(getDarkTableConfig());
|
|
13443
|
+
res.hoverHeaderInlineBackgroundColor = '#4b4f5446';
|
|
13227
13444
|
return res;
|
|
13228
13445
|
};
|
|
13229
13446
|
const getDefaultTooltip = ()=>({
|
|
@@ -13282,11 +13499,11 @@
|
|
|
13282
13499
|
visible: false,
|
|
13283
13500
|
tickInside: false,
|
|
13284
13501
|
tickSize: 4,
|
|
13285
|
-
tickColor: '#
|
|
13502
|
+
tickColor: '#E3E5EB'
|
|
13286
13503
|
},
|
|
13287
13504
|
line: {
|
|
13288
13505
|
visible: false,
|
|
13289
|
-
lineColor: '#
|
|
13506
|
+
lineColor: '#E3E5EB',
|
|
13290
13507
|
lineWidth: 1
|
|
13291
13508
|
}
|
|
13292
13509
|
});
|
|
@@ -13328,11 +13545,11 @@
|
|
|
13328
13545
|
visible: false,
|
|
13329
13546
|
tickInside: false,
|
|
13330
13547
|
tickSize: 4,
|
|
13331
|
-
tickColor: '#
|
|
13548
|
+
tickColor: '#E3E5EB'
|
|
13332
13549
|
},
|
|
13333
13550
|
line: {
|
|
13334
13551
|
visible: true,
|
|
13335
|
-
lineColor: '#
|
|
13552
|
+
lineColor: '#E3E5EB',
|
|
13336
13553
|
lineWidth: 1
|
|
13337
13554
|
}
|
|
13338
13555
|
});
|
|
@@ -13593,6 +13810,18 @@
|
|
|
13593
13810
|
confidenceIntervalOpacity: 0.2
|
|
13594
13811
|
}
|
|
13595
13812
|
});
|
|
13813
|
+
const getLightBoxPlotStyle = ()=>({
|
|
13814
|
+
boxBorderColor: '#e3e5eb'
|
|
13815
|
+
});
|
|
13816
|
+
const getDarkBoxPlotStyle = ()=>({
|
|
13817
|
+
boxBorderColor: '#4b4e53'
|
|
13818
|
+
});
|
|
13819
|
+
const getLightOutlierStyle = ()=>({
|
|
13820
|
+
pointColor: '#8F959E'
|
|
13821
|
+
});
|
|
13822
|
+
const getDarkOutlierStyle = ()=>({
|
|
13823
|
+
pointColor: '#36393e'
|
|
13824
|
+
});
|
|
13596
13825
|
const lightTheme = ()=>{
|
|
13597
13826
|
const linearAxis = getLightLinearAxis();
|
|
13598
13827
|
const bandAxis = getLightBandAxis();
|
|
@@ -13857,7 +14086,9 @@
|
|
|
13857
14086
|
yAxis: linearAxis,
|
|
13858
14087
|
crosshairRect,
|
|
13859
14088
|
pivotGrid: getLightPivotChartGridConfig(),
|
|
13860
|
-
annotation: getLightAnnotation()
|
|
14089
|
+
annotation: getLightAnnotation(),
|
|
14090
|
+
boxPlotStyle: getLightBoxPlotStyle(),
|
|
14091
|
+
outlierStyle: getLightOutlierStyle()
|
|
13861
14092
|
}
|
|
13862
14093
|
}
|
|
13863
14094
|
};
|
|
@@ -14120,7 +14351,9 @@
|
|
|
14120
14351
|
yAxis: linearAxis,
|
|
14121
14352
|
crosshairRect: crosshairRect,
|
|
14122
14353
|
pivotGrid: getDarkPivotChartGridConfig(),
|
|
14123
|
-
annotation: getDarkAnnotation()
|
|
14354
|
+
annotation: getDarkAnnotation(),
|
|
14355
|
+
boxPlotStyle: getDarkBoxPlotStyle(),
|
|
14356
|
+
outlierStyle: getDarkOutlierStyle()
|
|
14124
14357
|
}
|
|
14125
14358
|
}
|
|
14126
14359
|
};
|
|
@@ -16909,11 +17142,11 @@
|
|
|
16909
17142
|
arg
|
|
16910
17143
|
]);
|
|
16911
17144
|
inst.and = (arg)=>intersection(inst, arg);
|
|
16912
|
-
inst.transform = (tx)=>
|
|
17145
|
+
inst.transform = (tx)=>schemas_pipe(inst, transform(tx));
|
|
16913
17146
|
inst.default = (def)=>schemas_default(inst, def);
|
|
16914
17147
|
inst.prefault = (def)=>prefault(inst, def);
|
|
16915
17148
|
inst.catch = (params)=>schemas_catch(inst, params);
|
|
16916
|
-
inst.pipe = (target)=>
|
|
17149
|
+
inst.pipe = (target)=>schemas_pipe(inst, target);
|
|
16917
17150
|
inst.readonly = ()=>readonly(inst);
|
|
16918
17151
|
inst.describe = (description)=>{
|
|
16919
17152
|
const cl = inst.clone();
|
|
@@ -17425,7 +17658,7 @@
|
|
|
17425
17658
|
inst.in = def.in;
|
|
17426
17659
|
inst.out = def.out;
|
|
17427
17660
|
});
|
|
17428
|
-
function
|
|
17661
|
+
function schemas_pipe(in_, out) {
|
|
17429
17662
|
return new ZodPipe({
|
|
17430
17663
|
type: "pipe",
|
|
17431
17664
|
in: in_,
|
|
@@ -17659,7 +17892,7 @@
|
|
|
17659
17892
|
label: schemas_array(schemas_string()).nullish(),
|
|
17660
17893
|
row: schemas_array(schemas_string()).nullish(),
|
|
17661
17894
|
column: schemas_array(schemas_string()).nullish(),
|
|
17662
|
-
group: schemas_array(schemas_string()).nullish().describe(
|
|
17895
|
+
group: schemas_array(schemas_string()).nullish().describe('已弃用, 请使用颜色替代'),
|
|
17663
17896
|
value: schemas_array(schemas_string()).nullish(),
|
|
17664
17897
|
q1: schemas_array(schemas_string()).nullish(),
|
|
17665
17898
|
q3: schemas_array(schemas_string()).nullish(),
|
|
@@ -18414,6 +18647,34 @@
|
|
|
18414
18647
|
});
|
|
18415
18648
|
const zPivotTableConfig = zTableConfig;
|
|
18416
18649
|
const zWhiskersConfig = schemas_number().or(schemas_array(schemas_number())).default(1.5);
|
|
18650
|
+
const zBoxPlotStyle = schemas_object({
|
|
18651
|
+
selector: zSelector.or(zSelectors).nullish(),
|
|
18652
|
+
boxVisible: schemas_boolean().nullish(),
|
|
18653
|
+
boxColor: schemas_string().nullish(),
|
|
18654
|
+
boxColorOpacity: schemas_number().min(0).max(1).nullish(),
|
|
18655
|
+
boxBorderColor: schemas_string().nullish(),
|
|
18656
|
+
boxBorderWidth: schemas_number().min(0).nullish(),
|
|
18657
|
+
boxBorderOpacity: schemas_number().min(0).max(1).nullish()
|
|
18658
|
+
});
|
|
18659
|
+
const zOutlierStyle = schemas_object({
|
|
18660
|
+
selector: union([
|
|
18661
|
+
zSelector,
|
|
18662
|
+
zSelectors
|
|
18663
|
+
]).optional(),
|
|
18664
|
+
pointVisible: schemas_boolean().optional(),
|
|
18665
|
+
pointSize: schemas_number().optional(),
|
|
18666
|
+
pointColor: schemas_string().optional(),
|
|
18667
|
+
pointColorOpacity: schemas_number().min(0).max(1).optional(),
|
|
18668
|
+
pointBorderColor: schemas_string().optional(),
|
|
18669
|
+
pointBorderWidth: schemas_number().min(0).optional(),
|
|
18670
|
+
pointBorderStyle: schemas_enum([
|
|
18671
|
+
'solid',
|
|
18672
|
+
'dashed',
|
|
18673
|
+
'dotted'
|
|
18674
|
+
]).optional()
|
|
18675
|
+
});
|
|
18676
|
+
const zBoxMaxWidth = schemas_number().or(schemas_string());
|
|
18677
|
+
const zBoxGapInGroup = schemas_number().or(schemas_string());
|
|
18417
18678
|
const zBoxplotConfig = schemas_object({
|
|
18418
18679
|
backgroundColor: zBackgroundColor.nullish(),
|
|
18419
18680
|
label: zLabel.nullish(),
|
|
@@ -18426,7 +18687,15 @@
|
|
|
18426
18687
|
pivotGrid: zPivotChartGridConfig.nullish(),
|
|
18427
18688
|
annotation: zAnnotationConfig.nullish(),
|
|
18428
18689
|
whiskers: zWhiskersConfig.nullish(),
|
|
18429
|
-
dimensionLinkage: zDimensionLinkage.nullish()
|
|
18690
|
+
dimensionLinkage: zDimensionLinkage.nullish(),
|
|
18691
|
+
boxPlotStyle: zBoxPlotStyle.omit({
|
|
18692
|
+
selector: true
|
|
18693
|
+
}).nullish(),
|
|
18694
|
+
outlierStyle: zOutlierStyle.omit({
|
|
18695
|
+
selector: true
|
|
18696
|
+
}).nullish(),
|
|
18697
|
+
boxMaxWidth: zBoxMaxWidth.nullish(),
|
|
18698
|
+
boxGapInGroup: zBoxGapInGroup.nullish()
|
|
18430
18699
|
});
|
|
18431
18700
|
const zHistogramConfig = schemas_object({
|
|
18432
18701
|
backgroundColor: zBackgroundColor.nullish(),
|
|
@@ -18545,7 +18814,9 @@
|
|
|
18545
18814
|
barStyle: zBarStyle.or(schemas_array(zBarStyle)).nullish(),
|
|
18546
18815
|
pointStyle: zPointStyle.or(schemas_array(zPointStyle)).nullish(),
|
|
18547
18816
|
lineStyle: zLineStyle.or(schemas_array(zLineStyle)).nullish(),
|
|
18548
|
-
areaStyle: zAreaStyle.or(schemas_array(zAreaStyle)).nullish()
|
|
18817
|
+
areaStyle: zAreaStyle.or(schemas_array(zAreaStyle)).nullish(),
|
|
18818
|
+
boxPlotStyle: zBoxPlotStyle.or(schemas_array(zBoxPlotStyle)).nullish(),
|
|
18819
|
+
outlierStyle: zOutlierStyle.or(schemas_array(zOutlierStyle)).nullish()
|
|
18549
18820
|
});
|
|
18550
18821
|
const zAnnotationVerticalLine = schemas_object({
|
|
18551
18822
|
selector: union([
|
|
@@ -19118,6 +19389,8 @@
|
|
|
19118
19389
|
sort: zSort.nullish(),
|
|
19119
19390
|
sortLegent: zSortLegend.nullish(),
|
|
19120
19391
|
crosshairRect: zCrosshairRect.nullish(),
|
|
19392
|
+
boxPlotStyle: schemas_array(zBoxPlotStyle).or(zBoxPlotStyle).nullish(),
|
|
19393
|
+
outlierStyle: schemas_array(zOutlierStyle).or(zOutlierStyle).nullish(),
|
|
19121
19394
|
theme: zTheme.nullish(),
|
|
19122
19395
|
whiskers: zWhiskersConfig.nullish(),
|
|
19123
19396
|
annotationPoint: schemas_array(zAnnotationPoint).or(zAnnotationPoint).nullish(),
|
|
@@ -19125,7 +19398,9 @@
|
|
|
19125
19398
|
annotationHorizontalLine: schemas_array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),
|
|
19126
19399
|
annotationArea: schemas_array(zAnnotationArea).or(zAnnotationArea).nullish(),
|
|
19127
19400
|
dimensionLinkage: zDimensionLinkage.nullish(),
|
|
19128
|
-
locale: zLocale.nullish()
|
|
19401
|
+
locale: zLocale.nullish(),
|
|
19402
|
+
boxMaxWidth: zBoxMaxWidth.nullish(),
|
|
19403
|
+
boxGapInGroup: zBoxGapInGroup.nullish()
|
|
19129
19404
|
});
|
|
19130
19405
|
const zVSeed = discriminatedUnion('chartType', [
|
|
19131
19406
|
zTable,
|