@visactor/vseed 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +12 -0
- package/dist/esm/builder/builder/builder.js.map +1 -1
- package/dist/esm/builder/register/all.js +2 -2
- 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.d.ts +1 -1
- package/dist/esm/builder/register/chartType/boxplot.js +2 -2
- 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/index.d.ts +1 -1
- package/dist/esm/builder/register/chartType/index.js +2 -2
- 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/index.d.ts +1 -1
- package/dist/esm/index.js +2 -2
- 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.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.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/line.js.map +1 -1
- 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 +17 -0
- 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.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.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasures.js +3 -0
- 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.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.map +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 +5 -1
- 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.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 +3 -3
- 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.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 +3 -76
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPoint.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointCommon.d.ts +6 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointCommon.js +95 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointCommon.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.js +16 -84
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfHistogram.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfHistogram.js +23 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfHistogram.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationVerticalLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/index.js +2 -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.js.map +1 -1
- 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/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.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.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 +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/index.js +1 -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.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.js.map +1 -1
- 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/lineStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.js.map +1 -1
- 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.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.js.map +1 -1
- 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.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.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.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 +3 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js.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 +7 -6
- 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.map +1 -1
- 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.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 +8 -7
- 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.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/utils/histogram.js +6 -2
- 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.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.map +1 -1
- package/dist/esm/theme/common/boxPlot.js.map +1 -1
- package/dist/esm/theme/common/color.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/theme/common/tooltip.js.map +1 -1
- package/dist/esm/theme/dark/dark.js.map +1 -1
- package/dist/esm/theme/light/light.js.map +1 -1
- package/dist/esm/types/advancedVSeed.d.ts +4 -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/area.d.ts +2 -2
- package/dist/esm/types/chartType/area/zArea.js.map +1 -1
- package/dist/esm/types/chartType/areaPercent/areaPercent.d.ts +3 -5
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.js.map +1 -1
- package/dist/esm/types/chartType/bar/bar.d.ts +3 -3
- package/dist/esm/types/chartType/bar/zBar.js.map +1 -1
- package/dist/esm/types/chartType/barParallel/barParallel.d.ts +3 -3
- package/dist/esm/types/chartType/barParallel/zBarParallel.js.map +1 -1
- package/dist/esm/types/chartType/barPercent/barPercent.d.ts +3 -3
- package/dist/esm/types/chartType/barPercent/zBarPercent.js.map +1 -1
- package/dist/esm/types/chartType/{boxplot/boxplot.d.ts → boxPlot/boxPlot.d.ts} +12 -4
- package/dist/esm/types/chartType/boxPlot/index.d.ts +2 -0
- package/dist/esm/types/chartType/boxPlot/index.js +1 -0
- package/dist/esm/types/chartType/{boxplot/zBoxplot.d.ts → boxPlot/zBoxPlot.d.ts} +3 -1
- package/dist/esm/types/chartType/{boxplot/zBoxplot.js → boxPlot/zBoxPlot.js} +7 -5
- package/dist/esm/types/chartType/boxPlot/zBoxPlot.js.map +1 -0
- package/dist/esm/types/chartType/column/column.d.ts +4 -4
- package/dist/esm/types/chartType/column/zColumn.d.ts +2 -2
- package/dist/esm/types/chartType/column/zColumn.js +1 -1
- package/dist/esm/types/chartType/column/zColumn.js.map +1 -1
- package/dist/esm/types/chartType/columnParallel/columnParallel.d.ts +3 -5
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.js.map +1 -1
- package/dist/esm/types/chartType/columnPercent/columnPercent.d.ts +3 -3
- 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/dualAxis.d.ts +3 -3
- 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/histogram.d.ts +6 -6
- package/dist/esm/types/chartType/histogram/zHistogram.js.map +1 -1
- package/dist/esm/types/chartType/index.d.ts +1 -1
- package/dist/esm/types/chartType/index.js +1 -1
- package/dist/esm/types/chartType/line/line.d.ts +3 -5
- 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/pivotTable.d.ts +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/scatter.d.ts +7 -7
- package/dist/esm/types/chartType/scatter/zScatter.d.ts +8 -8
- package/dist/esm/types/chartType/scatter/zScatter.js +4 -4
- package/dist/esm/types/chartType/scatter/zScatter.js.map +1 -1
- package/dist/esm/types/chartType/table/table.d.ts +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 +2 -0
- package/dist/esm/types/properties/config/boxplot.js +4 -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 +2 -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.js.map +1 -1
- package/dist/esm/types/properties/markStyle/lineStyle.js.map +1 -1
- package/dist/esm/types/properties/markStyle/markStyle.js.map +1 -1
- package/dist/esm/types/properties/markStyle/outlierStyle.js.map +1 -1
- 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/linearRegressionLine.d.ts +4 -0
- package/dist/esm/types/properties/regressionLine/logisticRegressionLine.d.ts +4 -0
- package/dist/esm/types/properties/regressionLine/lowessRegressionLine.d.ts +4 -0
- package/dist/esm/types/properties/regressionLine/polynomialRegressionLine.d.ts +4 -0
- package/dist/esm/types/properties/regressionLine/zRegressionLine.js.map +1 -1
- package/dist/esm/types/properties/theme/customTheme.d.ts +4 -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 +3 -2
- package/dist/esm/types/zVseed.d.ts +12 -10
- package/dist/esm/types/zVseed.js +2 -2
- package/dist/esm/types/zVseed.js.map +1 -1
- package/dist/umd/index.js +503 -424
- package/dist/umd/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/esm/types/chartType/boxplot/index.d.ts +0 -2
- package/dist/esm/types/chartType/boxplot/index.js +0 -1
- package/dist/esm/types/chartType/boxplot/zBoxplot.js.map +0 -1
- /package/dist/esm/types/chartType/{boxplot/boxplot.js → boxPlot/boxPlot.js} +0 -0
package/dist/umd/index.js
CHANGED
|
@@ -30,294 +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
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
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,
|
|
57
59
|
zYLinearAxis: ()=>zYLinearAxis,
|
|
58
|
-
columnAdvancedPipeline: ()=>columnAdvancedPipeline,
|
|
59
60
|
zLabel: ()=>zLabel,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
DimensionEncodingEnum: ()=>DimensionEncodingEnum,
|
|
71
|
-
barPercentAdvancedPipeline: ()=>barPercentAdvancedPipeline,
|
|
72
|
-
zColumnParallel: ()=>zColumnParallel,
|
|
73
|
-
zDimensions: ()=>zDimensions,
|
|
74
|
-
zLegend: ()=>zLegend,
|
|
75
|
-
zSelector: ()=>zSelector,
|
|
76
|
-
LINEAR_AXIS_INNER_OFFSET_TOP: ()=>12,
|
|
77
|
-
replaceNullToUndefined: ()=>replaceNullToUndefined,
|
|
78
|
-
zHeatmap: ()=>zHeatmap,
|
|
79
|
-
FoldXMeasureId: ()=>FoldXMeasureId,
|
|
80
|
-
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,
|
|
81
71
|
zAnnotationVerticalLineConfig: ()=>zAnnotationVerticalLineConfig,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
roseSpecPipeline: ()=>roseSpecPipeline,
|
|
72
|
+
zCustomThemeConfig: ()=>zCustomThemeConfig,
|
|
73
|
+
zMeasureEncoding: ()=>zMeasureEncoding,
|
|
74
|
+
MedianMeasureId: ()=>MedianMeasureId,
|
|
75
|
+
BinPercentageMeasureId: ()=>BinPercentageMeasureId,
|
|
76
|
+
AngleEncoding: ()=>AngleEncoding,
|
|
88
77
|
zCrosshairLine: ()=>zCrosshairLine,
|
|
89
|
-
|
|
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,
|
|
90
87
|
zBarParallel: ()=>zBarParallel,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
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,
|
|
99
96
|
zRose: ()=>zRose,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
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__",
|
|
109
106
|
zColor: ()=>zColor,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
FoldMeasureName: ()=>FoldMeasureName,
|
|
118
|
-
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,
|
|
119
114
|
darkTheme: ()=>darkTheme,
|
|
120
|
-
|
|
115
|
+
FoldYMeasureId: ()=>FoldYMeasureId,
|
|
116
|
+
selector: ()=>selector_selector,
|
|
117
|
+
zAnnotationHorizontalLine: ()=>zAnnotationHorizontalLine,
|
|
118
|
+
zDualChartType: ()=>zDualChartType,
|
|
121
119
|
ORIGINAL_DATA: ()=>ORIGINAL_DATA,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
isMeasure: ()=>isMeasure,
|
|
127
|
-
FoldSecondaryMeasureValue: ()=>FoldSecondaryMeasureValue,
|
|
120
|
+
columnAdvancedPipeline: ()=>columnAdvancedPipeline,
|
|
121
|
+
FoldMeasureId: ()=>FoldMeasureId,
|
|
122
|
+
MeasureName: ()=>MeasureName,
|
|
123
|
+
lightTheme: ()=>lightTheme,
|
|
128
124
|
zSort: ()=>zSort,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
FoldYMeasureId: ()=>FoldYMeasureId,
|
|
138
|
-
findMeasureById: ()=>findMeasureById,
|
|
139
|
-
AngleEncoding: ()=>AngleEncoding,
|
|
140
|
-
areaPercentAdvancedPipeline: ()=>areaPercentAdvancedPipeline,
|
|
141
|
-
findTreeNodesBy: ()=>findTreeNodesBy,
|
|
142
|
-
zAreaPercentConfig: ()=>zAreaPercentConfig,
|
|
143
|
-
zBackgroundColor: ()=>zBackgroundColor,
|
|
144
|
-
MeasureId: ()=>MeasureId,
|
|
145
|
-
registerRadar: ()=>registerRadar,
|
|
125
|
+
hasMultipleMeasureInSingleView: ()=>hasMultipleMeasureInSingleView,
|
|
126
|
+
columnParallelSpecPipeline: ()=>columnParallelSpecPipeline,
|
|
127
|
+
roseSpecPipeline: ()=>roseSpecPipeline,
|
|
128
|
+
columnSpecPipeline: ()=>columnSpecPipeline,
|
|
129
|
+
pivotTableSpecPipeline: ()=>pivotTableSpecPipeline,
|
|
130
|
+
BinCountMeasureId: ()=>BinCountMeasureId,
|
|
131
|
+
zYBandAxis: ()=>zYBandAxis,
|
|
132
|
+
registerRoseParallel: ()=>registerRoseParallel,
|
|
146
133
|
zLocale: ()=>zLocale,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
registerScatter: ()=>registerScatter,
|
|
151
|
-
boxplotSpecPipeline: ()=>boxplotSpecPipeline,
|
|
134
|
+
zHeatmap: ()=>zHeatmap,
|
|
135
|
+
isColumnPercent: ()=>isColumnPercent,
|
|
136
|
+
selectByMeasure: ()=>selectByMeasure,
|
|
152
137
|
autoNumFormatter: ()=>autoNumFormatter,
|
|
153
|
-
tableSpecPipeline: ()=>tableSpecPipeline,
|
|
154
138
|
zConfig: ()=>zConfig,
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
isPivotTable: ()=>isPivotTable,
|
|
164
|
-
zDimensionEncoding: ()=>zDimensionEncoding,
|
|
165
|
-
registerPie: ()=>registerPie,
|
|
166
|
-
LowerWhisker: ()=>LowerWhisker,
|
|
167
|
-
zEcdfRegressionLine: ()=>zEcdfRegressionLine,
|
|
168
|
-
zBarParallelConfig: ()=>zBarParallelConfig,
|
|
169
|
-
lineAdvancedPipeline: ()=>lineAdvancedPipeline,
|
|
170
|
-
AXIS_LABEL_SPACE: ()=>8,
|
|
171
|
-
FoldMeasureValue: ()=>FoldMeasureValue,
|
|
139
|
+
zLinearRegressionLine: ()=>zLinearRegressionLine,
|
|
140
|
+
createNumFormatter: ()=>createNumFormatter,
|
|
141
|
+
DEFAULT_PARENT_ID: ()=>DEFAULT_PARENT_ID,
|
|
142
|
+
isPivotChart: ()=>isPivotChart,
|
|
143
|
+
zPolynomialRegressionLine: ()=>zPolynomialRegressionLine,
|
|
144
|
+
zTableConfig: ()=>zTableConfig,
|
|
145
|
+
findFirstMeasure: ()=>findFirstMeasure,
|
|
146
|
+
isValueSelector: ()=>isValueSelector,
|
|
172
147
|
zFunnel: ()=>zFunnel,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
columnPercentSpecPipeline: ()=>columnPercentSpecPipeline,
|
|
177
|
-
selectByPartial: ()=>selectByPartial,
|
|
178
|
-
isMeasureSelector: ()=>isMeasureSelector,
|
|
179
|
-
areaAdvancedPipeline: ()=>areaAdvancedPipeline,
|
|
180
|
-
zBarConfig: ()=>zBarConfig,
|
|
181
|
-
areaPercentSpecPipeline: ()=>areaPercentSpecPipeline,
|
|
182
|
-
barParallelSpecPipeline: ()=>barParallelSpecPipeline,
|
|
148
|
+
zChartType: ()=>zChartType,
|
|
149
|
+
registerColumnParallel: ()=>registerColumnParallel,
|
|
150
|
+
isDimensionSelector: ()=>isDimensionSelector,
|
|
183
151
|
BAND_AXIS_INNER_OFFSET_IN_PIVOT: ()=>2,
|
|
184
|
-
|
|
152
|
+
isBarPercent: ()=>isBarPercent,
|
|
185
153
|
zBar: ()=>zBar,
|
|
186
|
-
|
|
187
|
-
|
|
154
|
+
zColorLegend: ()=>zColorLegend,
|
|
155
|
+
zColumnConfig: ()=>zColumnConfig,
|
|
156
|
+
zPie: ()=>zPie,
|
|
188
157
|
isTable: ()=>isTable,
|
|
189
|
-
zBarMaxWidth: ()=>zBarMaxWidth,
|
|
190
158
|
zDonut: ()=>zDonut,
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
159
|
+
registerPie: ()=>registerPie,
|
|
160
|
+
ColorIdEncoding: ()=>ColorIdEncoding,
|
|
161
|
+
zColumnPercentConfig: ()=>zColumnPercentConfig,
|
|
162
|
+
roseParallelAdvancedPipeline: ()=>roseParallelAdvancedPipeline,
|
|
163
|
+
zWhiskersConfig: ()=>zWhiskersConfig,
|
|
164
|
+
zBackgroundColor: ()=>zBackgroundColor,
|
|
165
|
+
EncodingEnum: ()=>EncodingEnum,
|
|
198
166
|
zScatterMeasures: ()=>zScatterMeasures,
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
167
|
+
foldMeasures: ()=>foldMeasures,
|
|
168
|
+
DUAL_AXIS_LABEL_Z_INDEX: ()=>1002,
|
|
169
|
+
zAnnotationPoint: ()=>zAnnotationPoint,
|
|
170
|
+
zPivotTable: ()=>zPivotTable,
|
|
171
|
+
OutliersMeasureId: ()=>OutliersMeasureId,
|
|
172
|
+
barParallelSpecPipeline: ()=>barParallelSpecPipeline,
|
|
173
|
+
scatterSpecPipeline: ()=>scatterSpecPipeline,
|
|
205
174
|
Separator: ()=>"-",
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
EncodingEnum: ()=>EncodingEnum,
|
|
211
|
-
preorderTraverse: ()=>preorderTraverse,
|
|
212
|
-
roseParallelSpecPipeline: ()=>roseParallelSpecPipeline,
|
|
175
|
+
barSpecPipeline: ()=>barSpecPipeline,
|
|
176
|
+
measureDepth: ()=>measureDepth,
|
|
177
|
+
registerBar: ()=>registerBar,
|
|
178
|
+
updateSpec: ()=>updateSpec,
|
|
213
179
|
registerHistogram: ()=>registerHistogram,
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
180
|
+
Q1MeasureValue: ()=>"__Q1__",
|
|
181
|
+
lineAdvancedPipeline: ()=>lineAdvancedPipeline,
|
|
182
|
+
zRadarConfig: ()=>zRadarConfig,
|
|
183
|
+
zRoseParallelConfig: ()=>zRoseParallelConfig,
|
|
184
|
+
isMeasureSelector: ()=>isMeasureSelector,
|
|
185
|
+
areaPercentAdvancedPipeline: ()=>areaPercentAdvancedPipeline,
|
|
186
|
+
zAreaStyle: ()=>zAreaStyle,
|
|
187
|
+
zKdeRegressionLine: ()=>zKdeRegressionLine,
|
|
188
|
+
zTooltip: ()=>zTooltip,
|
|
189
|
+
zAreaPercentConfig: ()=>zAreaPercentConfig,
|
|
190
|
+
zPivotChartGridConfig: ()=>zPivotChartGridConfig,
|
|
191
|
+
zMarkStyle: ()=>zMarkStyle,
|
|
192
|
+
zPointStyle: ()=>zPointStyle,
|
|
193
|
+
areaAdvancedPipeline: ()=>areaAdvancedPipeline,
|
|
194
|
+
zBoxPlotStyle: ()=>zBoxPlotStyle,
|
|
195
|
+
DUAL_AXIS_CHART_NON_COLUMN_Z_INDEX: ()=>1001,
|
|
196
|
+
zBarMaxWidth: ()=>zBarMaxWidth,
|
|
224
197
|
zColumnParallelConfig: ()=>zColumnParallelConfig,
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
198
|
+
BinStartMeasureId: ()=>BinStartMeasureId,
|
|
199
|
+
MeasureEncodingEnum: ()=>MeasureEncodingEnum,
|
|
200
|
+
ColorEncoding: ()=>ColorEncoding,
|
|
201
|
+
zLowessRegressionLine: ()=>zLowessRegressionLine,
|
|
202
|
+
heatmapAdvancedPipeline: ()=>heatmapAdvancedPipeline,
|
|
203
|
+
tableSpecPipeline: ()=>tableSpecPipeline,
|
|
204
|
+
zEncoding: ()=>zEncoding,
|
|
205
|
+
zAreaConfig: ()=>zAreaConfig,
|
|
206
|
+
registerAll: ()=>registerAll,
|
|
207
|
+
dataReshapeByEncoding: ()=>dataReshapeByEncoding,
|
|
208
|
+
dualAxisSpecPipeline: ()=>dualAxisSpecPipeline,
|
|
209
|
+
unfoldDimensions: ()=>unfoldDimensions,
|
|
210
|
+
zArea: ()=>zArea,
|
|
211
|
+
histogramAdvancedPipeline: ()=>histogramAdvancedPipeline,
|
|
212
|
+
registerDarkTheme: ()=>registerDarkTheme,
|
|
213
|
+
ChartTypeEnum: ()=>ChartTypeEnum,
|
|
214
|
+
zDualMeasures: ()=>zDualMeasures,
|
|
215
|
+
FoldMeasureValue: ()=>FoldMeasureValue,
|
|
216
|
+
isVChart: ()=>isVChart,
|
|
230
217
|
zTheme: ()=>zTheme,
|
|
218
|
+
autoFormatter: ()=>autoFormatter,
|
|
231
219
|
zDatum: ()=>zDatum,
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
registerColumnPercent: ()=>registerColumnPercent,
|
|
235
|
-
registerHeatmap: ()=>registerHeatmap,
|
|
236
|
-
isBarPercent: ()=>isBarPercent,
|
|
220
|
+
radarSpecPipeline: ()=>radarSpecPipeline,
|
|
221
|
+
zDimensionTree: ()=>zDimensionTree,
|
|
237
222
|
checkVSeed: ()=>checkVSeed,
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
223
|
+
zDimensionEncoding: ()=>zDimensionEncoding,
|
|
224
|
+
zBodyCellStyle: ()=>zBodyCellStyle,
|
|
225
|
+
barAdvancedPipeline: ()=>barAdvancedPipeline,
|
|
226
|
+
DUAL_AXIS_CHART_COLUMN_Z_INDEX: ()=>1000,
|
|
227
|
+
isCombination: ()=>isCombination,
|
|
228
|
+
areaSpecPipeline: ()=>areaSpecPipeline,
|
|
229
|
+
zAnnotationPointConfig: ()=>zAnnotationPointConfig,
|
|
243
230
|
registerPivotTable: ()=>registerPivotTable,
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
231
|
+
execPipeline: ()=>execPipeline,
|
|
232
|
+
XEncoding: ()=>XEncoding,
|
|
233
|
+
zBoxPlot: ()=>zBoxPlot,
|
|
234
|
+
zLineStyle: ()=>zLineStyle,
|
|
235
|
+
zRegressionLine: ()=>zRegressionLine,
|
|
236
|
+
findMeasureById: ()=>findMeasureById,
|
|
237
|
+
tableAdvancedPipeline: ()=>tableAdvancedPipeline,
|
|
238
|
+
zDimensionGroup: ()=>zDimensionGroup,
|
|
251
239
|
Builder: ()=>Builder,
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
240
|
+
zScatterMeasure: ()=>zScatterMeasure,
|
|
241
|
+
selectByValue: ()=>selectByValue,
|
|
242
|
+
MeasureId: ()=>MeasureId,
|
|
243
|
+
registerBarParallel: ()=>registerBarParallel,
|
|
244
|
+
zAnnotationVerticalLine: ()=>zAnnotationVerticalLine,
|
|
245
|
+
zMeasureTree: ()=>zMeasureTree,
|
|
246
|
+
registerDonut: ()=>registerDonut,
|
|
247
|
+
findTreeNodesBy: ()=>findTreeNodesBy,
|
|
255
248
|
zRadar: ()=>zRadar,
|
|
249
|
+
registerBoxPlot: ()=>registerBoxPlot,
|
|
250
|
+
zAnnotation: ()=>zAnnotation,
|
|
256
251
|
zTable: ()=>zTable,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
zAreaConfig: ()=>zAreaConfig,
|
|
267
|
-
createNumFormatter: ()=>createNumFormatter,
|
|
252
|
+
pieAdvancedPipeline: ()=>pieAdvancedPipeline,
|
|
253
|
+
ANNOTATION_Z_INDEX: ()=>1000,
|
|
254
|
+
zColumnPercent: ()=>zColumnPercent,
|
|
255
|
+
zXBandAxis: ()=>zXBandAxis,
|
|
256
|
+
createFormatter: ()=>createFormatter,
|
|
257
|
+
columnPercentSpecPipeline: ()=>columnPercentSpecPipeline,
|
|
258
|
+
zSelector: ()=>zSelector,
|
|
259
|
+
registerHeatmap: ()=>registerHeatmap,
|
|
260
|
+
zMeasures: ()=>zMeasures,
|
|
268
261
|
zLine: ()=>zLine,
|
|
269
|
-
|
|
270
|
-
|
|
262
|
+
FoldMeasureName: ()=>FoldMeasureName,
|
|
263
|
+
pieSpecPipeline: ()=>pieSpecPipeline,
|
|
264
|
+
zBarGapInGroup: ()=>zBarGapInGroup,
|
|
265
|
+
barPercentSpecPipeline: ()=>barPercentSpecPipeline,
|
|
266
|
+
zColumnParallel: ()=>zColumnParallel,
|
|
271
267
|
zDatasetReshapeInfo: ()=>zDatasetReshapeInfo,
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
zAreaStyle: ()=>zAreaStyle,
|
|
275
|
-
BinEndMeasureId: ()=>BinEndMeasureId,
|
|
276
|
-
zAnnotationArea: ()=>zAnnotationArea,
|
|
277
|
-
DetailEncoding: ()=>DetailEncoding,
|
|
268
|
+
zAnalysis: ()=>zAnalysis,
|
|
269
|
+
heatmapSpecPipeline: ()=>heatmapSpecPipeline,
|
|
278
270
|
isPivot: ()=>chatType_isPivot,
|
|
279
|
-
|
|
280
|
-
zDimension: ()=>zDimension,
|
|
281
|
-
lightTheme: ()=>lightTheme,
|
|
282
|
-
registerColumnParallel: ()=>registerColumnParallel,
|
|
271
|
+
registerColumn: ()=>registerColumn,
|
|
283
272
|
updateAdvanced: ()=>updateAdvanced,
|
|
284
|
-
|
|
285
|
-
|
|
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,
|
|
286
283
|
zColumn: ()=>zColumn,
|
|
287
|
-
zCustomTheme: ()=>zCustomTheme,
|
|
288
|
-
zTableConfig: ()=>zTableConfig,
|
|
289
|
-
zColumnPercentConfig: ()=>zColumnPercentConfig,
|
|
290
|
-
zBarGapInGroup: ()=>zBarGapInGroup,
|
|
291
|
-
ChartTypeEnum: ()=>ChartTypeEnum,
|
|
292
|
-
zVSeed: ()=>zVSeed,
|
|
293
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,
|
|
294
294
|
registerDualAxis: ()=>registerDualAxis,
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
zEncoding: ()=>zEncoding,
|
|
303
|
-
ColorEncoding: ()=>ColorEncoding,
|
|
304
|
-
measureDepth: ()=>measureDepth,
|
|
305
|
-
BinCountMeasureId: ()=>BinCountMeasureId,
|
|
306
|
-
zAdvancedVSeed: ()=>zAdvancedVSeed,
|
|
295
|
+
zAnnotationHorizontalLineConfig: ()=>zAnnotationHorizontalLineConfig,
|
|
296
|
+
registerFunnel: ()=>registerFunnel,
|
|
297
|
+
histogramSpecPipeline: ()=>histogramSpecPipeline,
|
|
298
|
+
roseAdvancedPipeline: ()=>roseAdvancedPipeline,
|
|
299
|
+
zNumFormat: ()=>zNumFormat,
|
|
300
|
+
zBarConfig: ()=>zBarConfig,
|
|
301
|
+
registerScatter: ()=>registerScatter,
|
|
307
302
|
zAreaPercent: ()=>zAreaPercent,
|
|
308
|
-
|
|
309
|
-
donutAdvancedPipeline: ()=>donutAdvancedPipeline,
|
|
310
|
-
zScatter: ()=>zScatter,
|
|
311
|
-
zScatterConfig: ()=>zScatterConfig,
|
|
312
|
-
zTooltip: ()=>zTooltip,
|
|
303
|
+
isDimension: ()=>isDimension,
|
|
313
304
|
isBarLikeChart: ()=>isBarLikeChart,
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
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
|
|
321
323
|
});
|
|
322
324
|
const execPipeline = (pipeline, context, initialValue = {})=>{
|
|
323
325
|
const result = pipeline.reduce((prev, cur)=>cur(prev, context), initialValue);
|
|
@@ -329,39 +331,39 @@
|
|
|
329
331
|
const translateMap = {
|
|
330
332
|
指标名称: {
|
|
331
333
|
'en-US': 'MeasureName',
|
|
332
|
-
'zh-CN':
|
|
334
|
+
'zh-CN': '指标名称'
|
|
333
335
|
},
|
|
334
336
|
指标Id: {
|
|
335
337
|
'en-US': 'MeasureId',
|
|
336
|
-
'zh-CN':
|
|
338
|
+
'zh-CN': '指标Id'
|
|
337
339
|
},
|
|
338
340
|
指标值: {
|
|
339
341
|
'en-US': 'MeasureValue',
|
|
340
|
-
'zh-CN':
|
|
342
|
+
'zh-CN': '指标值'
|
|
341
343
|
},
|
|
342
344
|
异常点: {
|
|
343
345
|
'en-US': 'Outlier',
|
|
344
|
-
'zh-CN':
|
|
346
|
+
'zh-CN': '异常点'
|
|
345
347
|
},
|
|
346
348
|
上边界: {
|
|
347
349
|
'en-US': 'Upper Whisker',
|
|
348
|
-
'zh-CN':
|
|
350
|
+
'zh-CN': '上边界'
|
|
349
351
|
},
|
|
350
352
|
上四分位数: {
|
|
351
353
|
'en-US': 'Q3',
|
|
352
|
-
'zh-CN':
|
|
354
|
+
'zh-CN': '75分位数'
|
|
353
355
|
},
|
|
354
356
|
中位数: {
|
|
355
357
|
'en-US': 'Q2',
|
|
356
|
-
'zh-CN':
|
|
358
|
+
'zh-CN': '中位数'
|
|
357
359
|
},
|
|
358
360
|
下四分位数: {
|
|
359
361
|
'en-US': 'Q1',
|
|
360
|
-
'zh-CN':
|
|
362
|
+
'zh-CN': '25分位数'
|
|
361
363
|
},
|
|
362
364
|
下边界: {
|
|
363
365
|
'en-US': 'Lower Whisker',
|
|
364
|
-
'zh-CN':
|
|
366
|
+
'zh-CN': '下边界'
|
|
365
367
|
}
|
|
366
368
|
};
|
|
367
369
|
class i18n_Intl {
|
|
@@ -1196,7 +1198,7 @@
|
|
|
1196
1198
|
typeSymbol = '%';
|
|
1197
1199
|
} else if ('permille' === type) {
|
|
1198
1200
|
num *= 1000;
|
|
1199
|
-
typeSymbol =
|
|
1201
|
+
typeSymbol = '‰';
|
|
1200
1202
|
} else if ('number' === type) num /= ratio || 1;
|
|
1201
1203
|
let numStr = numFormatter.format(num);
|
|
1202
1204
|
if (thousandSeparator) {
|
|
@@ -1413,9 +1415,9 @@
|
|
|
1413
1415
|
};
|
|
1414
1416
|
return result;
|
|
1415
1417
|
};
|
|
1416
|
-
const
|
|
1417
|
-
const
|
|
1418
|
-
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");
|
|
1419
1421
|
const common_isArray = isArray_isArray;
|
|
1420
1422
|
const isValid = (value)=>null != value;
|
|
1421
1423
|
const common_isValid = isValid;
|
|
@@ -2150,7 +2152,7 @@
|
|
|
2150
2152
|
if (measures && measures.length > 0) {
|
|
2151
2153
|
const clonedMeasures = chunk_BCBB46UE_d(measures);
|
|
2152
2154
|
preorderTraverse(clonedMeasures, (node)=>{
|
|
2153
|
-
|
|
2155
|
+
node.alias = node.alias || node.id;
|
|
2154
2156
|
return false;
|
|
2155
2157
|
});
|
|
2156
2158
|
return {
|
|
@@ -2323,15 +2325,18 @@
|
|
|
2323
2325
|
const parent = measureTree.find((item)=>item.id === measure.parentId);
|
|
2324
2326
|
if (parent && 'children' in parent) {
|
|
2325
2327
|
parent.children = parent.children || [];
|
|
2328
|
+
if (parent.children.length > 0) parent.alias += `-${measure.alias ?? measure.id}`;
|
|
2326
2329
|
parent.children.push(measure);
|
|
2327
2330
|
} else if (common_isValid(measure.parentId)) measureTree.push({
|
|
2328
2331
|
id: measure.parentId,
|
|
2332
|
+
alias: measure.alias ?? measure.id,
|
|
2329
2333
|
children: [
|
|
2330
2334
|
measure
|
|
2331
2335
|
]
|
|
2332
2336
|
});
|
|
2333
2337
|
else measureTree.push({
|
|
2334
2338
|
id: DEFAULT_PARENT_ID,
|
|
2339
|
+
alias: measure.alias ?? measure.id,
|
|
2335
2340
|
children: [
|
|
2336
2341
|
measure
|
|
2337
2342
|
]
|
|
@@ -3869,33 +3874,39 @@
|
|
|
3869
3874
|
textBaseline: 'middle'
|
|
3870
3875
|
}
|
|
3871
3876
|
};
|
|
3872
|
-
const
|
|
3873
|
-
const
|
|
3874
|
-
const
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3877
|
+
const generateAnnotationPointPipe = (options)=>{
|
|
3878
|
+
const findSelectedDatas = options.findSelectedDatas ?? ((dataset, s)=>dataset.filter((datum)=>selector_selector(datum, s)));
|
|
3879
|
+
const generateMarkPoint = options.generateMarkPoint ?? ((datum)=>[
|
|
3880
|
+
{
|
|
3881
|
+
coordinate: (data)=>data.find((item)=>isSubset(datum, item))
|
|
3882
|
+
}
|
|
3883
|
+
]);
|
|
3884
|
+
return (spec, context)=>{
|
|
3885
|
+
const { advancedVSeed, vseed } = context;
|
|
3886
|
+
const { annotation, config } = advancedVSeed;
|
|
3887
|
+
if (!annotation || !annotation.annotationPoint) return spec;
|
|
3888
|
+
const theme = config?.[vseed.chartType]?.annotation?.annotationPoint;
|
|
3889
|
+
const { annotationPoint } = annotation;
|
|
3890
|
+
const annotationPointList = Array.isArray(annotationPoint) ? annotationPoint : [
|
|
3891
|
+
annotationPoint
|
|
3892
|
+
];
|
|
3893
|
+
const isHorizontalBar = isBarLikeChart(advancedVSeed);
|
|
3894
|
+
const defaultStyle = isHorizontalBar ? {
|
|
3895
|
+
textAlign: 'right',
|
|
3896
|
+
textBaseline: 'middle'
|
|
3897
|
+
} : {
|
|
3898
|
+
textAlign: 'center',
|
|
3899
|
+
textBaseline: 'top'
|
|
3900
|
+
};
|
|
3901
|
+
const markPoint = annotationPointList.flatMap((annotationPoint)=>{
|
|
3902
|
+
const { selector: selectorPoint, text = '', textColor = theme?.textColor ?? '#ffffff', textFontSize = theme?.textFontSize ?? 12, textFontWeight = theme?.textFontWeight ?? 400, textAlign = defaultStyle.textAlign, textBaseline = defaultStyle.textBaseline, textBackgroundBorderColor = theme?.textBackgroundBorderColor, textBackgroundBorderRadius = theme?.textBackgroundBorderRadius ?? 4, textBackgroundBorderWidth = theme?.textBackgroundBorderWidth ?? 1, textBackgroundColor = theme?.textBackgroundColor ?? '#212121', textBackgroundPadding = theme?.textBackgroundPadding ?? 2, textBackgroundVisible = theme?.textBackgroundVisible ?? true, offsetX = theme?.offsetX ?? 0, offsetY = theme?.offsetY ?? 0 } = annotationPoint;
|
|
3903
|
+
const dataset = advancedVSeed.dataset.flat();
|
|
3904
|
+
const selectedData = selectorPoint ? findSelectedDatas(dataset, selectorPoint, spec, context) : [];
|
|
3905
|
+
const dx = -10 - (isHorizontalBar ? textFontSize : 0);
|
|
3906
|
+
const dy = isHorizontalBar ? 0 : textFontSize;
|
|
3907
|
+
const markPointStyle = {
|
|
3896
3908
|
zIndex: 1000,
|
|
3897
3909
|
regionRelative: true,
|
|
3898
|
-
coordinate: (data)=>data.find((item)=>isSubset(datum, item)),
|
|
3899
3910
|
itemLine: {
|
|
3900
3911
|
visible: false
|
|
3901
3912
|
},
|
|
@@ -3933,13 +3944,25 @@
|
|
|
3933
3944
|
}
|
|
3934
3945
|
}
|
|
3935
3946
|
}
|
|
3936
|
-
}
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3947
|
+
};
|
|
3948
|
+
return selectedData.reduce((res, datum)=>{
|
|
3949
|
+
const marks = generateMarkPoint(datum, spec, context);
|
|
3950
|
+
if (marks && marks.length) marks.forEach((mark)=>{
|
|
3951
|
+
res.push({
|
|
3952
|
+
...markPointStyle,
|
|
3953
|
+
...mark
|
|
3954
|
+
});
|
|
3955
|
+
});
|
|
3956
|
+
return res;
|
|
3957
|
+
}, []);
|
|
3958
|
+
});
|
|
3959
|
+
return {
|
|
3960
|
+
...spec,
|
|
3961
|
+
markPoint
|
|
3962
|
+
};
|
|
3941
3963
|
};
|
|
3942
3964
|
};
|
|
3965
|
+
const annotationPoint_annotationPoint = generateAnnotationPointPipe({});
|
|
3943
3966
|
function chunk_BO3LQZNF_o(r) {
|
|
3944
3967
|
return Array.isArray(r);
|
|
3945
3968
|
}
|
|
@@ -4304,15 +4327,15 @@
|
|
|
4304
4327
|
};
|
|
4305
4328
|
const isNumber = (value, fuzzy = !1)=>{
|
|
4306
4329
|
const type = typeof value;
|
|
4307
|
-
return fuzzy ? "number" === type : "number" === type ||
|
|
4330
|
+
return fuzzy ? "number" === type : "number" === type || common_isType(value, "Number");
|
|
4308
4331
|
};
|
|
4309
4332
|
const common_isNumber = isNumber;
|
|
4310
4333
|
const isNil = (value)=>null == value;
|
|
4311
4334
|
const common_isNil = isNil;
|
|
4312
|
-
const
|
|
4335
|
+
const clamp = function(input, min, max) {
|
|
4313
4336
|
return input < min ? min : input > max ? max : input;
|
|
4314
4337
|
};
|
|
4315
|
-
const
|
|
4338
|
+
const common_clamp = clamp;
|
|
4316
4339
|
function hslToRgb(h, s, l) {
|
|
4317
4340
|
s /= 100, l /= 100;
|
|
4318
4341
|
const c = (1 - Math.abs(2 * l - 1)) * s, x = c * (1 - Math.abs(h / 60 % 2 - 1)), m = l - c / 2;
|
|
@@ -4585,7 +4608,7 @@
|
|
|
4585
4608
|
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);
|
|
4586
4609
|
}
|
|
4587
4610
|
setHsl(h, s, l) {
|
|
4588
|
-
const opacity = this.color.opacity, hsl = rgbToHsl(this.color.r, this.color.g, this.color.b), rgb = hslToRgb(common_isNil(h) ? hsl.h :
|
|
4611
|
+
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);
|
|
4589
4612
|
return this.color = new RGB(rgb.r, rgb.g, rgb.b, opacity), this;
|
|
4590
4613
|
}
|
|
4591
4614
|
setRGB(r, g, b) {
|
|
@@ -6404,7 +6427,9 @@
|
|
|
6404
6427
|
const fieldX = s.fieldX?.[0];
|
|
6405
6428
|
const fieldY = s.fieldY?.[0];
|
|
6406
6429
|
const xValues = s.getRawDataStatisticsByField(fieldX).values;
|
|
6407
|
-
|
|
6430
|
+
const degree = line.degree ?? 2;
|
|
6431
|
+
const minPoints = degree + 1;
|
|
6432
|
+
if (!fieldX || !fieldY || !data || data.length < minPoints || xValues.length < minPoints) return null;
|
|
6408
6433
|
const { confidenceInterval, evaluateGrid } = regressionPolynomial(xValues.map((xVal, index)=>{
|
|
6409
6434
|
const filteredData = data.filter((d)=>d[fieldX] === xVal);
|
|
6410
6435
|
return {
|
|
@@ -8621,7 +8646,7 @@
|
|
|
8621
8646
|
}
|
|
8622
8647
|
};
|
|
8623
8648
|
}
|
|
8624
|
-
const generateRegressionLinePipe = (type, regressionFunction, getOptions = getDefaultRegressionOptions)=>(spec, context)=>{
|
|
8649
|
+
const generateRegressionLinePipe = (type, regressionFunction, getOptions = getDefaultRegressionOptions, getMinPoints = ()=>2)=>(spec, context)=>{
|
|
8625
8650
|
const result = {
|
|
8626
8651
|
...spec
|
|
8627
8652
|
};
|
|
@@ -8662,7 +8687,8 @@
|
|
|
8662
8687
|
if (!groups.length) groups.push(void 0);
|
|
8663
8688
|
groups.forEach((group)=>{
|
|
8664
8689
|
const groupData = data.filter((d)=>d[colorAttrOptions?.field] === group);
|
|
8665
|
-
|
|
8690
|
+
const minPoints = getMinPoints(line);
|
|
8691
|
+
if (groupData.length < minPoints) return;
|
|
8666
8692
|
const { confidenceInterval, evaluateGrid } = regressionFunction(groupData, (datum)=>datum?.[fieldX], (datum)=>datum?.[fieldY], getOptions?.(line));
|
|
8667
8693
|
const N = Math.max(3, Math.floor(groupData.length / 4));
|
|
8668
8694
|
const mainColor = color ?? colorAttrOptions?.scale?.scale(group);
|
|
@@ -8808,13 +8834,13 @@
|
|
|
8808
8834
|
alpha
|
|
8809
8835
|
};
|
|
8810
8836
|
};
|
|
8811
|
-
const linearRegressionLine = generateRegressionLinePipe('linearRegressionLine', regressionLinear);
|
|
8812
|
-
const lowessRegressionLine = generateRegressionLinePipe('lowessRegressionLine', regressionLowess);
|
|
8837
|
+
const linearRegressionLine = generateRegressionLinePipe('linearRegressionLine', regressionLinear, getDefaultRegressionOptions);
|
|
8838
|
+
const lowessRegressionLine = generateRegressionLinePipe('lowessRegressionLine', regressionLowess, getDefaultRegressionOptions);
|
|
8813
8839
|
const polynomialRegressionLine = generateRegressionLinePipe('polynomialRegressionLine', regressionPolynomial, (lineConfig)=>({
|
|
8814
8840
|
...getDefaultRegressionOptions(lineConfig),
|
|
8815
8841
|
degree: lineConfig.degree ?? 2
|
|
8816
|
-
}));
|
|
8817
|
-
const logisticRegressionLine = generateRegressionLinePipe('logisticRegressionLine', regressionLogistic);
|
|
8842
|
+
}), (lineConfig)=>(lineConfig.degree ?? 2) + 1);
|
|
8843
|
+
const logisticRegressionLine = generateRegressionLinePipe('logisticRegressionLine', regressionLogistic, getDefaultRegressionOptions);
|
|
8818
8844
|
const scatter = [
|
|
8819
8845
|
initScatter,
|
|
8820
8846
|
colorAdapter(color_color, linearColor),
|
|
@@ -9847,7 +9873,7 @@
|
|
|
9847
9873
|
const isObjectLike = (value)=>"object" == typeof value && null !== value;
|
|
9848
9874
|
const common_isObjectLike = isObjectLike;
|
|
9849
9875
|
const isPlainObject = function(value) {
|
|
9850
|
-
if (!common_isObjectLike(value) || !
|
|
9876
|
+
if (!common_isObjectLike(value) || !common_isType(value, "Object")) return !1;
|
|
9851
9877
|
if (null === Object.getPrototypeOf(value)) return !0;
|
|
9852
9878
|
let proto = value;
|
|
9853
9879
|
for(; null !== Object.getPrototypeOf(proto);)proto = Object.getPrototypeOf(proto);
|
|
@@ -9856,7 +9882,7 @@
|
|
|
9856
9882
|
const common_isPlainObject = isPlainObject;
|
|
9857
9883
|
const isString = (value, fuzzy = !1)=>{
|
|
9858
9884
|
const type = typeof value;
|
|
9859
|
-
return fuzzy ? "string" === type : "string" === type ||
|
|
9885
|
+
return fuzzy ? "string" === type : "string" === type || common_isType(value, "String");
|
|
9860
9886
|
};
|
|
9861
9887
|
const common_isString = isString;
|
|
9862
9888
|
function pickWithout(obj, keys) {
|
|
@@ -9870,90 +9896,23 @@
|
|
|
9870
9896
|
}), match || (result[k] = v);
|
|
9871
9897
|
}), result;
|
|
9872
9898
|
}
|
|
9873
|
-
const annotationPointOfDualAxis = (
|
|
9874
|
-
|
|
9875
|
-
|
|
9876
|
-
|
|
9877
|
-
const theme = config?.[vseed.chartType]?.annotation?.annotationPoint;
|
|
9878
|
-
const { annotationPoint } = annotation;
|
|
9879
|
-
const annotationPointList = Array.isArray(annotationPoint) ? annotationPoint : [
|
|
9880
|
-
annotationPoint
|
|
9881
|
-
];
|
|
9882
|
-
const isHorizontalBar = isBarLikeChart(advancedVSeed);
|
|
9883
|
-
const defaultStyle = isHorizontalBar ? {
|
|
9884
|
-
textAlign: 'right',
|
|
9885
|
-
textBaseline: 'middle'
|
|
9886
|
-
} : {
|
|
9887
|
-
textAlign: 'center',
|
|
9888
|
-
textBaseline: 'top'
|
|
9889
|
-
};
|
|
9890
|
-
const allMeasureIds = findAllMeasures(advancedVSeed.reshapeMeasures ?? advancedVSeed.measures).map((m)=>m.id);
|
|
9891
|
-
const markPoint = annotationPointList.flatMap((annotationPoint)=>{
|
|
9892
|
-
const { selector: selectorPoint, text = '', textColor = theme?.textColor ?? '#ffffff', textFontSize = theme?.textFontSize ?? 12, textFontWeight = theme?.textFontWeight ?? 400, textAlign = defaultStyle.textAlign, textBaseline = defaultStyle.textBaseline, textBackgroundBorderColor = theme?.textBackgroundBorderColor, textBackgroundBorderRadius = theme?.textBackgroundBorderRadius ?? 4, textBackgroundBorderWidth = theme?.textBackgroundBorderWidth ?? 1, textBackgroundColor = theme?.textBackgroundColor ?? '#212121', textBackgroundPadding = theme?.textBackgroundPadding ?? 2, textBackgroundVisible = theme?.textBackgroundVisible ?? true, offsetX = theme?.offsetX ?? 0, offsetY = theme?.offsetY ?? 0 } = annotationPoint;
|
|
9893
|
-
const dataset = advancedVSeed.dataset.flat();
|
|
9894
|
-
const selectedData = selectorPoint ? dataset.reduce((res, d)=>{
|
|
9899
|
+
const annotationPointOfDualAxis = generateAnnotationPointPipe({
|
|
9900
|
+
findSelectedDatas: (dataset, s, spec, context)=>dataset.reduce((res, d)=>{
|
|
9901
|
+
const { advancedVSeed } = context;
|
|
9902
|
+
const allMeasureIds = findAllMeasures(advancedVSeed.reshapeMeasures ?? advancedVSeed.measures).map((m)=>m.id);
|
|
9895
9903
|
const pickedDatum = pickWithout(d, allMeasureIds.filter((id)=>id !== d[MeasureId]));
|
|
9896
|
-
if (selector_selector(pickedDatum,
|
|
9897
|
-
return res;
|
|
9898
|
-
}, []) : [];
|
|
9899
|
-
const dx = -10 - (isHorizontalBar ? textFontSize : 0);
|
|
9900
|
-
const dy = isHorizontalBar ? 0 : textFontSize;
|
|
9901
|
-
const baseConfig = {
|
|
9902
|
-
zIndex: 1000,
|
|
9903
|
-
itemLine: {
|
|
9904
|
-
visible: false
|
|
9905
|
-
},
|
|
9906
|
-
itemContent: {
|
|
9907
|
-
offsetY,
|
|
9908
|
-
offsetX,
|
|
9909
|
-
confine: true,
|
|
9910
|
-
text: {
|
|
9911
|
-
text: text,
|
|
9912
|
-
style: {
|
|
9913
|
-
opacity: 0.95,
|
|
9914
|
-
visible: true,
|
|
9915
|
-
textAlign: textAlign,
|
|
9916
|
-
textBaseline: textBaseline,
|
|
9917
|
-
fill: textColor,
|
|
9918
|
-
stroke: textBackgroundColor,
|
|
9919
|
-
lineWidth: 1,
|
|
9920
|
-
fontSize: textFontSize,
|
|
9921
|
-
fontWeight: textFontWeight,
|
|
9922
|
-
dx,
|
|
9923
|
-
dy
|
|
9924
|
-
},
|
|
9925
|
-
labelBackground: {
|
|
9926
|
-
visible: textBackgroundVisible,
|
|
9927
|
-
padding: textBackgroundPadding,
|
|
9928
|
-
style: {
|
|
9929
|
-
opacity: 0.95,
|
|
9930
|
-
cornerRadius: textBackgroundBorderRadius ?? 4,
|
|
9931
|
-
fill: textBackgroundColor,
|
|
9932
|
-
stroke: textBackgroundBorderColor,
|
|
9933
|
-
lineWidth: textBackgroundBorderWidth,
|
|
9934
|
-
dx,
|
|
9935
|
-
dy
|
|
9936
|
-
}
|
|
9937
|
-
}
|
|
9938
|
-
}
|
|
9939
|
-
}
|
|
9940
|
-
};
|
|
9941
|
-
return spec.series?.reduce((res, s, index)=>{
|
|
9942
|
-
selectedData.forEach((datum)=>{
|
|
9943
|
-
res.push({
|
|
9944
|
-
...baseConfig,
|
|
9945
|
-
relativeSeriesIndex: index,
|
|
9946
|
-
coordinate: (data)=>data.find((item)=>isSubset(datum, item, allMeasureIds.filter((id)=>id !== item[MeasureId])))
|
|
9947
|
-
});
|
|
9948
|
-
});
|
|
9904
|
+
if (selector_selector(pickedDatum, s)) res.push(pickedDatum);
|
|
9949
9905
|
return res;
|
|
9950
|
-
}, [])
|
|
9951
|
-
|
|
9952
|
-
|
|
9953
|
-
|
|
9954
|
-
|
|
9955
|
-
|
|
9956
|
-
|
|
9906
|
+
}, []),
|
|
9907
|
+
generateMarkPoint: (datum, spec, context)=>{
|
|
9908
|
+
const { advancedVSeed } = context;
|
|
9909
|
+
const allMeasureIds = findAllMeasures(advancedVSeed.reshapeMeasures ?? advancedVSeed.measures).map((m)=>m.id);
|
|
9910
|
+
return spec.series?.map((s, index)=>({
|
|
9911
|
+
relativeSeriesIndex: index,
|
|
9912
|
+
coordinate: (data)=>data.find((item)=>isSubset(datum, item, allMeasureIds.filter((id)=>id !== item[MeasureId])))
|
|
9913
|
+
}));
|
|
9914
|
+
}
|
|
9915
|
+
});
|
|
9957
9916
|
const dualAxis = [
|
|
9958
9917
|
seriesDualAxis([
|
|
9959
9918
|
initDualAxisPrimary,
|
|
@@ -10230,10 +10189,14 @@
|
|
|
10230
10189
|
};
|
|
10231
10190
|
return result;
|
|
10232
10191
|
};
|
|
10233
|
-
const pivotHideIndicatorName = (spec)=>
|
|
10192
|
+
const pivotHideIndicatorName = (spec, context)=>{
|
|
10193
|
+
const { advancedVSeed } = context;
|
|
10194
|
+
const { datasetReshapeInfo } = advancedVSeed;
|
|
10195
|
+
return {
|
|
10234
10196
|
...spec,
|
|
10235
|
-
hideIndicatorName:
|
|
10236
|
-
}
|
|
10197
|
+
hideIndicatorName: datasetReshapeInfo.length <= 1
|
|
10198
|
+
};
|
|
10199
|
+
};
|
|
10237
10200
|
const addRegionPadding = (spec)=>{
|
|
10238
10201
|
const result = {
|
|
10239
10202
|
...spec
|
|
@@ -11505,6 +11468,8 @@
|
|
|
11505
11468
|
'yAxis',
|
|
11506
11469
|
'crosshairRect',
|
|
11507
11470
|
'whiskers',
|
|
11471
|
+
'boxMaxWidth',
|
|
11472
|
+
'boxGapInGroup',
|
|
11508
11473
|
'dimensionLinkage'
|
|
11509
11474
|
]);
|
|
11510
11475
|
const config = replaceNullToUndefined(pickedConfig);
|
|
@@ -11600,7 +11565,7 @@
|
|
|
11600
11565
|
const i = (n - 1) * percent, i0 = Math.floor(i), value0 = valueof(values[i0], i0, values);
|
|
11601
11566
|
return value0 + (valueof(values[i0 + 1], i0 + 1, values) - value0) * (i - i0);
|
|
11602
11567
|
}
|
|
11603
|
-
const
|
|
11568
|
+
const boxplot = (data, options)=>{
|
|
11604
11569
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
11605
11570
|
const field = null == options ? void 0 : options.field;
|
|
11606
11571
|
if (!field) return [];
|
|
@@ -11624,8 +11589,8 @@
|
|
|
11624
11589
|
}
|
|
11625
11590
|
}
|
|
11626
11591
|
if (common_isArray(whiskers)) whiskers = [
|
|
11627
|
-
|
|
11628
|
-
|
|
11592
|
+
common_clamp(Math.min.apply(null, whiskers), 0, 1),
|
|
11593
|
+
common_clamp(Math.max.apply(null, whiskers), 0, 1)
|
|
11629
11594
|
];
|
|
11630
11595
|
const out = [];
|
|
11631
11596
|
for (const [key, vals] of groups){
|
|
@@ -11664,7 +11629,7 @@
|
|
|
11664
11629
|
const boxPlotDataList = [];
|
|
11665
11630
|
encoding.value.forEach((f)=>{
|
|
11666
11631
|
const m = allMeasures.find((m)=>m.id === f);
|
|
11667
|
-
const boxPlotData =
|
|
11632
|
+
const boxPlotData = boxplot(dataset, {
|
|
11668
11633
|
field: f,
|
|
11669
11634
|
groupField: [
|
|
11670
11635
|
...encoding.x ?? [],
|
|
@@ -11758,7 +11723,7 @@
|
|
|
11758
11723
|
const boxPlotDataList = [];
|
|
11759
11724
|
validEncodingIds.forEach((f)=>{
|
|
11760
11725
|
const m = subMeasures.find((m)=>m.id === f);
|
|
11761
|
-
const boxPlotData =
|
|
11726
|
+
const boxPlotData = boxplot(dataset, {
|
|
11762
11727
|
field: f,
|
|
11763
11728
|
groupField: [
|
|
11764
11729
|
...encoding.x ?? [],
|
|
@@ -11883,6 +11848,26 @@
|
|
|
11883
11848
|
result.animation = true;
|
|
11884
11849
|
return result;
|
|
11885
11850
|
};
|
|
11851
|
+
const boxMaxWidth_boxMaxWidth = (spec, context)=>{
|
|
11852
|
+
const { advancedVSeed, vseed } = context;
|
|
11853
|
+
const { chartType } = vseed;
|
|
11854
|
+
const boxMaxWidth = advancedVSeed.config?.[chartType]?.boxMaxWidth;
|
|
11855
|
+
if (!chunk_JK3VNB42_n(boxMaxWidth)) return {
|
|
11856
|
+
...spec,
|
|
11857
|
+
boxMaxWidth
|
|
11858
|
+
};
|
|
11859
|
+
return spec;
|
|
11860
|
+
};
|
|
11861
|
+
const boxGapInGroup_boxGapInGroup = (spec, context)=>{
|
|
11862
|
+
const { advancedVSeed, vseed } = context;
|
|
11863
|
+
const { chartType } = vseed;
|
|
11864
|
+
const boxGapInGroup = advancedVSeed.config?.[chartType]?.boxGapInGroup;
|
|
11865
|
+
if (!chunk_JK3VNB42_n(boxGapInGroup)) return {
|
|
11866
|
+
...spec,
|
|
11867
|
+
boxGapInGroup
|
|
11868
|
+
};
|
|
11869
|
+
return spec;
|
|
11870
|
+
};
|
|
11886
11871
|
const datasetBoxplot = (spec, context)=>{
|
|
11887
11872
|
const { advancedVSeed, vseed } = context;
|
|
11888
11873
|
const { datasetReshapeInfo } = advancedVSeed;
|
|
@@ -12120,9 +12105,11 @@
|
|
|
12120
12105
|
}
|
|
12121
12106
|
};
|
|
12122
12107
|
};
|
|
12123
|
-
const
|
|
12108
|
+
const boxplot_boxplot = [
|
|
12124
12109
|
initBoxplot,
|
|
12125
12110
|
stackCornerRadius_stackCornerRadius,
|
|
12111
|
+
boxMaxWidth_boxMaxWidth,
|
|
12112
|
+
boxGapInGroup_boxGapInGroup,
|
|
12126
12113
|
colorAdapter(color_color, linearColor),
|
|
12127
12114
|
background_backgroundColor,
|
|
12128
12115
|
datasetBoxplot,
|
|
@@ -12147,6 +12134,8 @@
|
|
|
12147
12134
|
pivotIndicators_pivotIndicators([
|
|
12148
12135
|
initBoxplot,
|
|
12149
12136
|
stackCornerRadius_stackCornerRadius,
|
|
12137
|
+
boxMaxWidth_boxMaxWidth,
|
|
12138
|
+
boxGapInGroup_boxGapInGroup,
|
|
12150
12139
|
colorAdapter(color_color, linearColor),
|
|
12151
12140
|
background_backgroundColor,
|
|
12152
12141
|
datasetBoxplot,
|
|
@@ -12170,12 +12159,57 @@
|
|
|
12170
12159
|
dimensionLinkage
|
|
12171
12160
|
];
|
|
12172
12161
|
const boxplotSpecPipeline = [
|
|
12173
|
-
pivotAdapter_pivotAdapter(
|
|
12162
|
+
pivotAdapter_pivotAdapter(boxplot_boxplot, pivotBoxplot)
|
|
12174
12163
|
];
|
|
12175
|
-
const
|
|
12164
|
+
const registerBoxPlot = ()=>{
|
|
12176
12165
|
Builder._advancedPipelineMap.boxPlot = boxplotAdvancedPipeline;
|
|
12177
12166
|
Builder._specPipelineMap.boxPlot = boxplotSpecPipeline;
|
|
12178
12167
|
};
|
|
12168
|
+
const isArrayLike_isArrayLike = function(value) {
|
|
12169
|
+
return null !== value && "function" != typeof value && Number.isFinite(value.length);
|
|
12170
|
+
};
|
|
12171
|
+
const common_isArrayLike = isArrayLike_isArrayLike;
|
|
12172
|
+
function baseMerge(target, source, shallowArray = !1, skipTargetArray = !1) {
|
|
12173
|
+
if (source) {
|
|
12174
|
+
if (target === source) return;
|
|
12175
|
+
if (common_isValid(source) && "object" == typeof source) {
|
|
12176
|
+
const iterable = Object(source), props = [];
|
|
12177
|
+
for(const key in iterable)props.push(key);
|
|
12178
|
+
let { length: length } = props, propIndex = -1;
|
|
12179
|
+
for(; length--;){
|
|
12180
|
+
const key = props[++propIndex];
|
|
12181
|
+
!common_isValid(iterable[key]) || "object" != typeof iterable[key] || skipTargetArray && common_isArray(target[key]) ? assignMergeValue(target, key, iterable[key]) : baseMergeDeep(target, source, key, shallowArray, skipTargetArray);
|
|
12182
|
+
}
|
|
12183
|
+
}
|
|
12184
|
+
}
|
|
12185
|
+
}
|
|
12186
|
+
function baseMergeDeep(target, source, key, shallowArray = !1, skipTargetArray = !1) {
|
|
12187
|
+
const objValue = target[key], srcValue = source[key];
|
|
12188
|
+
let newValue = source[key], isCommon = !0;
|
|
12189
|
+
if (common_isArray(srcValue)) {
|
|
12190
|
+
if (shallowArray) newValue = [];
|
|
12191
|
+
else if (common_isArray(objValue)) newValue = objValue;
|
|
12192
|
+
else if (common_isArrayLike(objValue)) {
|
|
12193
|
+
newValue = new Array(objValue.length);
|
|
12194
|
+
let index = -1;
|
|
12195
|
+
const length = objValue.length;
|
|
12196
|
+
for(; ++index < length;)newValue[index] = objValue[index];
|
|
12197
|
+
}
|
|
12198
|
+
} else common_isPlainObject(srcValue) ? (newValue = null != objValue ? objValue : {}, "function" != typeof objValue && "object" == typeof objValue || (newValue = {})) : isCommon = !1;
|
|
12199
|
+
isCommon && baseMerge(newValue, srcValue, shallowArray, skipTargetArray), assignMergeValue(target, key, newValue);
|
|
12200
|
+
}
|
|
12201
|
+
function assignMergeValue(target, key, value) {
|
|
12202
|
+
(void 0 === value || eq(target[key], value)) && (void 0 !== value || key in target) || (target[key] = value);
|
|
12203
|
+
}
|
|
12204
|
+
function eq(value, other) {
|
|
12205
|
+
return value === other || Number.isNaN(value) && Number.isNaN(other);
|
|
12206
|
+
}
|
|
12207
|
+
function merge(target, ...sources) {
|
|
12208
|
+
let sourceIndex = -1;
|
|
12209
|
+
const length = sources.length;
|
|
12210
|
+
for(; ++sourceIndex < length;)baseMerge(target, sources[sourceIndex], !0);
|
|
12211
|
+
return target;
|
|
12212
|
+
}
|
|
12179
12213
|
const histogramConfig = (advancedVSeed, context)=>{
|
|
12180
12214
|
const { vseed } = context;
|
|
12181
12215
|
const { chartType } = vseed;
|
|
@@ -12198,6 +12232,22 @@
|
|
|
12198
12232
|
'dimensionLinkage'
|
|
12199
12233
|
]);
|
|
12200
12234
|
let config = replaceNullToUndefined(pickedConfig);
|
|
12235
|
+
if (pickedConfig?.binValueType === 'percentage') config = merge({}, {
|
|
12236
|
+
yAxis: {
|
|
12237
|
+
autoFomat: false,
|
|
12238
|
+
numFormat: {
|
|
12239
|
+
type: 'percent',
|
|
12240
|
+
fractionDigits: 1
|
|
12241
|
+
}
|
|
12242
|
+
},
|
|
12243
|
+
label: {
|
|
12244
|
+
autoFormat: false,
|
|
12245
|
+
numFormat: {
|
|
12246
|
+
type: 'percent',
|
|
12247
|
+
fractionDigits: 1
|
|
12248
|
+
}
|
|
12249
|
+
}
|
|
12250
|
+
}, config);
|
|
12201
12251
|
if (!hasColorEncoding && !config?.legend?.enable) config = {
|
|
12202
12252
|
...config,
|
|
12203
12253
|
legend: {
|
|
@@ -12368,7 +12418,7 @@
|
|
|
12368
12418
|
}
|
|
12369
12419
|
return finalOut;
|
|
12370
12420
|
};
|
|
12371
|
-
const
|
|
12421
|
+
const bin = (data, options)=>{
|
|
12372
12422
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
12373
12423
|
const field = null == options ? void 0 : options.field;
|
|
12374
12424
|
if (!field) return [];
|
|
@@ -12473,7 +12523,7 @@
|
|
|
12473
12523
|
if (encoding.value?.length) {
|
|
12474
12524
|
const valueField = encoding.value[0];
|
|
12475
12525
|
const m = allMeasures.find((m)=>m.id === valueField);
|
|
12476
|
-
const binData =
|
|
12526
|
+
const binData = bin(dataset, {
|
|
12477
12527
|
field: valueField,
|
|
12478
12528
|
groupField: [
|
|
12479
12529
|
...encoding.x ?? [],
|
|
@@ -12582,7 +12632,7 @@
|
|
|
12582
12632
|
if (encoding.value?.length) {
|
|
12583
12633
|
const valueField = encoding.value[0];
|
|
12584
12634
|
const m = subMeasures.find((m)=>m.id === valueField);
|
|
12585
|
-
const binData =
|
|
12635
|
+
const binData = bin(dataset, {
|
|
12586
12636
|
field: valueField,
|
|
12587
12637
|
groupField: [
|
|
12588
12638
|
...encoding.x ?? [],
|
|
@@ -12720,6 +12770,10 @@
|
|
|
12720
12770
|
const formatter = createNumFormatter(numFormat);
|
|
12721
12771
|
return (value)=>createLinearFormat(value, autoFormat, numFormat, formatter);
|
|
12722
12772
|
};
|
|
12773
|
+
const getDefaultValueFormatterOfHistogram = (binValueType = 'count')=>'percentage' === binValueType ? createNumFormatter({
|
|
12774
|
+
type: 'percent',
|
|
12775
|
+
fractionDigits: 1
|
|
12776
|
+
}) : (value)=>autoFormatter(value);
|
|
12723
12777
|
const tooltipHistogram_VCHART_OUTLIER_KEY = '__VCHART_BOX_PLOT_OUTLIER_VALUE';
|
|
12724
12778
|
const tooltipHistogram = (spec, context)=>{
|
|
12725
12779
|
const result = {
|
|
@@ -12728,11 +12782,12 @@
|
|
|
12728
12782
|
const { advancedVSeed } = context;
|
|
12729
12783
|
const { chartType, dimensions, encoding } = advancedVSeed;
|
|
12730
12784
|
const baseConfig = advancedVSeed.config[chartType];
|
|
12731
|
-
const { tooltip = {
|
|
12785
|
+
const { binValueType, tooltip = {
|
|
12732
12786
|
enable: true
|
|
12733
12787
|
} } = baseConfig;
|
|
12734
12788
|
const { enable } = tooltip;
|
|
12735
12789
|
const defaultXFormatter = getDefaultXFormatterOfHistogram(advancedVSeed);
|
|
12790
|
+
const defaultValueFormatter = getDefaultValueFormatterOfHistogram(binValueType);
|
|
12736
12791
|
result.tooltip = {
|
|
12737
12792
|
style: getTooltipStyle(tooltip),
|
|
12738
12793
|
visible: enable,
|
|
@@ -12740,18 +12795,18 @@
|
|
|
12740
12795
|
title: {
|
|
12741
12796
|
visible: false
|
|
12742
12797
|
},
|
|
12743
|
-
content: tooltipHistogram_createMarkContent(encoding.tooltip || [], dimensions, encoding, defaultXFormatter)
|
|
12798
|
+
content: tooltipHistogram_createMarkContent(encoding.tooltip || [], dimensions, encoding, defaultXFormatter, defaultValueFormatter)
|
|
12744
12799
|
},
|
|
12745
12800
|
dimension: {
|
|
12746
12801
|
title: {
|
|
12747
12802
|
visible: false
|
|
12748
12803
|
},
|
|
12749
|
-
content: tooltipHistogram_createMarkContent(encoding.tooltip || [], dimensions, encoding, defaultXFormatter)
|
|
12804
|
+
content: tooltipHistogram_createMarkContent(encoding.tooltip || [], dimensions, encoding, defaultXFormatter, defaultValueFormatter)
|
|
12750
12805
|
}
|
|
12751
12806
|
};
|
|
12752
12807
|
return result;
|
|
12753
12808
|
};
|
|
12754
|
-
const tooltipHistogram_createMarkContent = (tooltip, dimensions, encoding, dimFormatter)=>{
|
|
12809
|
+
const tooltipHistogram_createMarkContent = (tooltip, dimensions, encoding, dimFormatter, defaultValueFormatter)=>{
|
|
12755
12810
|
const dims = C(dimensions.filter((item)=>tooltip.includes(item.id)), T((item)=>item.id), T((item)=>item.alias));
|
|
12756
12811
|
const dimContent = dims.map((item)=>({
|
|
12757
12812
|
visible: true,
|
|
@@ -12763,7 +12818,7 @@
|
|
|
12763
12818
|
if (encoding.color?.includes(item.id)) return datum?.[ColorEncoding];
|
|
12764
12819
|
if (encoding.x?.includes(item.id)) return datum?.[XEncoding];
|
|
12765
12820
|
}
|
|
12766
|
-
return datum?.[item.id];
|
|
12821
|
+
return defaultValueFormatter(datum?.[item.id]);
|
|
12767
12822
|
}
|
|
12768
12823
|
}));
|
|
12769
12824
|
const defaultContent = [
|
|
@@ -12777,7 +12832,7 @@
|
|
|
12777
12832
|
},
|
|
12778
12833
|
value: (datum)=>{
|
|
12779
12834
|
if (!datum) return '';
|
|
12780
|
-
return datum[FoldMeasureValue];
|
|
12835
|
+
return defaultValueFormatter(datum[FoldMeasureValue]);
|
|
12781
12836
|
}
|
|
12782
12837
|
}
|
|
12783
12838
|
];
|
|
@@ -12807,6 +12862,24 @@
|
|
|
12807
12862
|
};
|
|
12808
12863
|
return result;
|
|
12809
12864
|
};
|
|
12865
|
+
const annotationPointOfHistogram = generateAnnotationPointPipe({
|
|
12866
|
+
generateMarkPoint: (datum, spec)=>{
|
|
12867
|
+
const histogramSpec = spec;
|
|
12868
|
+
const xField = histogramSpec.xField;
|
|
12869
|
+
const x2Field = histogramSpec.x2Field;
|
|
12870
|
+
return [
|
|
12871
|
+
{
|
|
12872
|
+
coordinate: (data)=>{
|
|
12873
|
+
const d = data.find((item)=>isSubset(datum, item));
|
|
12874
|
+
return d ? {
|
|
12875
|
+
...d,
|
|
12876
|
+
[xField]: (d[xField] + d[x2Field]) / 2
|
|
12877
|
+
} : void 0;
|
|
12878
|
+
}
|
|
12879
|
+
}
|
|
12880
|
+
];
|
|
12881
|
+
}
|
|
12882
|
+
});
|
|
12810
12883
|
const gaussian = (u)=>1 / Math.sqrt(2 * Math.PI) * Math.exp(-0.5 * u * u);
|
|
12811
12884
|
function scott(n, std, dim = 1) {
|
|
12812
12885
|
return n <= 0 || 0 === std ? 0 : std * Math.pow(n, -1 / (dim + 4));
|
|
@@ -12828,7 +12901,7 @@
|
|
|
12828
12901
|
}
|
|
12829
12902
|
return Math.sqrt(s / n);
|
|
12830
12903
|
}
|
|
12831
|
-
function
|
|
12904
|
+
function kde(data, options = {}) {
|
|
12832
12905
|
const n = data.length, kernel = options.kernel || gaussian;
|
|
12833
12906
|
let h = options.bandwidth;
|
|
12834
12907
|
if (!h || h <= 0) {
|
|
@@ -12949,7 +13022,7 @@
|
|
|
12949
13022
|
const viewData = s.getViewData()?.latestData;
|
|
12950
13023
|
if (!dataset || !dataset.length || !viewData || !viewData.length || !scaleY) return null;
|
|
12951
13024
|
const simpleData = dataset.filter((entry)=>rowColumnFields.length ? rowColumnFields.every((dim)=>entry[dim.id] === viewData[0][dim.id]) : true).map((d)=>+d[encoding.value?.[0]]);
|
|
12952
|
-
const res =
|
|
13025
|
+
const res = kde(simpleData, {
|
|
12953
13026
|
bandwidth: Math.abs(viewData[0][BinEndMeasureId] - viewData[0][BinStartMeasureId])
|
|
12954
13027
|
});
|
|
12955
13028
|
const N = Math.max(3, Math.floor(simpleData.length / 4));
|
|
@@ -13196,7 +13269,7 @@
|
|
|
13196
13269
|
colorAdapter(discreteLegend, colorLegend),
|
|
13197
13270
|
histogramVerticalCrosshairRect,
|
|
13198
13271
|
colorBarStyleFill(barStyle_barStyle),
|
|
13199
|
-
|
|
13272
|
+
annotationPointOfHistogram,
|
|
13200
13273
|
annotationVerticalLine_annotationVerticalLine,
|
|
13201
13274
|
annotationHorizontalLine_annotationHorizontalLine,
|
|
13202
13275
|
annotationAreaBand,
|
|
@@ -13219,7 +13292,7 @@
|
|
|
13219
13292
|
tooltipHistogram,
|
|
13220
13293
|
colorBarStyleFill(barStyle_barStyle),
|
|
13221
13294
|
histogramVerticalCrosshairRect,
|
|
13222
|
-
|
|
13295
|
+
annotationPointOfHistogram,
|
|
13223
13296
|
annotationVerticalLine_annotationVerticalLine,
|
|
13224
13297
|
annotationHorizontalLine_annotationHorizontalLine,
|
|
13225
13298
|
annotationAreaBand,
|
|
@@ -14354,7 +14427,7 @@
|
|
|
14354
14427
|
registerRadar();
|
|
14355
14428
|
registerFunnel();
|
|
14356
14429
|
registerHeatmap();
|
|
14357
|
-
|
|
14430
|
+
registerBoxPlot();
|
|
14358
14431
|
registerHistogram();
|
|
14359
14432
|
registerLightTheme();
|
|
14360
14433
|
registerDarkTheme();
|
|
@@ -14699,7 +14772,7 @@
|
|
|
14699
14772
|
});
|
|
14700
14773
|
return clone(schema, def);
|
|
14701
14774
|
}
|
|
14702
|
-
function
|
|
14775
|
+
function util_merge(a, b) {
|
|
14703
14776
|
const def = mergeDefs(a._zod.def, {
|
|
14704
14777
|
get shape () {
|
|
14705
14778
|
const _shape = {
|
|
@@ -17378,7 +17451,7 @@
|
|
|
17378
17451
|
catchall: void 0
|
|
17379
17452
|
});
|
|
17380
17453
|
inst.extend = (incoming)=>extend(inst, incoming);
|
|
17381
|
-
inst.merge = (other)=>
|
|
17454
|
+
inst.merge = (other)=>util_merge(inst, other);
|
|
17382
17455
|
inst.pick = (mask)=>pick(inst, mask);
|
|
17383
17456
|
inst.omit = (mask)=>omit(inst, mask);
|
|
17384
17457
|
inst.partial = (...args)=>partial(ZodOptional, inst, args[0]);
|
|
@@ -17854,7 +17927,7 @@
|
|
|
17854
17927
|
label: schemas_array(schemas_string()).nullish(),
|
|
17855
17928
|
row: schemas_array(schemas_string()).nullish(),
|
|
17856
17929
|
column: schemas_array(schemas_string()).nullish(),
|
|
17857
|
-
group: schemas_array(schemas_string()).nullish().describe(
|
|
17930
|
+
group: schemas_array(schemas_string()).nullish().describe('已弃用, 请使用颜色替代'),
|
|
17858
17931
|
value: schemas_array(schemas_string()).nullish(),
|
|
17859
17932
|
q1: schemas_array(schemas_string()).nullish(),
|
|
17860
17933
|
q3: schemas_array(schemas_string()).nullish(),
|
|
@@ -18635,6 +18708,8 @@
|
|
|
18635
18708
|
'dotted'
|
|
18636
18709
|
]).optional()
|
|
18637
18710
|
});
|
|
18711
|
+
const zBoxMaxWidth = schemas_number().or(schemas_string());
|
|
18712
|
+
const zBoxGapInGroup = schemas_number().or(schemas_string());
|
|
18638
18713
|
const zBoxplotConfig = schemas_object({
|
|
18639
18714
|
backgroundColor: zBackgroundColor.nullish(),
|
|
18640
18715
|
label: zLabel.nullish(),
|
|
@@ -18653,7 +18728,9 @@
|
|
|
18653
18728
|
}).nullish(),
|
|
18654
18729
|
outlierStyle: zOutlierStyle.omit({
|
|
18655
18730
|
selector: true
|
|
18656
|
-
}).nullish()
|
|
18731
|
+
}).nullish(),
|
|
18732
|
+
boxMaxWidth: zBoxMaxWidth.nullish(),
|
|
18733
|
+
boxGapInGroup: zBoxGapInGroup.nullish()
|
|
18657
18734
|
});
|
|
18658
18735
|
const zHistogramConfig = schemas_object({
|
|
18659
18736
|
backgroundColor: zBackgroundColor.nullish(),
|
|
@@ -18962,7 +19039,7 @@
|
|
|
18962
19039
|
annotationVerticalLine: schemas_array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),
|
|
18963
19040
|
annotationHorizontalLine: schemas_array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),
|
|
18964
19041
|
annotationArea: schemas_array(zAnnotationArea).or(zAnnotationArea).nullish(),
|
|
18965
|
-
polynomialRegressionLine: schemas_array(zPolynomialRegressionLine).or(zPolynomialRegressionLine).
|
|
19042
|
+
polynomialRegressionLine: schemas_array(zPolynomialRegressionLine).or(zPolynomialRegressionLine).nullish(),
|
|
18966
19043
|
dimensionLinkage: zDimensionLinkage.nullish(),
|
|
18967
19044
|
locale: zLocale.nullish()
|
|
18968
19045
|
});
|
|
@@ -19166,10 +19243,10 @@
|
|
|
19166
19243
|
annotationVerticalLine: schemas_array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),
|
|
19167
19244
|
annotationHorizontalLine: schemas_array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),
|
|
19168
19245
|
annotationArea: schemas_array(zAnnotationArea).or(zAnnotationArea).nullish(),
|
|
19169
|
-
linearRegressionLine: schemas_array(zLinearRegressionLine).or(zLinearRegressionLine).
|
|
19170
|
-
lowessRegressionLine: schemas_array(zLowessRegressionLine).or(zLowessRegressionLine).
|
|
19171
|
-
polynomialRegressionLine: schemas_array(zPolynomialRegressionLine).or(zPolynomialRegressionLine).
|
|
19172
|
-
logisticRegressionLine: schemas_array(zLogisticRegressionLine).or(zLogisticRegressionLine).
|
|
19246
|
+
linearRegressionLine: schemas_array(zLinearRegressionLine).or(zLinearRegressionLine).nullish(),
|
|
19247
|
+
lowessRegressionLine: schemas_array(zLowessRegressionLine).or(zLowessRegressionLine).nullish(),
|
|
19248
|
+
polynomialRegressionLine: schemas_array(zPolynomialRegressionLine).or(zPolynomialRegressionLine).nullish(),
|
|
19249
|
+
logisticRegressionLine: schemas_array(zLogisticRegressionLine).or(zLogisticRegressionLine).nullish(),
|
|
19173
19250
|
dimensionLinkage: zDimensionLinkage.nullish(),
|
|
19174
19251
|
locale: zLocale.nullish()
|
|
19175
19252
|
});
|
|
@@ -19331,7 +19408,7 @@
|
|
|
19331
19408
|
theme: zTheme.nullish(),
|
|
19332
19409
|
locale: zLocale.nullish()
|
|
19333
19410
|
});
|
|
19334
|
-
const
|
|
19411
|
+
const zBoxPlot = schemas_object({
|
|
19335
19412
|
chartType: literal('boxPlot'),
|
|
19336
19413
|
dataset: zDataset.nullish(),
|
|
19337
19414
|
encoding: zEncoding.nullish(),
|
|
@@ -19356,7 +19433,9 @@
|
|
|
19356
19433
|
annotationHorizontalLine: schemas_array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),
|
|
19357
19434
|
annotationArea: schemas_array(zAnnotationArea).or(zAnnotationArea).nullish(),
|
|
19358
19435
|
dimensionLinkage: zDimensionLinkage.nullish(),
|
|
19359
|
-
locale: zLocale.nullish()
|
|
19436
|
+
locale: zLocale.nullish(),
|
|
19437
|
+
boxMaxWidth: zBoxMaxWidth.nullish(),
|
|
19438
|
+
boxGapInGroup: zBoxGapInGroup.nullish()
|
|
19360
19439
|
});
|
|
19361
19440
|
const zVSeed = discriminatedUnion('chartType', [
|
|
19362
19441
|
zTable,
|
|
@@ -19379,7 +19458,7 @@
|
|
|
19379
19458
|
zRadar,
|
|
19380
19459
|
zFunnel,
|
|
19381
19460
|
zHeatmap,
|
|
19382
|
-
|
|
19461
|
+
zBoxPlot,
|
|
19383
19462
|
zHistogram
|
|
19384
19463
|
]);
|
|
19385
19464
|
const zCellStyle = schemas_object({
|