@visactor/vseed 0.0.15 → 0.0.17
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/builder/builder/build.d.ts +1 -0
- package/dist/builder/builder/build.d.ts.map +1 -0
- package/dist/builder/builder/buildAdvanced.d.ts +1 -0
- package/dist/builder/builder/buildAdvanced.d.ts.map +1 -0
- package/dist/builder/builder/buildSpec.d.ts +1 -0
- package/dist/builder/builder/buildSpec.d.ts.map +1 -0
- package/dist/builder/builder/builder.d.ts +830 -130
- package/dist/builder/builder/builder.d.ts.map +1 -0
- package/dist/builder/builder/index.d.ts +1 -0
- package/dist/builder/builder/index.d.ts.map +1 -0
- package/dist/builder/index.d.ts +1 -0
- package/dist/builder/index.d.ts.map +1 -0
- package/dist/builder/register/all.d.ts +1 -0
- package/dist/builder/register/all.d.ts.map +1 -0
- package/dist/builder/register/chartType.d.ts +6 -1
- package/dist/builder/register/chartType.d.ts.map +1 -0
- package/dist/builder/register/index.d.ts +1 -0
- package/dist/builder/register/index.d.ts.map +1 -0
- package/dist/builder/register/theme.d.ts +1 -0
- package/dist/builder/register/theme.d.ts.map +1 -0
- package/dist/dataReshape/constant.d.ts +1 -0
- package/dist/dataReshape/constant.d.ts.map +1 -0
- package/dist/dataReshape/dataReshapeFor1D1M.d.ts +1 -0
- package/dist/dataReshape/dataReshapeFor1D1M.d.ts.map +1 -0
- package/dist/dataReshape/dataReshapeFor1D2M.d.ts +20 -0
- package/dist/dataReshape/dataReshapeFor1D2M.d.ts.map +1 -0
- package/dist/dataReshape/dataReshapeFor2D1M.d.ts +1 -0
- package/dist/dataReshape/dataReshapeFor2D1M.d.ts.map +1 -0
- package/dist/dataReshape/foldMeasures.d.ts +1 -0
- package/dist/dataReshape/foldMeasures.d.ts.map +1 -0
- package/dist/dataReshape/index.d.ts +2 -0
- package/dist/dataReshape/index.d.ts.map +1 -0
- package/dist/dataReshape/unfoldDimensions.d.ts +1 -0
- package/dist/dataReshape/unfoldDimensions.d.ts.map +1 -0
- package/dist/dataSelector/index.d.ts +1 -0
- package/dist/dataSelector/index.d.ts.map +1 -0
- package/dist/dataSelector/selector.d.ts +1 -0
- package/dist/dataSelector/selector.d.ts.map +1 -0
- package/dist/i18n/i18n.d.ts +1 -0
- package/dist/i18n/i18n.d.ts.map +1 -0
- package/dist/i18n/index.d.ts +1 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/index.cjs +1251 -184
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1228 -197
- package/dist/index.js.map +1 -1
- package/dist/pipeline/advanced/index.d.ts +1 -0
- package/dist/pipeline/advanced/index.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipeline/area.d.ts +1 -0
- package/dist/pipeline/advanced/pipeline/area.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipeline/areaPercent.d.ts +1 -0
- package/dist/pipeline/advanced/pipeline/areaPercent.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipeline/bar.d.ts +1 -0
- package/dist/pipeline/advanced/pipeline/bar.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipeline/barParallel.d.ts +1 -0
- package/dist/pipeline/advanced/pipeline/barParallel.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipeline/barPercent.d.ts +1 -0
- package/dist/pipeline/advanced/pipeline/barPercent.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipeline/column.d.ts +1 -0
- package/dist/pipeline/advanced/pipeline/column.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipeline/columnParallel.d.ts +1 -0
- package/dist/pipeline/advanced/pipeline/columnParallel.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipeline/columnPercent.d.ts +1 -0
- package/dist/pipeline/advanced/pipeline/columnPercent.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipeline/donut.d.ts +3 -0
- package/dist/pipeline/advanced/pipeline/donut.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipeline/funnel.d.ts +3 -0
- package/dist/pipeline/advanced/pipeline/funnel.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipeline/index.d.ts +6 -0
- package/dist/pipeline/advanced/pipeline/index.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipeline/line.d.ts +1 -0
- package/dist/pipeline/advanced/pipeline/line.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipeline/pie.d.ts +1 -0
- package/dist/pipeline/advanced/pipeline/pie.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipeline/rose.d.ts +3 -0
- package/dist/pipeline/advanced/pipeline/rose.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipeline/roseParallel.d.ts +3 -0
- package/dist/pipeline/advanced/pipeline/roseParallel.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipeline/scatter.d.ts +3 -0
- package/dist/pipeline/advanced/pipeline/scatter.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/annotation/annotation.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/annotation/annotation.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/annotation/index.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/annotation/index.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/baseConfig/baseConfig.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/baseConfig/baseConfig.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/baseConfig/index.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/baseConfig/index.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/config/config.d.ts +6 -0
- package/dist/pipeline/advanced/pipes/config/config.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/config/index.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/config/index.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/encoding/encodingFunnel.d.ts +3 -0
- package/dist/pipeline/advanced/pipes/encoding/encodingFunnel.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/encoding/encodingPie.d.ts +3 -0
- package/dist/pipeline/advanced/pipes/encoding/encodingPie.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/encoding/encodingRose.d.ts +3 -0
- package/dist/pipeline/advanced/pipes/encoding/encodingRose.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/encoding/encodingXY.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/encoding/encodingXY.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/encoding/encodingYX.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/encoding/encodingYX.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/encoding/encodingYY.d.ts +3 -0
- package/dist/pipeline/advanced/pipes/encoding/encodingYY.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/encoding/index.d.ts +4 -1
- package/dist/pipeline/advanced/pipes/encoding/index.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/i18n/index.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/i18n/index.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/i18n/locale.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/i18n/locale.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/index.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/index.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/init/autoDimensions.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/init/autoDimensions.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/init/autoMeasures.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/init/autoMeasures.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/init/index.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/init/index.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/init/initAdvancedVSeed.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/init/initAdvancedVSeed.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/init/utils.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/init/utils.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/markStyle/index.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/markStyle/index.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/markStyle/markStyle.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/markStyle/markStyle.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/pivot/index.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/pivot/index.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/pivot/pivotAdapter.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/pivot/pivotAdapter.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/reshape/index.d.ts +3 -0
- package/dist/pipeline/advanced/pipes/reshape/index.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/reshape/pivotReshapeTo1D1M.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/reshape/pivotReshapeTo1D1M.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/reshape/pivotReshapeTo1D2M.d.ts +9 -0
- package/dist/pipeline/advanced/pipes/reshape/pivotReshapeTo1D2M.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/reshape/pivotReshapeTo2D1M.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/reshape/pivotReshapeTo2D1M.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/reshape/reshapeTo1D1M.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/reshape/reshapeTo1D1M.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/reshape/reshapeTo1D2M.d.ts +9 -0
- package/dist/pipeline/advanced/pipes/reshape/reshapeTo1D2M.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/reshape/reshapeTo2D1M.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/reshape/reshapeTo2D1M.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/theme/index.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/theme/index.d.ts.map +1 -0
- package/dist/pipeline/advanced/pipes/theme/theme.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/theme/theme.d.ts.map +1 -0
- package/dist/pipeline/constant.d.ts +1 -0
- package/dist/pipeline/constant.d.ts.map +1 -0
- package/dist/pipeline/index.d.ts +1 -0
- package/dist/pipeline/index.d.ts.map +1 -0
- package/dist/pipeline/spec/index.d.ts +1 -0
- package/dist/pipeline/spec/index.d.ts.map +1 -0
- package/dist/pipeline/spec/pipeline/area.d.ts +1 -0
- package/dist/pipeline/spec/pipeline/area.d.ts.map +1 -0
- package/dist/pipeline/spec/pipeline/areaPercent.d.ts +1 -0
- package/dist/pipeline/spec/pipeline/areaPercent.d.ts.map +1 -0
- package/dist/pipeline/spec/pipeline/bar.d.ts +1 -0
- package/dist/pipeline/spec/pipeline/bar.d.ts.map +1 -0
- package/dist/pipeline/spec/pipeline/barParallel.d.ts +1 -0
- package/dist/pipeline/spec/pipeline/barParallel.d.ts.map +1 -0
- package/dist/pipeline/spec/pipeline/barPercent.d.ts +1 -0
- package/dist/pipeline/spec/pipeline/barPercent.d.ts.map +1 -0
- package/dist/pipeline/spec/pipeline/column.d.ts +1 -0
- package/dist/pipeline/spec/pipeline/column.d.ts.map +1 -0
- package/dist/pipeline/spec/pipeline/columnParallel.d.ts +1 -0
- package/dist/pipeline/spec/pipeline/columnParallel.d.ts.map +1 -0
- package/dist/pipeline/spec/pipeline/columnPercent.d.ts +1 -0
- package/dist/pipeline/spec/pipeline/columnPercent.d.ts.map +1 -0
- package/dist/pipeline/spec/pipeline/donut.d.ts +3 -0
- package/dist/pipeline/spec/pipeline/donut.d.ts.map +1 -0
- package/dist/pipeline/spec/pipeline/funnel.d.ts +3 -0
- package/dist/pipeline/spec/pipeline/funnel.d.ts.map +1 -0
- package/dist/pipeline/spec/pipeline/index.d.ts +6 -0
- package/dist/pipeline/spec/pipeline/index.d.ts.map +1 -0
- package/dist/pipeline/spec/pipeline/line.d.ts +1 -0
- package/dist/pipeline/spec/pipeline/line.d.ts.map +1 -0
- package/dist/pipeline/spec/pipeline/pie.d.ts +1 -0
- package/dist/pipeline/spec/pipeline/pie.d.ts.map +1 -0
- package/dist/pipeline/spec/pipeline/rose.d.ts +2 -0
- package/dist/pipeline/spec/pipeline/rose.d.ts.map +1 -0
- package/dist/pipeline/spec/pipeline/roseParallel.d.ts +3 -0
- package/dist/pipeline/spec/pipeline/roseParallel.d.ts.map +1 -0
- package/dist/pipeline/spec/pipeline/scatter.d.ts +3 -0
- package/dist/pipeline/spec/pipeline/scatter.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/index.d.ts +15 -14
- package/dist/pipeline/spec/pipes/index.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationArea.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationArea.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationAreaBand.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationAreaBand.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationHorizontalLine.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationHorizontalLine.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationPoint.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationPoint.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationVerticalLine.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationVerticalLine.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/{annotation → vchart/annotation}/index.d.ts +1 -0
- package/dist/pipeline/spec/pipes/vchart/annotation/index.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/annotation/utils.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/annotation/utils.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/axes/a.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/axes/a.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/axes/angle.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/axes/angle.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/{axes → vchart/axes}/index.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/axes/index.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/axes/radius.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/axes/radius.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/axes/xBand.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/axes/xBand.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/axes/xLinear.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/axes/xLinear.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/axes/yBand.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/axes/yBand.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/axes/yLinear.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/axes/yLinear.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/backgroundColor/background.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/backgroundColor/background.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/{backgroundColor → vchart/backgroundColor}/index.d.ts +1 -0
- package/dist/pipeline/spec/pipes/vchart/backgroundColor/index.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/color/color.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/color/color.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/color/index.d.ts +2 -0
- package/dist/pipeline/spec/pipes/vchart/color/index.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/crosshair/horizontalCrosshairLine.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/crosshair/horizontalCrosshairLine.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/crosshair/horizontalCrosshairRect.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/crosshair/horizontalCrosshairRect.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/{crosshair → vchart/crosshair}/index.d.ts +2 -0
- package/dist/pipeline/spec/pipes/vchart/crosshair/index.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/crosshair/verticalCrosshairLine.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/crosshair/verticalCrosshairLine.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/crosshair/verticalCrosshairRect.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/crosshair/verticalCrosshairRect.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/dataset/dataset.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/dataset/dataset.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/{dataset → vchart/dataset}/datasetPivot.d.ts +2 -1
- package/dist/pipeline/spec/pipes/vchart/dataset/datasetPivot.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/{dataset → vchart/dataset}/index.d.ts +1 -0
- package/dist/pipeline/spec/pipes/vchart/dataset/index.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/init/area.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/init/area.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/init/bar.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/init/bar.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/init/barParallel.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/init/barParallel.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/init/column.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/init/column.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/init/columnParallel.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/init/columnParallel.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/init/donut.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/init/donut.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/init/funnel.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/init/funnel.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/{init → vchart/init}/index.d.ts +5 -0
- package/dist/pipeline/spec/pipes/vchart/init/index.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/init/line.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/init/line.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/init/pie.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/init/pie.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/{init → vchart/init}/pivot.d.ts +2 -1
- package/dist/pipeline/spec/pipes/vchart/init/pivot.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/init/rose.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/init/rose.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/init/roseParallel.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/init/roseParallel.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/init/scatter.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/init/scatter.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/label/index.d.ts +2 -0
- package/dist/pipeline/spec/pipes/vchart/label/index.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/label/label.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/label/label.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/legend/discreteLegend.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/legend/discreteLegend.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/{legend → vchart/legend}/index.d.ts +1 -0
- package/dist/pipeline/spec/pipes/vchart/legend/index.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/legend/pivotDiscreteLegend.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/legend/pivotDiscreteLegend.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/markStyle/areaStyle.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/markStyle/areaStyle.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/markStyle/barStyle.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/markStyle/barStyle.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/{markStyle → vchart/markStyle}/index.d.ts +2 -0
- package/dist/pipeline/spec/pipes/vchart/markStyle/index.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/markStyle/lineStyle.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/markStyle/lineStyle.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/markStyle/pointState.d.ts +4 -0
- package/dist/pipeline/spec/pipes/vchart/markStyle/pointState.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/markStyle/pointStyle.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/markStyle/pointStyle.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/{percent → vchart/percent}/index.d.ts +1 -0
- package/dist/pipeline/spec/pipes/vchart/percent/index.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/percent/percent.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/percent/percent.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/{pivotChart → vchart/pivotChart}/index.d.ts +1 -0
- package/dist/pipeline/spec/pipes/vchart/pivotChart/index.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotAdapter.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotAdapter.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotColumnDimensions.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotColumnDimensions.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotGridStyle.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotGridStyle.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/{pivotChart → vchart/pivotChart}/pivotIndicators.d.ts +2 -1
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotIndicators.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotRowDimensions.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotRowDimensions.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/{stack → vchart/stack}/index.d.ts +1 -0
- package/dist/pipeline/spec/pipes/vchart/stack/index.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/stack/stack.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/stack/stack.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/stack/stackCornerRadius.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/stack/stackCornerRadius.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/{tooltip → vchart/tooltip}/index.d.ts +1 -0
- package/dist/pipeline/spec/pipes/vchart/tooltip/index.d.ts.map +1 -0
- package/dist/pipeline/spec/pipes/vchart/tooltip/tooltip.d.ts +3 -0
- package/dist/pipeline/spec/pipes/vchart/tooltip/tooltip.d.ts.map +1 -0
- package/dist/pipeline/utils/chatType.d.ts +1 -0
- package/dist/pipeline/utils/chatType.d.ts.map +1 -0
- package/dist/pipeline/utils/format/createFormatter.d.ts +1 -0
- package/dist/pipeline/utils/format/createFormatter.d.ts.map +1 -0
- package/dist/pipeline/utils/format/createNumFormatter.d.ts +1 -0
- package/dist/pipeline/utils/format/createNumFormatter.d.ts.map +1 -0
- package/dist/pipeline/utils/format/index.d.ts +1 -0
- package/dist/pipeline/utils/format/index.d.ts.map +1 -0
- package/dist/pipeline/utils/index.d.ts +1 -0
- package/dist/pipeline/utils/index.d.ts.map +1 -0
- package/dist/pipeline/utils/measures/findMeasureById.d.ts +3 -1
- package/dist/pipeline/utils/measures/findMeasureById.d.ts.map +1 -0
- package/dist/pipeline/utils/measures/index.d.ts +2 -1
- package/dist/pipeline/utils/measures/index.d.ts.map +1 -0
- package/dist/pipeline/utils/pipeline.d.ts +1 -0
- package/dist/pipeline/utils/pipeline.d.ts.map +1 -0
- package/dist/theme/dark.d.ts +1 -0
- package/dist/theme/dark.d.ts.map +1 -0
- package/dist/theme/index.d.ts +1 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/light.d.ts +1 -0
- package/dist/theme/light.d.ts.map +1 -0
- package/dist/types/advancedVSeed.d.ts +185 -6
- package/dist/types/advancedVSeed.d.ts.map +1 -0
- package/dist/types/builder/builder.d.ts +2 -1
- package/dist/types/builder/builder.d.ts.map +1 -0
- package/dist/types/builder/index.d.ts +1 -0
- package/dist/types/builder/index.d.ts.map +1 -0
- package/dist/types/builder/spec.d.ts +1 -0
- package/dist/types/builder/spec.d.ts.map +1 -0
- package/dist/types/chartType/area/area.d.ts +1 -0
- package/dist/types/chartType/area/area.d.ts.map +1 -0
- package/dist/types/chartType/area/index.d.ts +1 -0
- package/dist/types/chartType/area/index.d.ts.map +1 -0
- package/dist/types/chartType/areaPercent/areaPercent.d.ts +1 -0
- package/dist/types/chartType/areaPercent/areaPercent.d.ts.map +1 -0
- package/dist/types/chartType/areaPercent/index.d.ts +1 -0
- package/dist/types/chartType/areaPercent/index.d.ts.map +1 -0
- package/dist/types/chartType/bar/bar.d.ts +1 -0
- package/dist/types/chartType/bar/bar.d.ts.map +1 -0
- package/dist/types/chartType/bar/index.d.ts +1 -0
- package/dist/types/chartType/bar/index.d.ts.map +1 -0
- package/dist/types/chartType/barParallel/barParallel.d.ts +1 -0
- package/dist/types/chartType/barParallel/barParallel.d.ts.map +1 -0
- package/dist/types/chartType/barParallel/index.d.ts +1 -0
- package/dist/types/chartType/barParallel/index.d.ts.map +1 -0
- package/dist/types/chartType/barPercent/barPercent.d.ts +1 -0
- package/dist/types/chartType/barPercent/barPercent.d.ts.map +1 -0
- package/dist/types/chartType/barPercent/index.d.ts +1 -0
- package/dist/types/chartType/barPercent/index.d.ts.map +1 -0
- package/dist/types/chartType/column/column.d.ts +1 -0
- package/dist/types/chartType/column/column.d.ts.map +1 -0
- package/dist/types/chartType/column/index.d.ts +1 -0
- package/dist/types/chartType/column/index.d.ts.map +1 -0
- package/dist/types/chartType/columnParallel/columnParallel.d.ts +1 -0
- package/dist/types/chartType/columnParallel/columnParallel.d.ts.map +1 -0
- package/dist/types/chartType/columnParallel/index.d.ts +1 -0
- package/dist/types/chartType/columnParallel/index.d.ts.map +1 -0
- package/dist/types/chartType/columnPercent/columnPercent.d.ts +1 -0
- package/dist/types/chartType/columnPercent/columnPercent.d.ts.map +1 -0
- package/dist/types/chartType/columnPercent/index.d.ts +1 -0
- package/dist/types/chartType/columnPercent/index.d.ts.map +1 -0
- package/dist/types/chartType/donut/donut.d.ts +139 -1
- package/dist/types/chartType/donut/donut.d.ts.map +1 -0
- package/dist/types/chartType/donut/index.d.ts +2 -1
- package/dist/types/chartType/donut/index.d.ts.map +1 -0
- package/dist/types/chartType/dualAxis/dualAxis.d.ts +1 -0
- package/dist/types/chartType/dualAxis/dualAxis.d.ts.map +1 -0
- package/dist/types/chartType/dualAxis/index.d.ts +1 -0
- package/dist/types/chartType/dualAxis/index.d.ts.map +1 -0
- package/dist/types/chartType/funnel/funnel.d.ts +224 -0
- package/dist/types/chartType/funnel/funnel.d.ts.map +1 -0
- package/dist/types/chartType/funnel/index.d.ts +2 -0
- package/dist/types/chartType/funnel/index.d.ts.map +1 -0
- package/dist/types/chartType/index.d.ts +7 -4
- package/dist/types/chartType/index.d.ts.map +1 -0
- package/dist/types/chartType/line/index.d.ts +1 -0
- package/dist/types/chartType/line/index.d.ts.map +1 -0
- package/dist/types/chartType/line/line.d.ts +1 -0
- package/dist/types/chartType/line/line.d.ts.map +1 -0
- package/dist/types/chartType/pie/index.d.ts +1 -0
- package/dist/types/chartType/pie/index.d.ts.map +1 -0
- package/dist/types/chartType/pie/pie.d.ts +2 -1
- package/dist/types/chartType/pie/pie.d.ts.map +1 -0
- package/dist/types/chartType/pivotTable/index.d.ts +1 -0
- package/dist/types/chartType/pivotTable/index.d.ts.map +1 -0
- package/dist/types/chartType/pivotTable/pivotTable.d.ts +1 -0
- package/dist/types/chartType/pivotTable/pivotTable.d.ts.map +1 -0
- package/dist/types/chartType/rose/index.d.ts +2 -1
- package/dist/types/chartType/rose/index.d.ts.map +1 -0
- package/dist/types/chartType/rose/rose.d.ts +144 -6
- package/dist/types/chartType/rose/rose.d.ts.map +1 -0
- package/dist/types/chartType/roseParallel/index.d.ts +2 -0
- package/dist/types/chartType/roseParallel/index.d.ts.map +1 -0
- package/dist/types/chartType/roseParallel/roseParallel.d.ts +225 -0
- package/dist/types/chartType/roseParallel/roseParallel.d.ts.map +1 -0
- package/dist/types/chartType/scatter/index.d.ts +2 -0
- package/dist/types/chartType/scatter/index.d.ts.map +1 -0
- package/dist/types/chartType/scatter/scatter.d.ts +843 -0
- package/dist/types/chartType/scatter/scatter.d.ts.map +1 -0
- package/dist/types/chartType/table/index.d.ts +1 -0
- package/dist/types/chartType/table/index.d.ts.map +1 -0
- package/dist/types/chartType/table/table.d.ts +1 -0
- package/dist/types/chartType/table/table.d.ts.map +1 -0
- package/dist/types/dataSelector/index.d.ts +1 -0
- package/dist/types/dataSelector/index.d.ts.map +1 -0
- package/dist/types/dataSelector/selector.d.ts +1 -0
- package/dist/types/dataSelector/selector.d.ts.map +1 -0
- package/dist/types/i18n/i18n.d.ts +1 -0
- package/dist/types/i18n/i18n.d.ts.map +1 -0
- package/dist/types/i18n/index.d.ts +1 -0
- package/dist/types/i18n/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/pipeline/advancedVSeed/advancedVSeed.d.ts +2 -1
- package/dist/types/pipeline/advancedVSeed/advancedVSeed.d.ts.map +1 -0
- package/dist/types/pipeline/advancedVSeed/index.d.ts +1 -0
- package/dist/types/pipeline/advancedVSeed/index.d.ts.map +1 -0
- package/dist/types/pipeline/index.d.ts +1 -0
- package/dist/types/pipeline/index.d.ts.map +1 -0
- package/dist/types/pipeline/pipeline.d.ts +1 -0
- package/dist/types/pipeline/pipeline.d.ts.map +1 -0
- package/dist/types/pipeline/spec/index.d.ts +1 -0
- package/dist/types/pipeline/spec/index.d.ts.map +1 -0
- package/dist/types/pipeline/spec/spec.d.ts +2 -1
- package/dist/types/pipeline/spec/spec.d.ts.map +1 -0
- package/dist/types/properties/annotation/annotation.d.ts +1 -0
- package/dist/types/properties/annotation/annotation.d.ts.map +1 -0
- package/dist/types/properties/annotation/annotationArea.d.ts +1 -0
- package/dist/types/properties/annotation/annotationArea.d.ts.map +1 -0
- package/dist/types/properties/annotation/annotationHorizontalLine.d.ts +1 -0
- package/dist/types/properties/annotation/annotationHorizontalLine.d.ts.map +1 -0
- package/dist/types/properties/annotation/annotationPoint.d.ts +1 -0
- package/dist/types/properties/annotation/annotationPoint.d.ts.map +1 -0
- package/dist/types/properties/annotation/annotationVerticalLine.d.ts +1 -0
- package/dist/types/properties/annotation/annotationVerticalLine.d.ts.map +1 -0
- package/dist/types/properties/annotation/index.d.ts +1 -0
- package/dist/types/properties/annotation/index.d.ts.map +1 -0
- package/dist/types/properties/baseConfig/backgroundColor.d.ts +1 -0
- package/dist/types/properties/baseConfig/backgroundColor.d.ts.map +1 -0
- package/dist/types/properties/baseConfig/baseConfig.d.ts +1 -0
- package/dist/types/properties/baseConfig/baseConfig.d.ts.map +1 -0
- package/dist/types/properties/baseConfig/color.d.ts +3 -2
- package/dist/types/properties/baseConfig/color.d.ts.map +1 -0
- package/dist/types/properties/baseConfig/index.d.ts +1 -0
- package/dist/types/properties/baseConfig/index.d.ts.map +1 -0
- package/dist/types/properties/baseConfig/label.d.ts +1 -0
- package/dist/types/properties/baseConfig/label.d.ts.map +1 -0
- package/dist/types/properties/baseConfig/legend.d.ts +1 -0
- package/dist/types/properties/baseConfig/legend.d.ts.map +1 -0
- package/dist/types/properties/baseConfig/tooltip.d.ts +1 -0
- package/dist/types/properties/baseConfig/tooltip.d.ts.map +1 -0
- package/dist/types/properties/chartType/chartType.d.ts +9 -2
- package/dist/types/properties/chartType/chartType.d.ts.map +1 -0
- package/dist/types/properties/chartType/index.d.ts +1 -0
- package/dist/types/properties/chartType/index.d.ts.map +1 -0
- package/dist/types/properties/config/axis.d.ts +1 -0
- package/dist/types/properties/config/axis.d.ts.map +1 -0
- package/dist/types/properties/config/bandAxis.d.ts +1 -0
- package/dist/types/properties/config/bandAxis.d.ts.map +1 -0
- package/dist/types/properties/config/config.d.ts +91 -3
- package/dist/types/properties/config/config.d.ts.map +1 -0
- package/dist/types/properties/config/crosshair.d.ts +1 -0
- package/dist/types/properties/config/crosshair.d.ts.map +1 -0
- package/dist/types/properties/config/index.d.ts +1 -0
- package/dist/types/properties/config/index.d.ts.map +1 -0
- package/dist/types/properties/config/linearAxis.d.ts +1 -0
- package/dist/types/properties/config/linearAxis.d.ts.map +1 -0
- package/dist/types/properties/config/stackCornerRadius.d.ts +1 -0
- package/dist/types/properties/config/stackCornerRadius.d.ts.map +1 -0
- package/dist/types/properties/dataset/dataset.d.ts +1 -0
- package/dist/types/properties/dataset/dataset.d.ts.map +1 -0
- package/dist/types/properties/dataset/index.d.ts +1 -0
- package/dist/types/properties/dataset/index.d.ts.map +1 -0
- package/dist/types/properties/datasetReshapeInfo/datasetReshapeInfo.d.ts +1 -0
- package/dist/types/properties/datasetReshapeInfo/datasetReshapeInfo.d.ts.map +1 -0
- package/dist/types/properties/datasetReshapeInfo/index.d.ts +1 -0
- package/dist/types/properties/datasetReshapeInfo/index.d.ts.map +1 -0
- package/dist/types/properties/dimensions/dimensions.d.ts +1 -0
- package/dist/types/properties/dimensions/dimensions.d.ts.map +1 -0
- package/dist/types/properties/dimensions/index.d.ts +1 -0
- package/dist/types/properties/dimensions/index.d.ts.map +1 -0
- package/dist/types/properties/encoding/encoding.d.ts +3 -0
- package/dist/types/properties/encoding/encoding.d.ts.map +1 -0
- package/dist/types/properties/encoding/index.d.ts +1 -0
- package/dist/types/properties/encoding/index.d.ts.map +1 -0
- package/dist/types/properties/index.d.ts +1 -0
- package/dist/types/properties/index.d.ts.map +1 -0
- package/dist/types/properties/markStyle/areaStyle.d.ts +1 -0
- package/dist/types/properties/markStyle/areaStyle.d.ts.map +1 -0
- package/dist/types/properties/markStyle/barStyle.d.ts +1 -0
- package/dist/types/properties/markStyle/barStyle.d.ts.map +1 -0
- package/dist/types/properties/markStyle/index.d.ts +1 -0
- package/dist/types/properties/markStyle/index.d.ts.map +1 -0
- package/dist/types/properties/markStyle/lineStyle.d.ts +1 -0
- package/dist/types/properties/markStyle/lineStyle.d.ts.map +1 -0
- package/dist/types/properties/markStyle/markStyle.d.ts +1 -0
- package/dist/types/properties/markStyle/markStyle.d.ts.map +1 -0
- package/dist/types/properties/markStyle/pointStyle.d.ts +1 -0
- package/dist/types/properties/markStyle/pointStyle.d.ts.map +1 -0
- package/dist/types/properties/measures/format/formatter.d.ts +1 -0
- package/dist/types/properties/measures/format/formatter.d.ts.map +1 -0
- package/dist/types/properties/measures/format/index.d.ts +1 -0
- package/dist/types/properties/measures/format/index.d.ts.map +1 -0
- package/dist/types/properties/measures/format/numFormat.d.ts +1 -0
- package/dist/types/properties/measures/format/numFormat.d.ts.map +1 -0
- package/dist/types/properties/measures/index.d.ts +1 -0
- package/dist/types/properties/measures/index.d.ts.map +1 -0
- package/dist/types/properties/measures/measures.d.ts +1 -0
- package/dist/types/properties/measures/measures.d.ts.map +1 -0
- package/dist/types/properties/theme/customTheme.d.ts +181 -6
- package/dist/types/properties/theme/customTheme.d.ts.map +1 -0
- package/dist/types/properties/theme/index.d.ts +1 -0
- package/dist/types/properties/theme/index.d.ts.map +1 -0
- package/dist/types/properties/theme/theme.d.ts +1 -0
- package/dist/types/properties/theme/theme.d.ts.map +1 -0
- package/dist/types/vseed.d.ts +1256 -3
- package/dist/types/vseed.d.ts.map +1 -0
- package/dist/umd/index.js +1227 -184
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/pipeline/advanced/pipes/encoding/encodingPolar.d.ts +0 -2
- package/dist/pipeline/spec/pipes/annotation/annotationArea.d.ts +0 -2
- package/dist/pipeline/spec/pipes/annotation/annotationAreaBand.d.ts +0 -2
- package/dist/pipeline/spec/pipes/annotation/annotationHorizontalLine.d.ts +0 -2
- package/dist/pipeline/spec/pipes/annotation/annotationPoint.d.ts +0 -2
- package/dist/pipeline/spec/pipes/annotation/annotationVerticalLine.d.ts +0 -2
- package/dist/pipeline/spec/pipes/annotation/utils.d.ts +0 -2
- package/dist/pipeline/spec/pipes/axes/xBand.d.ts +0 -2
- package/dist/pipeline/spec/pipes/axes/xLinear.d.ts +0 -2
- package/dist/pipeline/spec/pipes/axes/yBand.d.ts +0 -2
- package/dist/pipeline/spec/pipes/axes/yLinear.d.ts +0 -2
- package/dist/pipeline/spec/pipes/backgroundColor/background.d.ts +0 -2
- package/dist/pipeline/spec/pipes/color/color.d.ts +0 -2
- package/dist/pipeline/spec/pipes/color/index.d.ts +0 -1
- package/dist/pipeline/spec/pipes/crosshair/horizontalCrosshairRect.d.ts +0 -2
- package/dist/pipeline/spec/pipes/crosshair/verticalCrosshairLine.d.ts +0 -2
- package/dist/pipeline/spec/pipes/crosshair/verticalCrosshairRect.d.ts +0 -2
- package/dist/pipeline/spec/pipes/dataset/dataset.d.ts +0 -2
- package/dist/pipeline/spec/pipes/init/area.d.ts +0 -2
- package/dist/pipeline/spec/pipes/init/bar.d.ts +0 -2
- package/dist/pipeline/spec/pipes/init/barParallel.d.ts +0 -2
- package/dist/pipeline/spec/pipes/init/column.d.ts +0 -2
- package/dist/pipeline/spec/pipes/init/columnParallel.d.ts +0 -2
- package/dist/pipeline/spec/pipes/init/line.d.ts +0 -2
- package/dist/pipeline/spec/pipes/init/pie.d.ts +0 -2
- package/dist/pipeline/spec/pipes/label/index.d.ts +0 -1
- package/dist/pipeline/spec/pipes/label/label.d.ts +0 -2
- package/dist/pipeline/spec/pipes/legend/discreteLegend.d.ts +0 -2
- package/dist/pipeline/spec/pipes/legend/pivotDiscreteLegend.d.ts +0 -2
- package/dist/pipeline/spec/pipes/markStyle/areaStyle.d.ts +0 -2
- package/dist/pipeline/spec/pipes/markStyle/barStyle.d.ts +0 -2
- package/dist/pipeline/spec/pipes/markStyle/lineStyle.d.ts +0 -2
- package/dist/pipeline/spec/pipes/markStyle/pointStyle.d.ts +0 -2
- package/dist/pipeline/spec/pipes/percent/percent.d.ts +0 -2
- package/dist/pipeline/spec/pipes/pivotChart/pivotAdapter.d.ts +0 -2
- package/dist/pipeline/spec/pipes/pivotChart/pivotColumnDimensions.d.ts +0 -2
- package/dist/pipeline/spec/pipes/pivotChart/pivotGridStyle.d.ts +0 -2
- package/dist/pipeline/spec/pipes/pivotChart/pivotRowDimensions.d.ts +0 -2
- package/dist/pipeline/spec/pipes/stack/stack.d.ts +0 -2
- package/dist/pipeline/spec/pipes/stack/stackCornerRadius.d.ts +0 -2
- package/dist/pipeline/spec/pipes/tooltip/tooltip.d.ts +0 -2
package/dist/umd/index.js
CHANGED
@@ -32,39 +32,45 @@
|
|
32
32
|
__webpack_require__.d(__webpack_exports__, {
|
33
33
|
registerBar: ()=>registerBar,
|
34
34
|
isVChart: ()=>isVChart,
|
35
|
+
funnelAdvancedPipeline: ()=>funnelAdvancedPipeline,
|
35
36
|
autoFormatter: ()=>autoFormatter,
|
36
|
-
|
37
|
-
zTooltip: ()=>zTooltip,
|
37
|
+
roseParallelAdvancedPipeline: ()=>roseParallelAdvancedPipeline,
|
38
38
|
pieAdvancedPipeline: ()=>pieAdvancedPipeline,
|
39
39
|
execPipeline: ()=>execPipeline,
|
40
40
|
areaSpecPipeline: ()=>areaSpecPipeline,
|
41
41
|
registerCustomTheme: ()=>registerCustomTheme,
|
42
42
|
registerLine: ()=>registerLine,
|
43
|
+
zBaseConfig: ()=>zBaseConfig,
|
43
44
|
zColor: ()=>zColor,
|
45
|
+
findFirstMeasure: ()=>findFirstMeasure,
|
46
|
+
scatterAdvancedPipeline: ()=>scatterAdvancedPipeline,
|
44
47
|
zMeasureGroup: ()=>zMeasureGroup,
|
45
|
-
zUnfoldInfo: ()=>zUnfoldInfo,
|
46
48
|
zMeasures: ()=>zMeasures,
|
49
|
+
zUnfoldInfo: ()=>zUnfoldInfo,
|
47
50
|
zCrosshairRect: ()=>zCrosshairRect,
|
48
51
|
FoldMeasureName: ()=>FoldMeasureName,
|
49
52
|
intl: ()=>intl,
|
50
53
|
darkTheme: ()=>darkTheme,
|
51
54
|
createNumFormatter: ()=>createNumFormatter,
|
52
55
|
columnPercentAdvancedPipeline: ()=>columnPercentAdvancedPipeline,
|
53
|
-
|
56
|
+
scatterSpecPipeline: ()=>scatterSpecPipeline,
|
54
57
|
isVTable: ()=>isVTable,
|
55
58
|
zAnnotation: ()=>zAnnotation,
|
59
|
+
zAxis: ()=>zAxis,
|
60
|
+
zCrosshairLine: ()=>zCrosshairLine,
|
56
61
|
columnSpecPipeline: ()=>columnSpecPipeline,
|
57
62
|
UnfoldDimensionGroup: ()=>UnfoldDimensionGroup,
|
58
63
|
zDatasetReshapeInfo: ()=>zDatasetReshapeInfo,
|
59
64
|
zFoldInfo: ()=>zFoldInfo,
|
60
|
-
|
65
|
+
zStackCornerRadius: ()=>zStackCornerRadius,
|
61
66
|
zAreaStyle: ()=>zAreaStyle,
|
62
67
|
ORIGINAL_DATA: ()=>ORIGINAL_DATA,
|
63
|
-
|
68
|
+
dataReshapeFor1D2M: ()=>dataReshapeFor1D2M,
|
64
69
|
zAnnotationArea: ()=>zAnnotationArea,
|
70
|
+
zAnnotationHorizontalLine: ()=>zAnnotationHorizontalLine,
|
65
71
|
zMarkStyle: ()=>zMarkStyle,
|
66
|
-
zYLinearAxis: ()=>zYLinearAxis,
|
67
72
|
Separator: ()=>Separator,
|
73
|
+
zTooltip: ()=>zTooltip,
|
68
74
|
columnAdvancedPipeline: ()=>columnAdvancedPipeline,
|
69
75
|
columnParallelSpecPipeline: ()=>columnParallelSpecPipeline,
|
70
76
|
zLabel: ()=>zLabel,
|
@@ -74,9 +80,13 @@
|
|
74
80
|
lightTheme: ()=>lightTheme,
|
75
81
|
registerColumnParallel: ()=>registerColumnParallel,
|
76
82
|
zDimension: ()=>zDimension,
|
83
|
+
funnelSpecPipeline: ()=>funnelSpecPipeline,
|
77
84
|
zPointStyle: ()=>zPointStyle,
|
85
|
+
zYBandAxis: ()=>zYBandAxis,
|
86
|
+
zYLinearAxis: ()=>zYLinearAxis,
|
78
87
|
isPivotChart: ()=>isPivotChart,
|
79
88
|
zCustomTheme: ()=>zCustomTheme,
|
89
|
+
roseParallelSpecPipeline: ()=>roseParallelSpecPipeline,
|
80
90
|
zLineStyle: ()=>zLineStyle,
|
81
91
|
zXBandAxis: ()=>zXBandAxis,
|
82
92
|
dataReshapeFor1D1M: ()=>dataReshapeFor1D1M,
|
@@ -95,8 +105,9 @@
|
|
95
105
|
zLegend: ()=>zLegend,
|
96
106
|
FoldMeasureId: ()=>FoldMeasureId,
|
97
107
|
zTheme: ()=>zTheme,
|
98
|
-
|
108
|
+
donutSpecPipeline: ()=>donutSpecPipeline,
|
99
109
|
registerAreaPercent: ()=>registerAreaPercent,
|
110
|
+
zEncoding: ()=>zEncoding,
|
100
111
|
autoNumFormatter: ()=>autoNumFormatter,
|
101
112
|
zXLinearAxis: ()=>zXLinearAxis,
|
102
113
|
zConfig: ()=>zConfig,
|
@@ -106,12 +117,13 @@
|
|
106
117
|
zCustomThemeConfig: ()=>zCustomThemeConfig,
|
107
118
|
columnParallelAdvancedPipeline: ()=>columnParallelAdvancedPipeline,
|
108
119
|
registerColumnPercent: ()=>registerColumnPercent,
|
120
|
+
donutAdvancedPipeline: ()=>donutAdvancedPipeline,
|
109
121
|
registerBarPercent: ()=>registerBarPercent,
|
110
|
-
zCrosshairLine: ()=>zCrosshairLine,
|
111
122
|
foldMeasures: ()=>foldMeasures,
|
112
123
|
dataReshapeFor2D1M: ()=>dataReshapeFor2D1M,
|
113
124
|
registerLightTheme: ()=>registerLightTheme,
|
114
|
-
|
125
|
+
roseAdvancedPipeline: ()=>roseAdvancedPipeline,
|
126
|
+
roseSpecPipeline: ()=>roseSpecPipeline,
|
115
127
|
registerDarkTheme: ()=>registerDarkTheme,
|
116
128
|
zAnnotationVerticalLine: ()=>zAnnotationVerticalLine,
|
117
129
|
barParallelAdvancedPipeline: ()=>barParallelAdvancedPipeline,
|
@@ -129,11 +141,11 @@
|
|
129
141
|
Builder: ()=>Builder,
|
130
142
|
barParallelSpecPipeline: ()=>barParallelSpecPipeline,
|
131
143
|
areaPercentSpecPipeline: ()=>areaPercentSpecPipeline,
|
132
|
-
registerAll: ()=>
|
144
|
+
registerAll: ()=>registerAll
|
133
145
|
});
|
134
146
|
const initAdvancedVSeed = (advancedVSeed, context)=>{
|
135
147
|
const { vseed } = context;
|
136
|
-
const { chartType
|
148
|
+
const { chartType } = vseed;
|
137
149
|
return {
|
138
150
|
...advancedVSeed,
|
139
151
|
chartType
|
@@ -284,7 +296,7 @@
|
|
284
296
|
};
|
285
297
|
const createFormatter = (format)=>createNumFormatter(format);
|
286
298
|
const autoFormatter = (value, locale)=>autoNumFormatter(value, locale);
|
287
|
-
|
299
|
+
const findMeasureById = (measures, id)=>{
|
288
300
|
if (!measures) return;
|
289
301
|
const stack = [
|
290
302
|
...measures
|
@@ -295,7 +307,22 @@
|
|
295
307
|
if (current.id === id && !('children' in current)) return current;
|
296
308
|
if ('children' in current && current.children) stack.push(...current.children);
|
297
309
|
}
|
298
|
-
}
|
310
|
+
};
|
311
|
+
const findFirstMeasure = (measures)=>{
|
312
|
+
if (!measures) return;
|
313
|
+
const stack = [
|
314
|
+
...measures
|
315
|
+
].reverse();
|
316
|
+
while(stack.length > 0){
|
317
|
+
const current = stack.pop();
|
318
|
+
if (!current) continue;
|
319
|
+
if (!('children' in current)) return current;
|
320
|
+
if ('children' in current && current.children) {
|
321
|
+
const children = (current.children || []).reverse();
|
322
|
+
stack.push(...children);
|
323
|
+
}
|
324
|
+
}
|
325
|
+
};
|
299
326
|
const autoMeasures = (advancedVSeed, context)=>{
|
300
327
|
const result = {
|
301
328
|
...advancedVSeed
|
@@ -707,6 +734,60 @@
|
|
707
734
|
};
|
708
735
|
}
|
709
736
|
};
|
737
|
+
const dataReshapeFor1D2M_emptyReshapeResult = {
|
738
|
+
dataset: [],
|
739
|
+
foldInfo: {
|
740
|
+
foldMap: {},
|
741
|
+
measureId: '',
|
742
|
+
measureName: '',
|
743
|
+
measureValue: ''
|
744
|
+
},
|
745
|
+
unfoldInfo: {
|
746
|
+
groupName: '',
|
747
|
+
groupId: '',
|
748
|
+
colorItems: [],
|
749
|
+
colorIdMap: {}
|
750
|
+
}
|
751
|
+
};
|
752
|
+
const dataReshapeFor1D2M = (dataset, dimensions, measures, options)=>{
|
753
|
+
const { foldMeasureId = FoldMeasureId, foldMeasureName = FoldMeasureName, foldMeasureValue = FoldMeasureValue, unfoldDimensionGroup = UnfoldDimensionGroup, unfoldDimensionGroupId = UnfoldDimensionGroupId } = options || {};
|
754
|
+
if (0 === dimensions.length && 0 === measures.length) return dataReshapeFor1D2M_emptyReshapeResult;
|
755
|
+
const { dataset: foldedDataset, foldInfo } = foldMeasures(dataset, measures.length > 1 ? measures.slice(1) : measures, foldMeasureId, foldMeasureName, foldMeasureValue);
|
756
|
+
if (0 === dimensions.length) {
|
757
|
+
const { dataset: finalDataset, unfoldInfo } = unfoldDimensions(foldedDataset, [
|
758
|
+
{
|
759
|
+
id: foldMeasureValue,
|
760
|
+
alias: i18n`指标值`,
|
761
|
+
location: 'dimension'
|
762
|
+
}
|
763
|
+
], [
|
764
|
+
{
|
765
|
+
id: foldMeasureValue,
|
766
|
+
alias: i18n`指标值`
|
767
|
+
}
|
768
|
+
], 0, unfoldDimensionGroup, unfoldDimensionGroupId, foldMeasureId);
|
769
|
+
return {
|
770
|
+
dataset: finalDataset,
|
771
|
+
foldInfo,
|
772
|
+
unfoldInfo
|
773
|
+
};
|
774
|
+
}
|
775
|
+
{
|
776
|
+
const { dataset: finalDataset, unfoldInfo } = unfoldDimensions(foldedDataset, [
|
777
|
+
...dimensions
|
778
|
+
], [
|
779
|
+
{
|
780
|
+
id: foldMeasureValue,
|
781
|
+
alias: i18n`指标值`
|
782
|
+
}
|
783
|
+
], 0, unfoldDimensionGroup, unfoldDimensionGroupId, foldMeasureId);
|
784
|
+
return {
|
785
|
+
dataset: finalDataset,
|
786
|
+
foldInfo,
|
787
|
+
unfoldInfo
|
788
|
+
};
|
789
|
+
}
|
790
|
+
};
|
710
791
|
const reshapeTo2D1M = (advancedVSeed, context)=>{
|
711
792
|
const result = {
|
712
793
|
...advancedVSeed
|
@@ -753,6 +834,28 @@
|
|
753
834
|
]
|
754
835
|
};
|
755
836
|
};
|
837
|
+
const reshapeTo1D2M = (advancedVSeed, context)=>{
|
838
|
+
const result = {
|
839
|
+
...advancedVSeed
|
840
|
+
};
|
841
|
+
const { vseed } = context;
|
842
|
+
const { dataset } = vseed;
|
843
|
+
const { dimensions, measures } = advancedVSeed;
|
844
|
+
if (!measures || !dimensions || !dataset) return result;
|
845
|
+
if (0 === measures.length) throw new Error('measures can not be empty');
|
846
|
+
const { dataset: newDatasets, foldInfo, unfoldInfo } = dataReshapeFor1D2M(dataset, dimensions, measures);
|
847
|
+
return {
|
848
|
+
...result,
|
849
|
+
dataset: newDatasets,
|
850
|
+
datasetReshapeInfo: [
|
851
|
+
{
|
852
|
+
id: '1D2M',
|
853
|
+
foldInfo,
|
854
|
+
unfoldInfo
|
855
|
+
}
|
856
|
+
]
|
857
|
+
};
|
858
|
+
};
|
756
859
|
const pivotReshapeTo1D1M = (advancedVSeed, context)=>{
|
757
860
|
const result = {
|
758
861
|
...advancedVSeed
|
@@ -792,6 +895,45 @@
|
|
792
895
|
datasetReshapeInfo: datasetReshapeInfo
|
793
896
|
};
|
794
897
|
};
|
898
|
+
const pivotReshapeTo1D2M = (advancedVSeed, context)=>{
|
899
|
+
const result = {
|
900
|
+
...advancedVSeed
|
901
|
+
};
|
902
|
+
const { vseed } = context;
|
903
|
+
const { dataset } = vseed;
|
904
|
+
const { dimensions, measures } = advancedVSeed;
|
905
|
+
if (!measures || !dimensions) return result;
|
906
|
+
const measureGroups = [];
|
907
|
+
if (measures) measures.forEach((measure)=>{
|
908
|
+
if (measure.children && measure.children.length > 0) measureGroups.push(measure);
|
909
|
+
});
|
910
|
+
const newDatasets = [];
|
911
|
+
const datasetReshapeInfo = [];
|
912
|
+
measureGroups.forEach((measureGroup)=>{
|
913
|
+
const measures = measureGroup.children;
|
914
|
+
if (!measures) return;
|
915
|
+
const commonDimensions = dimensions.filter((dim)=>'dimension' === dim.location);
|
916
|
+
const groupId = measureGroup.id;
|
917
|
+
const { dataset: newSubDataset, foldInfo, unfoldInfo } = dataReshapeFor1D2M(dataset, commonDimensions, measures, {
|
918
|
+
foldMeasureId: FoldMeasureId,
|
919
|
+
foldMeasureName: FoldMeasureName,
|
920
|
+
foldMeasureValue: FoldMeasureValue + groupId,
|
921
|
+
unfoldDimensionGroup: UnfoldDimensionGroup
|
922
|
+
});
|
923
|
+
const reshapeInfo = {
|
924
|
+
id: groupId,
|
925
|
+
foldInfo,
|
926
|
+
unfoldInfo
|
927
|
+
};
|
928
|
+
newDatasets.push(newSubDataset);
|
929
|
+
datasetReshapeInfo.push(reshapeInfo);
|
930
|
+
});
|
931
|
+
return {
|
932
|
+
...result,
|
933
|
+
dataset: newDatasets,
|
934
|
+
datasetReshapeInfo: datasetReshapeInfo
|
935
|
+
};
|
936
|
+
};
|
795
937
|
const pivotReshapeTo2D1M = (advancedVSeed, context)=>{
|
796
938
|
const result = {
|
797
939
|
...advancedVSeed
|
@@ -837,9 +979,9 @@
|
|
837
979
|
};
|
838
980
|
const { datasetReshapeInfo, dimensions } = advancedVSeed;
|
839
981
|
if (!datasetReshapeInfo || !dimensions) return result;
|
982
|
+
const isZeroDimension = 0 === dimensions.length;
|
840
983
|
const encoding = datasetReshapeInfo.reduce((prev, cur)=>{
|
841
984
|
const { foldInfo, unfoldInfo } = cur;
|
842
|
-
const isZeroDimension = 0 === dimensions.length;
|
843
985
|
const x = [
|
844
986
|
isZeroDimension ? foldInfo.measureName : dimensions[0].id
|
845
987
|
];
|
@@ -873,9 +1015,9 @@
|
|
873
1015
|
};
|
874
1016
|
const { datasetReshapeInfo, dimensions } = advancedVSeed;
|
875
1017
|
if (!datasetReshapeInfo || !dimensions) return result;
|
1018
|
+
const isZeroDimension = 0 === dimensions.length;
|
876
1019
|
const encoding = datasetReshapeInfo.reduce((prev, cur)=>{
|
877
1020
|
const { foldInfo, unfoldInfo } = cur;
|
878
|
-
const isZeroDimension = 0 === dimensions.length;
|
879
1021
|
const y = [
|
880
1022
|
isZeroDimension ? foldInfo.measureName : dimensions[0].id
|
881
1023
|
];
|
@@ -903,7 +1045,44 @@
|
|
903
1045
|
encoding
|
904
1046
|
};
|
905
1047
|
};
|
906
|
-
const
|
1048
|
+
const encodingRose = (advancedVSeed)=>{
|
1049
|
+
const result = {
|
1050
|
+
...advancedVSeed
|
1051
|
+
};
|
1052
|
+
const { datasetReshapeInfo, dimensions, measures } = advancedVSeed;
|
1053
|
+
if (!datasetReshapeInfo || !dimensions || !measures) return result;
|
1054
|
+
const is1D1M = 1 === dimensions.length && 1 === measures.length;
|
1055
|
+
const isZeroDimension = 0 === dimensions.length;
|
1056
|
+
const encoding = datasetReshapeInfo.reduce((prev, cur)=>{
|
1057
|
+
const { foldInfo, unfoldInfo } = cur;
|
1058
|
+
const radius = [
|
1059
|
+
foldInfo.measureValue
|
1060
|
+
];
|
1061
|
+
const angle = [
|
1062
|
+
isZeroDimension ? foldInfo.measureName : dimensions[0].id
|
1063
|
+
];
|
1064
|
+
const group = [
|
1065
|
+
is1D1M ? dimensions[0].id : unfoldInfo.groupId
|
1066
|
+
];
|
1067
|
+
const color = [
|
1068
|
+
is1D1M ? dimensions[0].id : unfoldInfo.groupId
|
1069
|
+
];
|
1070
|
+
return [
|
1071
|
+
...prev,
|
1072
|
+
{
|
1073
|
+
angle,
|
1074
|
+
radius,
|
1075
|
+
group,
|
1076
|
+
color
|
1077
|
+
}
|
1078
|
+
];
|
1079
|
+
}, []);
|
1080
|
+
return {
|
1081
|
+
...result,
|
1082
|
+
encoding
|
1083
|
+
};
|
1084
|
+
};
|
1085
|
+
const encodingPie = (advancedVSeed)=>{
|
907
1086
|
const result = {
|
908
1087
|
...advancedVSeed
|
909
1088
|
};
|
@@ -938,6 +1117,37 @@
|
|
938
1117
|
encoding
|
939
1118
|
};
|
940
1119
|
};
|
1120
|
+
const encodingFunnel = (advancedVSeed)=>{
|
1121
|
+
const result = {
|
1122
|
+
...advancedVSeed
|
1123
|
+
};
|
1124
|
+
const { datasetReshapeInfo, dimensions } = advancedVSeed;
|
1125
|
+
if (!datasetReshapeInfo || !dimensions) return result;
|
1126
|
+
const encoding = datasetReshapeInfo.reduce((prev, cur)=>{
|
1127
|
+
const { foldInfo, unfoldInfo } = cur;
|
1128
|
+
const size = [
|
1129
|
+
foldInfo.measureValue
|
1130
|
+
];
|
1131
|
+
const group = [
|
1132
|
+
unfoldInfo.groupId
|
1133
|
+
];
|
1134
|
+
const color = [
|
1135
|
+
unfoldInfo.groupId
|
1136
|
+
];
|
1137
|
+
return [
|
1138
|
+
...prev,
|
1139
|
+
{
|
1140
|
+
size,
|
1141
|
+
group,
|
1142
|
+
color
|
1143
|
+
}
|
1144
|
+
];
|
1145
|
+
}, []);
|
1146
|
+
return {
|
1147
|
+
...result,
|
1148
|
+
encoding
|
1149
|
+
};
|
1150
|
+
};
|
941
1151
|
function chunk_2T7K3PFL_i(...e) {
|
942
1152
|
return chunk_WIMGWYZL_u(chunk_2T7K3PFL_o, e);
|
943
1153
|
}
|
@@ -1021,11 +1231,16 @@
|
|
1021
1231
|
};
|
1022
1232
|
const areaConfig = lineConfig;
|
1023
1233
|
const areaPercentConfig = lineConfig;
|
1234
|
+
const scatterConfig = lineConfig;
|
1024
1235
|
const barConfig = columnConfig;
|
1025
1236
|
const barParallelConfig = columnConfig;
|
1026
1237
|
const barPercentConfig = columnConfig;
|
1027
1238
|
const columnParallelConfig = columnConfig;
|
1028
1239
|
const columnPercentConfig = columnConfig;
|
1240
|
+
const donutConfig = pieConfig;
|
1241
|
+
const roseConfig = pieConfig;
|
1242
|
+
const roseParallelConfig = pieConfig;
|
1243
|
+
const funnelConfig = pieConfig;
|
1029
1244
|
function chunk_BZNENX2T_r(o) {
|
1030
1245
|
if ("object" != typeof o || null === o) return !1;
|
1031
1246
|
let e = Object.getPrototypeOf(o);
|
@@ -1299,19 +1514,153 @@
|
|
1299
1514
|
], [
|
1300
1515
|
pivotReshapeTo1D1M
|
1301
1516
|
]),
|
1302
|
-
|
1517
|
+
encodingPie,
|
1303
1518
|
pieConfig,
|
1304
1519
|
vchartBaseConfig,
|
1305
1520
|
vchartTheme,
|
1306
1521
|
annotation_annotation
|
1307
1522
|
];
|
1308
|
-
const
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1313
|
-
|
1314
|
-
|
1523
|
+
const donutAdvancedPipeline = [
|
1524
|
+
initAdvancedVSeed,
|
1525
|
+
locale_locale,
|
1526
|
+
autoMeasures,
|
1527
|
+
autoDimensions,
|
1528
|
+
pivotAdapter([
|
1529
|
+
reshapeTo1D1M
|
1530
|
+
], [
|
1531
|
+
pivotReshapeTo1D1M
|
1532
|
+
]),
|
1533
|
+
encodingPie,
|
1534
|
+
donutConfig,
|
1535
|
+
vchartBaseConfig,
|
1536
|
+
vchartTheme,
|
1537
|
+
annotation_annotation
|
1538
|
+
];
|
1539
|
+
const roseAdvancedPipeline = [
|
1540
|
+
initAdvancedVSeed,
|
1541
|
+
locale_locale,
|
1542
|
+
autoMeasures,
|
1543
|
+
autoDimensions,
|
1544
|
+
pivotAdapter([
|
1545
|
+
reshapeTo2D1M
|
1546
|
+
], [
|
1547
|
+
pivotReshapeTo2D1M
|
1548
|
+
]),
|
1549
|
+
encodingRose,
|
1550
|
+
roseConfig,
|
1551
|
+
vchartBaseConfig,
|
1552
|
+
vchartTheme,
|
1553
|
+
markStyle_markStyle,
|
1554
|
+
annotation_annotation
|
1555
|
+
];
|
1556
|
+
const roseParallelAdvancedPipeline = [
|
1557
|
+
initAdvancedVSeed,
|
1558
|
+
locale_locale,
|
1559
|
+
autoMeasures,
|
1560
|
+
autoDimensions,
|
1561
|
+
pivotAdapter([
|
1562
|
+
reshapeTo2D1M
|
1563
|
+
], [
|
1564
|
+
pivotReshapeTo2D1M
|
1565
|
+
]),
|
1566
|
+
encodingRose,
|
1567
|
+
roseParallelConfig,
|
1568
|
+
vchartBaseConfig,
|
1569
|
+
vchartTheme,
|
1570
|
+
markStyle_markStyle,
|
1571
|
+
annotation_annotation
|
1572
|
+
];
|
1573
|
+
const funnelAdvancedPipeline = [
|
1574
|
+
initAdvancedVSeed,
|
1575
|
+
locale_locale,
|
1576
|
+
autoMeasures,
|
1577
|
+
autoDimensions,
|
1578
|
+
pivotAdapter([
|
1579
|
+
reshapeTo1D1M
|
1580
|
+
], [
|
1581
|
+
pivotReshapeTo1D1M
|
1582
|
+
]),
|
1583
|
+
encodingFunnel,
|
1584
|
+
funnelConfig,
|
1585
|
+
vchartBaseConfig,
|
1586
|
+
vchartTheme,
|
1587
|
+
annotation_annotation
|
1588
|
+
];
|
1589
|
+
const encodingYY = (advancedVSeed)=>{
|
1590
|
+
const result = {
|
1591
|
+
...advancedVSeed
|
1592
|
+
};
|
1593
|
+
const { datasetReshapeInfo, measures } = advancedVSeed;
|
1594
|
+
if (!datasetReshapeInfo || !measures) return result;
|
1595
|
+
const firstMeasure = findFirstMeasure(measures);
|
1596
|
+
const encoding = datasetReshapeInfo.reduce((prev, cur)=>{
|
1597
|
+
const { foldInfo, unfoldInfo } = cur;
|
1598
|
+
const x = [
|
1599
|
+
firstMeasure?.id
|
1600
|
+
];
|
1601
|
+
const y = [
|
1602
|
+
foldInfo.measureValue
|
1603
|
+
];
|
1604
|
+
const group = [
|
1605
|
+
unfoldInfo.groupId
|
1606
|
+
];
|
1607
|
+
const color = [
|
1608
|
+
unfoldInfo.groupId
|
1609
|
+
];
|
1610
|
+
return [
|
1611
|
+
...prev,
|
1612
|
+
{
|
1613
|
+
x,
|
1614
|
+
y,
|
1615
|
+
group,
|
1616
|
+
color
|
1617
|
+
}
|
1618
|
+
];
|
1619
|
+
}, []);
|
1620
|
+
return {
|
1621
|
+
...result,
|
1622
|
+
encoding
|
1623
|
+
};
|
1624
|
+
};
|
1625
|
+
const scatterAdvancedPipeline = [
|
1626
|
+
initAdvancedVSeed,
|
1627
|
+
locale_locale,
|
1628
|
+
autoMeasures,
|
1629
|
+
autoDimensions,
|
1630
|
+
pivotAdapter([
|
1631
|
+
reshapeTo1D2M
|
1632
|
+
], [
|
1633
|
+
pivotReshapeTo1D2M
|
1634
|
+
]),
|
1635
|
+
encodingYY,
|
1636
|
+
vchartBaseConfig,
|
1637
|
+
scatterConfig,
|
1638
|
+
vchartTheme,
|
1639
|
+
markStyle_markStyle,
|
1640
|
+
annotation_annotation
|
1641
|
+
];
|
1642
|
+
const dataset_dataset = (spec, context)=>{
|
1643
|
+
const { advancedVSeed } = context;
|
1644
|
+
const { encoding } = advancedVSeed;
|
1645
|
+
const angle = encoding[0]?.angle?.[0];
|
1646
|
+
const x = encoding[0]?.x?.[0];
|
1647
|
+
const group = encoding[0]?.group?.[0];
|
1648
|
+
const fields = {};
|
1649
|
+
if (angle) fields[angle] = {
|
1650
|
+
sortIndex: 0
|
1651
|
+
};
|
1652
|
+
if (x) fields[x] = {
|
1653
|
+
sortIndex: 0
|
1654
|
+
};
|
1655
|
+
if (group) fields[group] = {
|
1656
|
+
sortIndex: 1
|
1657
|
+
};
|
1658
|
+
return {
|
1659
|
+
...spec,
|
1660
|
+
data: {
|
1661
|
+
values: advancedVSeed.dataset,
|
1662
|
+
fields: fields
|
1663
|
+
}
|
1315
1664
|
};
|
1316
1665
|
};
|
1317
1666
|
const datasetPivot = (spec, context)=>{
|
@@ -1354,6 +1703,7 @@
|
|
1354
1703
|
clip: true
|
1355
1704
|
}
|
1356
1705
|
];
|
1706
|
+
result.animation = true;
|
1357
1707
|
return result;
|
1358
1708
|
};
|
1359
1709
|
const initBar = (spec, context)=>{
|
@@ -1374,6 +1724,7 @@
|
|
1374
1724
|
clip: true
|
1375
1725
|
}
|
1376
1726
|
];
|
1727
|
+
result.animation = true;
|
1377
1728
|
return result;
|
1378
1729
|
};
|
1379
1730
|
const initBarParallel = (spec, context)=>{
|
@@ -1398,6 +1749,7 @@
|
|
1398
1749
|
clip: true
|
1399
1750
|
}
|
1400
1751
|
];
|
1752
|
+
result.animation = true;
|
1401
1753
|
return result;
|
1402
1754
|
};
|
1403
1755
|
const initArea = (spec, context)=>{
|
@@ -1418,6 +1770,7 @@
|
|
1418
1770
|
clip: true
|
1419
1771
|
}
|
1420
1772
|
];
|
1773
|
+
result.animation = true;
|
1421
1774
|
return result;
|
1422
1775
|
};
|
1423
1776
|
const initLine = (spec, context)=>{
|
@@ -1438,6 +1791,7 @@
|
|
1438
1791
|
clip: true
|
1439
1792
|
}
|
1440
1793
|
];
|
1794
|
+
result.animation = true;
|
1441
1795
|
return result;
|
1442
1796
|
};
|
1443
1797
|
const initColumnParallel = (spec, context)=>{
|
@@ -1462,6 +1816,7 @@
|
|
1462
1816
|
clip: true
|
1463
1817
|
}
|
1464
1818
|
];
|
1819
|
+
result.animation = true;
|
1465
1820
|
return result;
|
1466
1821
|
};
|
1467
1822
|
const initPie = (spec, context)=>{
|
@@ -1483,6 +1838,129 @@
|
|
1483
1838
|
clip: true
|
1484
1839
|
}
|
1485
1840
|
];
|
1841
|
+
result.pie = {
|
1842
|
+
style: {
|
1843
|
+
stroke: '#ffffff',
|
1844
|
+
lineWidth: 1
|
1845
|
+
},
|
1846
|
+
state: {
|
1847
|
+
hover: {
|
1848
|
+
centerOffset: 5,
|
1849
|
+
outerRadius: 1.1 * result.outerRadius
|
1850
|
+
}
|
1851
|
+
}
|
1852
|
+
};
|
1853
|
+
result.animation = true;
|
1854
|
+
return result;
|
1855
|
+
};
|
1856
|
+
const initDonut = (spec, context)=>{
|
1857
|
+
const result = {
|
1858
|
+
...spec
|
1859
|
+
};
|
1860
|
+
const { advancedVSeed } = context;
|
1861
|
+
const { encoding } = advancedVSeed;
|
1862
|
+
if (!encoding[0].angle || !encoding[0].radius || !encoding[0].group) return result;
|
1863
|
+
result.type = 'pie';
|
1864
|
+
result.outerRadius = 0.8;
|
1865
|
+
result.innerRadius = 0.8 * result.outerRadius;
|
1866
|
+
result.valueField = encoding[0].radius[0];
|
1867
|
+
result.categoryField = encoding[0].angle[0];
|
1868
|
+
result.seriesField = encoding[0].group[0];
|
1869
|
+
result.padding = 0;
|
1870
|
+
result.region = [
|
1871
|
+
{
|
1872
|
+
clip: true
|
1873
|
+
}
|
1874
|
+
];
|
1875
|
+
result.pie = {
|
1876
|
+
style: {
|
1877
|
+
stroke: '#ffffff',
|
1878
|
+
lineWidth: 1
|
1879
|
+
},
|
1880
|
+
state: {
|
1881
|
+
hover: {
|
1882
|
+
outerRadius: 1.1 * result.outerRadius
|
1883
|
+
}
|
1884
|
+
}
|
1885
|
+
};
|
1886
|
+
result.animation = true;
|
1887
|
+
return result;
|
1888
|
+
};
|
1889
|
+
const initRose = (spec, context)=>{
|
1890
|
+
const result = {
|
1891
|
+
...spec
|
1892
|
+
};
|
1893
|
+
const { advancedVSeed } = context;
|
1894
|
+
const { encoding, dataset, datasetReshapeInfo } = advancedVSeed;
|
1895
|
+
const { foldInfo } = datasetReshapeInfo[0];
|
1896
|
+
if (!encoding[0].radius || !encoding[0].angle || !encoding[0].group) return result;
|
1897
|
+
result.type = 'rose';
|
1898
|
+
result.categoryField = encoding[0].angle[0];
|
1899
|
+
result.valueField = encoding[0].radius[0];
|
1900
|
+
result.seriesField = encoding[0].group[0];
|
1901
|
+
result.padding = 0;
|
1902
|
+
result.outerRadius = 0.9;
|
1903
|
+
result.innerRadius = 0;
|
1904
|
+
const hasNegativeValue = dataset.flat().find((d)=>d[foldInfo.measureValue] < 0);
|
1905
|
+
if (hasNegativeValue) result.innerRadius = 0.05;
|
1906
|
+
result.rose = {
|
1907
|
+
style: {
|
1908
|
+
stroke: '#ffffff',
|
1909
|
+
lineWidth: 1
|
1910
|
+
},
|
1911
|
+
state: {
|
1912
|
+
hover: {
|
1913
|
+
lineWidth: 1,
|
1914
|
+
fillOpacity: 0.6
|
1915
|
+
}
|
1916
|
+
}
|
1917
|
+
};
|
1918
|
+
result.region = [
|
1919
|
+
{
|
1920
|
+
clip: true
|
1921
|
+
}
|
1922
|
+
];
|
1923
|
+
result.animation = true;
|
1924
|
+
return result;
|
1925
|
+
};
|
1926
|
+
const initRoseParallel = (spec, context)=>{
|
1927
|
+
const result = {
|
1928
|
+
...spec
|
1929
|
+
};
|
1930
|
+
const { advancedVSeed } = context;
|
1931
|
+
const { encoding, datasetReshapeInfo, dataset } = advancedVSeed;
|
1932
|
+
const { unfoldInfo, foldInfo } = datasetReshapeInfo[0];
|
1933
|
+
if (!encoding[0].radius || !encoding[0].angle || !encoding[0].group) return result;
|
1934
|
+
result.type = 'rose';
|
1935
|
+
result.categoryField = [
|
1936
|
+
encoding[0].angle[0],
|
1937
|
+
unfoldInfo.groupName
|
1938
|
+
];
|
1939
|
+
result.valueField = encoding[0].radius[0];
|
1940
|
+
result.seriesField = encoding[0].group[0];
|
1941
|
+
result.padding = 0;
|
1942
|
+
result.outerRadius = 0.9;
|
1943
|
+
result.innerRadius = 0;
|
1944
|
+
const hasNegativeValue = dataset.flat().find((d)=>d[foldInfo.measureValue] < 0);
|
1945
|
+
if (hasNegativeValue) result.innerRadius = 0.05;
|
1946
|
+
result.rose = {
|
1947
|
+
style: {
|
1948
|
+
stroke: '#ffffff',
|
1949
|
+
lineWidth: 1
|
1950
|
+
},
|
1951
|
+
state: {
|
1952
|
+
hover: {
|
1953
|
+
lineWidth: 1,
|
1954
|
+
fillOpacity: 0.6
|
1955
|
+
}
|
1956
|
+
}
|
1957
|
+
};
|
1958
|
+
result.region = [
|
1959
|
+
{
|
1960
|
+
clip: true
|
1961
|
+
}
|
1962
|
+
];
|
1963
|
+
result.animation = true;
|
1486
1964
|
return result;
|
1487
1965
|
};
|
1488
1966
|
const initPivot = (spec)=>{
|
@@ -1491,6 +1969,7 @@
|
|
1491
1969
|
};
|
1492
1970
|
return {
|
1493
1971
|
...result,
|
1972
|
+
animation: true,
|
1494
1973
|
rows: [],
|
1495
1974
|
columns: [],
|
1496
1975
|
indicators: [],
|
@@ -1500,6 +1979,42 @@
|
|
1500
1979
|
indicatorsAsCol: false
|
1501
1980
|
};
|
1502
1981
|
};
|
1982
|
+
const initFunnel = (spec, context)=>{
|
1983
|
+
const result = {
|
1984
|
+
...spec
|
1985
|
+
};
|
1986
|
+
const { advancedVSeed } = context;
|
1987
|
+
const { encoding } = advancedVSeed;
|
1988
|
+
if (!encoding[0].size || !encoding[0].group || !encoding[0].color) return result;
|
1989
|
+
result.type = 'funnel';
|
1990
|
+
result.valueField = encoding[0].size[0];
|
1991
|
+
result.categoryField = encoding[0].group[0];
|
1992
|
+
result.padding = 0;
|
1993
|
+
result.isTransform = true;
|
1994
|
+
result.shape = 'rect';
|
1995
|
+
result.maxSize = '75%';
|
1996
|
+
result.minSize = '10%';
|
1997
|
+
result.region = [
|
1998
|
+
{
|
1999
|
+
clip: true
|
2000
|
+
}
|
2001
|
+
];
|
2002
|
+
result.funnel = {
|
2003
|
+
style: {
|
2004
|
+
cornerRadius: 4
|
2005
|
+
},
|
2006
|
+
state: {
|
2007
|
+
hover: {
|
2008
|
+
fillOpacity: 0.6
|
2009
|
+
}
|
2010
|
+
}
|
2011
|
+
};
|
2012
|
+
result.transformLabel = {
|
2013
|
+
visible: true
|
2014
|
+
};
|
2015
|
+
result.animation = true;
|
2016
|
+
return result;
|
2017
|
+
};
|
1503
2018
|
const xBand = (spec, context)=>{
|
1504
2019
|
const result = {
|
1505
2020
|
...spec
|
@@ -1668,7 +2183,7 @@
|
|
1668
2183
|
}
|
1669
2184
|
},
|
1670
2185
|
innerOffset: {
|
1671
|
-
|
2186
|
+
right: LINEAR_AXIS_INNER_OFFSET_TOP
|
1672
2187
|
}
|
1673
2188
|
};
|
1674
2189
|
result.axes = [
|
@@ -1853,6 +2368,79 @@
|
|
1853
2368
|
];
|
1854
2369
|
return result;
|
1855
2370
|
};
|
2371
|
+
const radiusAxis = (spec, context)=>{
|
2372
|
+
const result = {
|
2373
|
+
...spec
|
2374
|
+
};
|
2375
|
+
const { advancedVSeed } = context;
|
2376
|
+
const { dimensions, measures } = advancedVSeed;
|
2377
|
+
if (!dimensions || !measures) return spec;
|
2378
|
+
const is0D = 0 === dimensions.length;
|
2379
|
+
const is1M1D = 1 === dimensions.length && 1 === measures.length;
|
2380
|
+
const showAxis = !(is0D || is1M1D);
|
2381
|
+
if (!result.axes) result.axes = [];
|
2382
|
+
result.axes.push({
|
2383
|
+
orient: 'radius',
|
2384
|
+
visible: showAxis,
|
2385
|
+
zero: true,
|
2386
|
+
nice: !!showAxis,
|
2387
|
+
grid: {
|
2388
|
+
visible: showAxis
|
2389
|
+
},
|
2390
|
+
tick: {
|
2391
|
+
visible: showAxis
|
2392
|
+
},
|
2393
|
+
label: {
|
2394
|
+
visible: showAxis
|
2395
|
+
},
|
2396
|
+
domainLine: {
|
2397
|
+
visible: showAxis
|
2398
|
+
}
|
2399
|
+
});
|
2400
|
+
return result;
|
2401
|
+
};
|
2402
|
+
const angleAxis = (spec, context)=>{
|
2403
|
+
const result = {
|
2404
|
+
...spec
|
2405
|
+
};
|
2406
|
+
const { advancedVSeed } = context;
|
2407
|
+
const { dimensions, measures } = advancedVSeed;
|
2408
|
+
if (!dimensions || !measures) return spec;
|
2409
|
+
const is0D = 0 === dimensions.length;
|
2410
|
+
const is1M1D = 1 === dimensions.length && 1 === measures.length;
|
2411
|
+
const showAxis = !(is0D || is1M1D);
|
2412
|
+
if (!result.axes) result.axes = [];
|
2413
|
+
result.axes.push({
|
2414
|
+
orient: 'angle',
|
2415
|
+
visible: showAxis,
|
2416
|
+
zero: true,
|
2417
|
+
nice: !!showAxis,
|
2418
|
+
paddingInner: showAxis ? [
|
2419
|
+
0.15,
|
2420
|
+
0.1
|
2421
|
+
] : [
|
2422
|
+
0,
|
2423
|
+
0
|
2424
|
+
],
|
2425
|
+
paddingOuter: showAxis ? [
|
2426
|
+
0.075,
|
2427
|
+
0.1
|
2428
|
+
] : [
|
2429
|
+
0,
|
2430
|
+
0
|
2431
|
+
],
|
2432
|
+
grid: {
|
2433
|
+
visible: showAxis
|
2434
|
+
},
|
2435
|
+
domainLine: {
|
2436
|
+
visible: showAxis
|
2437
|
+
},
|
2438
|
+
tick: {
|
2439
|
+
visible: showAxis
|
2440
|
+
}
|
2441
|
+
});
|
2442
|
+
return result;
|
2443
|
+
};
|
1856
2444
|
const percent = (spec, context)=>{
|
1857
2445
|
const result = {
|
1858
2446
|
...spec
|
@@ -1909,6 +2497,9 @@
|
|
1909
2497
|
result.tooltip = {
|
1910
2498
|
visible: enable,
|
1911
2499
|
mark: {
|
2500
|
+
title: {
|
2501
|
+
value: (datum)=>datum && datum[groupName] || ''
|
2502
|
+
},
|
1912
2503
|
content: [
|
1913
2504
|
{
|
1914
2505
|
visible: true,
|
@@ -2152,11 +2743,11 @@
|
|
2152
2743
|
label: d,
|
2153
2744
|
shape: {
|
2154
2745
|
outerBorder: border ? {
|
2155
|
-
stroke: colorScheme[index],
|
2746
|
+
stroke: colorScheme?.[index],
|
2156
2747
|
distance: 3,
|
2157
2748
|
lineWidth: 1
|
2158
2749
|
} : void 0,
|
2159
|
-
fill: colorScheme[index]
|
2750
|
+
fill: colorScheme?.[index]
|
2160
2751
|
}
|
2161
2752
|
})),
|
2162
2753
|
item: {
|
@@ -2208,8 +2799,8 @@
|
|
2208
2799
|
const { color } = baseConfig;
|
2209
2800
|
const { colorScheme, colorMapping } = color;
|
2210
2801
|
const mappingList = [];
|
2211
|
-
if (colorMapping) Object.entries(colorMapping).forEach(([key, value])=>{
|
2212
|
-
const idMap = Object.entries(unfoldInfo.colorIdMap).filter(([_, v])=>key
|
2802
|
+
if (colorMapping) Object.entries(colorMapping).sort((a, b)=>a[0].split(Separator).length - b[0].split(Separator).length).forEach(([key, value])=>{
|
2803
|
+
const idMap = Object.entries(unfoldInfo.colorIdMap).filter(([_, v])=>v.includes(key));
|
2213
2804
|
for (const [colorId] of idMap)mappingList.push([
|
2214
2805
|
colorId,
|
2215
2806
|
value
|
@@ -2540,19 +3131,17 @@
|
|
2540
3131
|
].includes(selector.op));
|
2541
3132
|
const barStyle_barStyle = (spec, context)=>{
|
2542
3133
|
const { advancedVSeed } = context;
|
2543
|
-
const { markStyle
|
3134
|
+
const { markStyle } = advancedVSeed;
|
2544
3135
|
const { barStyle } = markStyle;
|
2545
3136
|
const result = {
|
2546
3137
|
...spec,
|
2547
3138
|
bar: {
|
3139
|
+
style: {
|
3140
|
+
stroke: '#fff',
|
3141
|
+
lineWidth: 1
|
3142
|
+
},
|
2548
3143
|
state: {
|
2549
3144
|
hover: {
|
2550
|
-
stroke: (datum, context)=>{
|
2551
|
-
const field = encoding[0]?.group?.[0];
|
2552
|
-
const color = context.seriesColor(datum[field]);
|
2553
|
-
return color;
|
2554
|
-
},
|
2555
|
-
lineWidth: 4,
|
2556
3145
|
fillOpacity: 0.6
|
2557
3146
|
}
|
2558
3147
|
}
|
@@ -2608,14 +3197,7 @@
|
|
2608
3197
|
const { pointStyle } = markStyle;
|
2609
3198
|
const result = {
|
2610
3199
|
...spec,
|
2611
|
-
point: {
|
2612
|
-
state: {
|
2613
|
-
dimension_hover: {
|
2614
|
-
scaleX: 1.4,
|
2615
|
-
scaleY: 1.4
|
2616
|
-
}
|
2617
|
-
}
|
2618
|
-
}
|
3200
|
+
point: {}
|
2619
3201
|
};
|
2620
3202
|
if (!pointStyle) return result;
|
2621
3203
|
const pointStyles = Array.isArray(pointStyle) ? pointStyle : [
|
@@ -2661,6 +3243,47 @@
|
|
2661
3243
|
}
|
2662
3244
|
};
|
2663
3245
|
};
|
3246
|
+
const pointStateDimensionHover = (spec)=>{
|
3247
|
+
const point = spec.point || {};
|
3248
|
+
const result = {
|
3249
|
+
...spec,
|
3250
|
+
point: {
|
3251
|
+
...point,
|
3252
|
+
state: {
|
3253
|
+
dimension_hover: {
|
3254
|
+
scaleX: 1.4,
|
3255
|
+
scaleY: 1.4
|
3256
|
+
}
|
3257
|
+
}
|
3258
|
+
}
|
3259
|
+
};
|
3260
|
+
return result;
|
3261
|
+
};
|
3262
|
+
const pointStateHover = (spec, context)=>{
|
3263
|
+
const point = spec.point || {};
|
3264
|
+
const { advancedVSeed } = context;
|
3265
|
+
const { encoding } = advancedVSeed;
|
3266
|
+
const result = {
|
3267
|
+
...spec,
|
3268
|
+
point: {
|
3269
|
+
...point,
|
3270
|
+
state: {
|
3271
|
+
hover: {
|
3272
|
+
scaleX: 1.4,
|
3273
|
+
scaleY: 1.4,
|
3274
|
+
stroke: (datum, context)=>{
|
3275
|
+
const field = encoding[0]?.group?.[0];
|
3276
|
+
const color = context.seriesColor(datum[field]);
|
3277
|
+
return color;
|
3278
|
+
},
|
3279
|
+
fillOpacity: 0.6,
|
3280
|
+
lineWidth: 1
|
3281
|
+
}
|
3282
|
+
}
|
3283
|
+
}
|
3284
|
+
};
|
3285
|
+
return result;
|
3286
|
+
};
|
2664
3287
|
function chunk_HVPVHFDT_i(...e) {
|
2665
3288
|
return chunk_WIMGWYZL_u(chunk_HVPVHFDT_p, e);
|
2666
3289
|
}
|
@@ -3399,21 +4022,62 @@
|
|
3399
4022
|
};
|
3400
4023
|
return result;
|
3401
4024
|
};
|
3402
|
-
const
|
3403
|
-
|
3404
|
-
|
3405
|
-
|
3406
|
-
|
3407
|
-
|
3408
|
-
|
3409
|
-
|
3410
|
-
|
3411
|
-
|
3412
|
-
|
3413
|
-
|
3414
|
-
|
3415
|
-
|
3416
|
-
|
4025
|
+
const horizontalCrosshairLine = (spec, context)=>{
|
4026
|
+
const result = {
|
4027
|
+
...spec
|
4028
|
+
};
|
4029
|
+
const { advancedVSeed, vseed } = context;
|
4030
|
+
const { chartType } = vseed;
|
4031
|
+
const config = advancedVSeed.config?.[chartType]?.crosshairLine;
|
4032
|
+
if (!config) return result;
|
4033
|
+
if (!result.crosshair) result.crosshair = {};
|
4034
|
+
const { visible = true, lineColor, labelColor, labelVisible, labelBackgroundColor } = config;
|
4035
|
+
const crosshair = result.crosshair;
|
4036
|
+
crosshair.yField = {
|
4037
|
+
visible,
|
4038
|
+
line: {
|
4039
|
+
type: 'line',
|
4040
|
+
style: {
|
4041
|
+
lineWidth: 1,
|
4042
|
+
opacity: 1,
|
4043
|
+
stroke: lineColor,
|
4044
|
+
lineDash: [
|
4045
|
+
4,
|
4046
|
+
2
|
4047
|
+
]
|
4048
|
+
}
|
4049
|
+
},
|
4050
|
+
label: {
|
4051
|
+
visible: labelVisible,
|
4052
|
+
labelBackground: {
|
4053
|
+
visible: labelVisible,
|
4054
|
+
style: {
|
4055
|
+
fill: labelBackgroundColor
|
4056
|
+
}
|
4057
|
+
},
|
4058
|
+
style: {
|
4059
|
+
fill: labelColor
|
4060
|
+
}
|
4061
|
+
}
|
4062
|
+
};
|
4063
|
+
return result;
|
4064
|
+
};
|
4065
|
+
const line_line = [
|
4066
|
+
initLine,
|
4067
|
+
color_color,
|
4068
|
+
background_backgroundColor,
|
4069
|
+
dataset_dataset,
|
4070
|
+
xBand,
|
4071
|
+
yLinear,
|
4072
|
+
label_label,
|
4073
|
+
tooltip_tooltip,
|
4074
|
+
verticalCrosshairLine,
|
4075
|
+
discreteLegend,
|
4076
|
+
pointStyle_pointStyle,
|
4077
|
+
pointStateDimensionHover,
|
4078
|
+
lineStyle_lineStyle,
|
4079
|
+
annotationPoint_annotationPoint,
|
4080
|
+
annotationVerticalLine_annotationVerticalLine,
|
3417
4081
|
annotationHorizontalLine_annotationHorizontalLine,
|
3418
4082
|
annotationArea_annotationArea
|
3419
4083
|
];
|
@@ -3433,6 +4097,7 @@
|
|
3433
4097
|
tooltip_tooltip,
|
3434
4098
|
verticalCrosshairLine,
|
3435
4099
|
pointStyle_pointStyle,
|
4100
|
+
pointStateDimensionHover,
|
3436
4101
|
lineStyle_lineStyle,
|
3437
4102
|
annotationPoint_annotationPoint,
|
3438
4103
|
annotationVerticalLine_annotationVerticalLine,
|
@@ -3584,250 +4249,447 @@
|
|
3584
4249
|
annotationPoint_annotationPoint,
|
3585
4250
|
annotationVerticalLine_annotationVerticalLine,
|
3586
4251
|
annotationHorizontalLine_annotationHorizontalLine,
|
3587
|
-
annotationAreaBand
|
4252
|
+
annotationAreaBand
|
4253
|
+
]),
|
4254
|
+
pivotRowDimensions,
|
4255
|
+
pivotColumnDimensions,
|
4256
|
+
pivotDiscreteLegend
|
4257
|
+
];
|
4258
|
+
const columnPercentSpecPipeline = [
|
4259
|
+
pivotAdapter_pivotAdapter(columnPercent, pivotColumnPercent)
|
4260
|
+
];
|
4261
|
+
const bar = [
|
4262
|
+
initBar,
|
4263
|
+
stackCornerRadius_stackCornerRadius,
|
4264
|
+
color_color,
|
4265
|
+
background_backgroundColor,
|
4266
|
+
dataset_dataset,
|
4267
|
+
xLinear,
|
4268
|
+
yBand,
|
4269
|
+
label_label,
|
4270
|
+
tooltip_tooltip,
|
4271
|
+
horizontalCrosshairRect,
|
4272
|
+
discreteLegend,
|
4273
|
+
barStyle_barStyle,
|
4274
|
+
annotationPoint_annotationPoint,
|
4275
|
+
annotationVerticalLine_annotationVerticalLine,
|
4276
|
+
annotationHorizontalLine_annotationHorizontalLine,
|
4277
|
+
annotationAreaBand
|
4278
|
+
];
|
4279
|
+
const pivotBar = [
|
4280
|
+
initPivot,
|
4281
|
+
pivotGridStyle,
|
4282
|
+
pivotIndicators_pivotIndicatorsAsCol,
|
4283
|
+
datasetPivot,
|
4284
|
+
pivotIndicators([
|
4285
|
+
initBar,
|
4286
|
+
stackCornerRadius_stackCornerRadius,
|
4287
|
+
color_color,
|
4288
|
+
background_backgroundColor,
|
4289
|
+
datasetPivotPlaceholder,
|
4290
|
+
yBand,
|
4291
|
+
label_label,
|
4292
|
+
label_label,
|
4293
|
+
tooltip_tooltip,
|
4294
|
+
horizontalCrosshairRect,
|
4295
|
+
barStyle_barStyle,
|
4296
|
+
annotationPoint_annotationPoint,
|
4297
|
+
annotationVerticalLine_annotationVerticalLine,
|
4298
|
+
annotationHorizontalLine_annotationHorizontalLine,
|
4299
|
+
annotationAreaBand
|
4300
|
+
]),
|
4301
|
+
pivotRowDimensions,
|
4302
|
+
pivotColumnDimensions,
|
4303
|
+
pivotDiscreteLegend
|
4304
|
+
];
|
4305
|
+
const barSpecPipeline = [
|
4306
|
+
pivotAdapter_pivotAdapter(bar, pivotBar)
|
4307
|
+
];
|
4308
|
+
const barParallel = [
|
4309
|
+
initBarParallel,
|
4310
|
+
stackCornerRadius_stackCornerRadius,
|
4311
|
+
color_color,
|
4312
|
+
background_backgroundColor,
|
4313
|
+
dataset_dataset,
|
4314
|
+
xLinear,
|
4315
|
+
yBand,
|
4316
|
+
label_label,
|
4317
|
+
tooltip_tooltip,
|
4318
|
+
horizontalCrosshairRect,
|
4319
|
+
discreteLegend,
|
4320
|
+
barStyle_barStyle,
|
4321
|
+
annotationPoint_annotationPoint,
|
4322
|
+
annotationVerticalLine_annotationVerticalLine,
|
4323
|
+
annotationHorizontalLine_annotationHorizontalLine,
|
4324
|
+
annotationAreaBand
|
4325
|
+
];
|
4326
|
+
const pivotBarParallel = [
|
4327
|
+
initPivot,
|
4328
|
+
pivotGridStyle,
|
4329
|
+
pivotIndicators_pivotIndicatorsAsCol,
|
4330
|
+
datasetPivot,
|
4331
|
+
pivotIndicators([
|
4332
|
+
initBarParallel,
|
4333
|
+
stackCornerRadius_stackCornerRadius,
|
4334
|
+
color_color,
|
4335
|
+
background_backgroundColor,
|
4336
|
+
datasetPivotPlaceholder,
|
4337
|
+
yBand,
|
4338
|
+
xLinear,
|
4339
|
+
label_label,
|
4340
|
+
tooltip_tooltip,
|
4341
|
+
horizontalCrosshairRect,
|
4342
|
+
barStyle_barStyle,
|
4343
|
+
annotationPoint_annotationPoint,
|
4344
|
+
annotationVerticalLine_annotationVerticalLine,
|
4345
|
+
annotationHorizontalLine_annotationHorizontalLine,
|
4346
|
+
annotationAreaBand
|
4347
|
+
]),
|
4348
|
+
pivotRowDimensions,
|
4349
|
+
pivotColumnDimensions,
|
4350
|
+
pivotDiscreteLegend
|
4351
|
+
];
|
4352
|
+
const barParallelSpecPipeline = [
|
4353
|
+
pivotAdapter_pivotAdapter(barParallel, pivotBarParallel)
|
4354
|
+
];
|
4355
|
+
const barPercent = [
|
4356
|
+
initBar,
|
4357
|
+
stackCornerRadius_stackCornerRadius,
|
4358
|
+
color_color,
|
4359
|
+
background_backgroundColor,
|
4360
|
+
percent,
|
4361
|
+
dataset_dataset,
|
4362
|
+
xLinear,
|
4363
|
+
yBand,
|
4364
|
+
label_label,
|
4365
|
+
tooltip_tooltip,
|
4366
|
+
horizontalCrosshairRect,
|
4367
|
+
discreteLegend,
|
4368
|
+
barStyle_barStyle,
|
4369
|
+
annotationPoint_annotationPoint,
|
4370
|
+
annotationVerticalLine_annotationVerticalLine,
|
4371
|
+
annotationHorizontalLine_annotationHorizontalLine,
|
4372
|
+
annotationAreaBand
|
4373
|
+
];
|
4374
|
+
const pivotBarPercent = [
|
4375
|
+
initPivot,
|
4376
|
+
pivotGridStyle,
|
4377
|
+
pivotIndicators_pivotIndicatorsAsCol,
|
4378
|
+
datasetPivot,
|
4379
|
+
pivotIndicators([
|
4380
|
+
initBar,
|
4381
|
+
stackCornerRadius_stackCornerRadius,
|
4382
|
+
color_color,
|
4383
|
+
background_backgroundColor,
|
4384
|
+
percent,
|
4385
|
+
datasetPivotPlaceholder,
|
4386
|
+
yBand,
|
4387
|
+
xLinear,
|
4388
|
+
label_label,
|
4389
|
+
tooltip_tooltip,
|
4390
|
+
horizontalCrosshairRect,
|
4391
|
+
barStyle_barStyle,
|
4392
|
+
annotationPoint_annotationPoint,
|
4393
|
+
annotationVerticalLine_annotationVerticalLine,
|
4394
|
+
annotationHorizontalLine_annotationHorizontalLine,
|
4395
|
+
annotationAreaBand
|
4396
|
+
]),
|
4397
|
+
pivotRowDimensions,
|
4398
|
+
pivotColumnDimensions,
|
4399
|
+
pivotDiscreteLegend
|
4400
|
+
];
|
4401
|
+
const barPercentSpecPipeline = [
|
4402
|
+
pivotAdapter_pivotAdapter(barPercent, pivotBarPercent)
|
4403
|
+
];
|
4404
|
+
const area_area = [
|
4405
|
+
initArea,
|
4406
|
+
stackInverse,
|
4407
|
+
color_color,
|
4408
|
+
background_backgroundColor,
|
4409
|
+
dataset_dataset,
|
4410
|
+
xBand,
|
4411
|
+
yLinear,
|
4412
|
+
label_label,
|
4413
|
+
tooltip_tooltip,
|
4414
|
+
verticalCrosshairLine,
|
4415
|
+
discreteLegend,
|
4416
|
+
pointStyle_pointStyle,
|
4417
|
+
pointStateDimensionHover,
|
4418
|
+
lineStyle_lineStyle,
|
4419
|
+
areaStyle_areaStyle,
|
4420
|
+
annotationPoint_annotationPoint,
|
4421
|
+
annotationVerticalLine_annotationVerticalLine,
|
4422
|
+
annotationHorizontalLine_annotationHorizontalLine,
|
4423
|
+
annotationArea_annotationArea
|
4424
|
+
];
|
4425
|
+
const pivotArea = [
|
4426
|
+
initPivot,
|
4427
|
+
pivotGridStyle,
|
4428
|
+
pivotIndicators_pivotIndicatorsAsRow,
|
4429
|
+
datasetPivot,
|
4430
|
+
pivotIndicators([
|
4431
|
+
initArea,
|
4432
|
+
color_color,
|
4433
|
+
background_backgroundColor,
|
4434
|
+
stackInverse,
|
4435
|
+
datasetPivotPlaceholder,
|
4436
|
+
xBand,
|
4437
|
+
yLinear,
|
4438
|
+
label_label,
|
4439
|
+
tooltip_tooltip,
|
4440
|
+
verticalCrosshairLine,
|
4441
|
+
pointStyle_pointStyle,
|
4442
|
+
pointStateDimensionHover,
|
4443
|
+
lineStyle_lineStyle,
|
4444
|
+
areaStyle_areaStyle,
|
4445
|
+
annotationPoint_annotationPoint,
|
4446
|
+
annotationVerticalLine_annotationVerticalLine,
|
4447
|
+
annotationHorizontalLine_annotationHorizontalLine,
|
4448
|
+
annotationArea_annotationArea
|
4449
|
+
]),
|
4450
|
+
pivotRowDimensions,
|
4451
|
+
pivotColumnDimensions,
|
4452
|
+
pivotDiscreteLegend
|
4453
|
+
];
|
4454
|
+
const areaSpecPipeline = [
|
4455
|
+
pivotAdapter_pivotAdapter(area_area, pivotArea)
|
4456
|
+
];
|
4457
|
+
const areaPercent = [
|
4458
|
+
initArea,
|
4459
|
+
stackInverse,
|
4460
|
+
color_color,
|
4461
|
+
background_backgroundColor,
|
4462
|
+
percent,
|
4463
|
+
dataset_dataset,
|
4464
|
+
xBand,
|
4465
|
+
yLinear,
|
4466
|
+
label_label,
|
4467
|
+
tooltip_tooltip,
|
4468
|
+
verticalCrosshairLine,
|
4469
|
+
discreteLegend,
|
4470
|
+
pointStyle_pointStyle,
|
4471
|
+
lineStyle_lineStyle,
|
4472
|
+
areaStyle_areaStyle,
|
4473
|
+
annotationPoint_annotationPoint,
|
4474
|
+
annotationVerticalLine_annotationVerticalLine,
|
4475
|
+
annotationHorizontalLine_annotationHorizontalLine,
|
4476
|
+
annotationArea_annotationArea
|
4477
|
+
];
|
4478
|
+
const pivotAreaPercent = [
|
4479
|
+
initPivot,
|
4480
|
+
pivotGridStyle,
|
4481
|
+
pivotIndicators_pivotIndicatorsAsRow,
|
4482
|
+
datasetPivot,
|
4483
|
+
pivotIndicators([
|
4484
|
+
initArea,
|
4485
|
+
stackInverse,
|
4486
|
+
color_color,
|
4487
|
+
background_backgroundColor,
|
4488
|
+
percent,
|
4489
|
+
datasetPivotPlaceholder,
|
4490
|
+
xBand,
|
4491
|
+
yLinear,
|
4492
|
+
label_label,
|
4493
|
+
tooltip_tooltip,
|
4494
|
+
verticalCrosshairLine,
|
4495
|
+
pointStyle_pointStyle,
|
4496
|
+
lineStyle_lineStyle,
|
4497
|
+
areaStyle_areaStyle,
|
4498
|
+
annotationPoint_annotationPoint,
|
4499
|
+
annotationVerticalLine_annotationVerticalLine,
|
4500
|
+
annotationHorizontalLine_annotationHorizontalLine,
|
4501
|
+
annotationArea_annotationArea
|
3588
4502
|
]),
|
3589
4503
|
pivotRowDimensions,
|
3590
4504
|
pivotColumnDimensions,
|
3591
4505
|
pivotDiscreteLegend
|
3592
4506
|
];
|
3593
|
-
const
|
3594
|
-
pivotAdapter_pivotAdapter(
|
4507
|
+
const areaPercentSpecPipeline = [
|
4508
|
+
pivotAdapter_pivotAdapter(areaPercent, pivotAreaPercent)
|
3595
4509
|
];
|
3596
|
-
const
|
3597
|
-
|
3598
|
-
stackCornerRadius_stackCornerRadius,
|
4510
|
+
const pie = [
|
4511
|
+
initPie,
|
3599
4512
|
color_color,
|
3600
4513
|
background_backgroundColor,
|
3601
4514
|
dataset_dataset,
|
3602
|
-
xLinear,
|
3603
|
-
yBand,
|
3604
4515
|
label_label,
|
3605
4516
|
tooltip_tooltip,
|
3606
|
-
horizontalCrosshairRect,
|
3607
4517
|
discreteLegend,
|
3608
|
-
barStyle_barStyle,
|
3609
4518
|
annotationPoint_annotationPoint,
|
3610
4519
|
annotationVerticalLine_annotationVerticalLine,
|
3611
4520
|
annotationHorizontalLine_annotationHorizontalLine,
|
3612
|
-
|
4521
|
+
annotationArea_annotationArea
|
3613
4522
|
];
|
3614
|
-
const
|
4523
|
+
const pivotPie = [
|
3615
4524
|
initPivot,
|
3616
4525
|
pivotGridStyle,
|
3617
|
-
|
4526
|
+
pivotIndicators_pivotIndicatorsAsRow,
|
3618
4527
|
datasetPivot,
|
3619
4528
|
pivotIndicators([
|
3620
|
-
|
3621
|
-
stackCornerRadius_stackCornerRadius,
|
4529
|
+
initPie,
|
3622
4530
|
color_color,
|
3623
4531
|
background_backgroundColor,
|
3624
4532
|
datasetPivotPlaceholder,
|
3625
|
-
yBand,
|
3626
|
-
label_label,
|
3627
4533
|
label_label,
|
3628
4534
|
tooltip_tooltip,
|
3629
|
-
horizontalCrosshairRect,
|
3630
|
-
barStyle_barStyle,
|
3631
4535
|
annotationPoint_annotationPoint,
|
3632
4536
|
annotationVerticalLine_annotationVerticalLine,
|
3633
4537
|
annotationHorizontalLine_annotationHorizontalLine,
|
3634
|
-
|
4538
|
+
annotationArea_annotationArea
|
3635
4539
|
]),
|
3636
4540
|
pivotRowDimensions,
|
3637
4541
|
pivotColumnDimensions,
|
3638
4542
|
pivotDiscreteLegend
|
3639
4543
|
];
|
3640
|
-
const
|
3641
|
-
pivotAdapter_pivotAdapter(
|
4544
|
+
const pieSpecPipeline = [
|
4545
|
+
pivotAdapter_pivotAdapter(pie, pivotPie)
|
3642
4546
|
];
|
3643
|
-
const
|
3644
|
-
|
3645
|
-
stackCornerRadius_stackCornerRadius,
|
4547
|
+
const donut = [
|
4548
|
+
initDonut,
|
3646
4549
|
color_color,
|
3647
4550
|
background_backgroundColor,
|
3648
4551
|
dataset_dataset,
|
3649
|
-
xLinear,
|
3650
|
-
yBand,
|
3651
4552
|
label_label,
|
3652
4553
|
tooltip_tooltip,
|
3653
|
-
horizontalCrosshairRect,
|
3654
4554
|
discreteLegend,
|
3655
|
-
barStyle_barStyle,
|
3656
4555
|
annotationPoint_annotationPoint,
|
3657
4556
|
annotationVerticalLine_annotationVerticalLine,
|
3658
4557
|
annotationHorizontalLine_annotationHorizontalLine,
|
3659
|
-
|
4558
|
+
annotationArea_annotationArea
|
3660
4559
|
];
|
3661
|
-
const
|
4560
|
+
const pivotDonut = [
|
3662
4561
|
initPivot,
|
3663
4562
|
pivotGridStyle,
|
3664
|
-
|
4563
|
+
pivotIndicators_pivotIndicatorsAsRow,
|
3665
4564
|
datasetPivot,
|
3666
4565
|
pivotIndicators([
|
3667
|
-
|
3668
|
-
stackCornerRadius_stackCornerRadius,
|
4566
|
+
initDonut,
|
3669
4567
|
color_color,
|
3670
4568
|
background_backgroundColor,
|
3671
4569
|
datasetPivotPlaceholder,
|
3672
|
-
yBand,
|
3673
|
-
xLinear,
|
3674
4570
|
label_label,
|
3675
4571
|
tooltip_tooltip,
|
3676
|
-
horizontalCrosshairRect,
|
3677
|
-
barStyle_barStyle,
|
3678
4572
|
annotationPoint_annotationPoint,
|
3679
4573
|
annotationVerticalLine_annotationVerticalLine,
|
3680
4574
|
annotationHorizontalLine_annotationHorizontalLine,
|
3681
|
-
|
4575
|
+
annotationArea_annotationArea
|
3682
4576
|
]),
|
3683
4577
|
pivotRowDimensions,
|
3684
4578
|
pivotColumnDimensions,
|
3685
4579
|
pivotDiscreteLegend
|
3686
4580
|
];
|
3687
|
-
const
|
3688
|
-
pivotAdapter_pivotAdapter(
|
4581
|
+
const donutSpecPipeline = [
|
4582
|
+
pivotAdapter_pivotAdapter(donut, pivotDonut)
|
3689
4583
|
];
|
3690
|
-
const
|
3691
|
-
|
4584
|
+
const rose = [
|
4585
|
+
initRose,
|
3692
4586
|
stackCornerRadius_stackCornerRadius,
|
4587
|
+
stackInverse,
|
3693
4588
|
color_color,
|
3694
4589
|
background_backgroundColor,
|
3695
|
-
percent,
|
3696
4590
|
dataset_dataset,
|
3697
|
-
|
3698
|
-
|
4591
|
+
radiusAxis,
|
4592
|
+
angleAxis,
|
3699
4593
|
label_label,
|
3700
4594
|
tooltip_tooltip,
|
3701
|
-
|
3702
|
-
discreteLegend
|
3703
|
-
barStyle_barStyle,
|
3704
|
-
annotationPoint_annotationPoint,
|
3705
|
-
annotationVerticalLine_annotationVerticalLine,
|
3706
|
-
annotationHorizontalLine_annotationHorizontalLine,
|
3707
|
-
annotationAreaBand
|
4595
|
+
verticalCrosshairRect,
|
4596
|
+
discreteLegend
|
3708
4597
|
];
|
3709
|
-
const
|
4598
|
+
const pivotRose = [
|
3710
4599
|
initPivot,
|
3711
4600
|
pivotGridStyle,
|
3712
|
-
|
4601
|
+
pivotIndicators_pivotIndicatorsAsRow,
|
3713
4602
|
datasetPivot,
|
3714
4603
|
pivotIndicators([
|
3715
|
-
|
4604
|
+
initRose,
|
3716
4605
|
stackCornerRadius_stackCornerRadius,
|
4606
|
+
stackInverse,
|
3717
4607
|
color_color,
|
3718
4608
|
background_backgroundColor,
|
3719
|
-
percent,
|
3720
4609
|
datasetPivotPlaceholder,
|
3721
|
-
|
3722
|
-
|
4610
|
+
radiusAxis,
|
4611
|
+
angleAxis,
|
3723
4612
|
label_label,
|
3724
4613
|
tooltip_tooltip,
|
3725
|
-
|
3726
|
-
barStyle_barStyle,
|
3727
|
-
annotationPoint_annotationPoint,
|
3728
|
-
annotationVerticalLine_annotationVerticalLine,
|
3729
|
-
annotationHorizontalLine_annotationHorizontalLine,
|
3730
|
-
annotationAreaBand
|
4614
|
+
verticalCrosshairRect
|
3731
4615
|
]),
|
3732
4616
|
pivotRowDimensions,
|
3733
4617
|
pivotColumnDimensions,
|
3734
4618
|
pivotDiscreteLegend
|
3735
4619
|
];
|
3736
|
-
const
|
3737
|
-
pivotAdapter_pivotAdapter(
|
4620
|
+
const roseSpecPipeline = [
|
4621
|
+
pivotAdapter_pivotAdapter(rose, pivotRose)
|
3738
4622
|
];
|
3739
|
-
const
|
3740
|
-
|
3741
|
-
|
4623
|
+
const roseParallel = [
|
4624
|
+
initRoseParallel,
|
4625
|
+
stackCornerRadius_stackCornerRadius,
|
3742
4626
|
color_color,
|
3743
4627
|
background_backgroundColor,
|
3744
4628
|
dataset_dataset,
|
3745
|
-
|
3746
|
-
|
4629
|
+
radiusAxis,
|
4630
|
+
angleAxis,
|
3747
4631
|
label_label,
|
3748
4632
|
tooltip_tooltip,
|
3749
|
-
verticalCrosshairLine,
|
3750
4633
|
discreteLegend,
|
3751
|
-
|
3752
|
-
lineStyle_lineStyle,
|
3753
|
-
areaStyle_areaStyle,
|
4634
|
+
verticalCrosshairRect,
|
3754
4635
|
annotationPoint_annotationPoint,
|
3755
4636
|
annotationVerticalLine_annotationVerticalLine,
|
3756
4637
|
annotationHorizontalLine_annotationHorizontalLine,
|
3757
|
-
|
4638
|
+
annotationAreaBand
|
3758
4639
|
];
|
3759
|
-
const
|
4640
|
+
const pivotRoseParallel = [
|
3760
4641
|
initPivot,
|
3761
4642
|
pivotGridStyle,
|
3762
4643
|
pivotIndicators_pivotIndicatorsAsRow,
|
3763
4644
|
datasetPivot,
|
3764
4645
|
pivotIndicators([
|
3765
|
-
|
4646
|
+
initRoseParallel,
|
4647
|
+
stackCornerRadius_stackCornerRadius,
|
3766
4648
|
color_color,
|
3767
4649
|
background_backgroundColor,
|
3768
|
-
stackInverse,
|
3769
4650
|
datasetPivotPlaceholder,
|
3770
|
-
|
3771
|
-
|
4651
|
+
radiusAxis,
|
4652
|
+
angleAxis,
|
3772
4653
|
label_label,
|
3773
4654
|
tooltip_tooltip,
|
3774
|
-
|
3775
|
-
pointStyle_pointStyle,
|
3776
|
-
lineStyle_lineStyle,
|
3777
|
-
areaStyle_areaStyle,
|
4655
|
+
verticalCrosshairRect,
|
3778
4656
|
annotationPoint_annotationPoint,
|
3779
4657
|
annotationVerticalLine_annotationVerticalLine,
|
3780
4658
|
annotationHorizontalLine_annotationHorizontalLine,
|
3781
|
-
|
4659
|
+
annotationAreaBand
|
3782
4660
|
]),
|
3783
4661
|
pivotRowDimensions,
|
3784
4662
|
pivotColumnDimensions,
|
3785
4663
|
pivotDiscreteLegend
|
3786
4664
|
];
|
3787
|
-
const
|
3788
|
-
pivotAdapter_pivotAdapter(
|
4665
|
+
const roseParallelSpecPipeline = [
|
4666
|
+
pivotAdapter_pivotAdapter(roseParallel, pivotRoseParallel)
|
3789
4667
|
];
|
3790
|
-
const
|
3791
|
-
|
3792
|
-
stackInverse,
|
4668
|
+
const funnel = [
|
4669
|
+
initFunnel,
|
3793
4670
|
color_color,
|
3794
4671
|
background_backgroundColor,
|
3795
|
-
percent,
|
3796
4672
|
dataset_dataset,
|
3797
|
-
xBand,
|
3798
|
-
yLinear,
|
3799
4673
|
label_label,
|
3800
4674
|
tooltip_tooltip,
|
3801
|
-
verticalCrosshairLine,
|
3802
4675
|
discreteLegend,
|
3803
|
-
pointStyle_pointStyle,
|
3804
|
-
lineStyle_lineStyle,
|
3805
|
-
areaStyle_areaStyle,
|
3806
4676
|
annotationPoint_annotationPoint,
|
3807
4677
|
annotationVerticalLine_annotationVerticalLine,
|
3808
4678
|
annotationHorizontalLine_annotationHorizontalLine,
|
3809
4679
|
annotationArea_annotationArea
|
3810
4680
|
];
|
3811
|
-
const
|
4681
|
+
const pivotFunnel = [
|
3812
4682
|
initPivot,
|
3813
4683
|
pivotGridStyle,
|
3814
4684
|
pivotIndicators_pivotIndicatorsAsRow,
|
3815
4685
|
datasetPivot,
|
3816
4686
|
pivotIndicators([
|
3817
|
-
|
3818
|
-
stackInverse,
|
4687
|
+
initFunnel,
|
3819
4688
|
color_color,
|
3820
4689
|
background_backgroundColor,
|
3821
|
-
percent,
|
3822
4690
|
datasetPivotPlaceholder,
|
3823
|
-
xBand,
|
3824
|
-
yLinear,
|
3825
4691
|
label_label,
|
3826
4692
|
tooltip_tooltip,
|
3827
|
-
verticalCrosshairLine,
|
3828
|
-
pointStyle_pointStyle,
|
3829
|
-
lineStyle_lineStyle,
|
3830
|
-
areaStyle_areaStyle,
|
3831
4693
|
annotationPoint_annotationPoint,
|
3832
4694
|
annotationVerticalLine_annotationVerticalLine,
|
3833
4695
|
annotationHorizontalLine_annotationHorizontalLine,
|
@@ -3837,34 +4699,67 @@
|
|
3837
4699
|
pivotColumnDimensions,
|
3838
4700
|
pivotDiscreteLegend
|
3839
4701
|
];
|
3840
|
-
const
|
3841
|
-
pivotAdapter_pivotAdapter(
|
4702
|
+
const funnelSpecPipeline = [
|
4703
|
+
pivotAdapter_pivotAdapter(funnel, pivotFunnel)
|
3842
4704
|
];
|
3843
|
-
const
|
3844
|
-
|
4705
|
+
const initScatter = (spec, context)=>{
|
4706
|
+
const result = {
|
4707
|
+
...spec
|
4708
|
+
};
|
4709
|
+
const { advancedVSeed } = context;
|
4710
|
+
const { encoding } = advancedVSeed;
|
4711
|
+
if (!encoding[0].y || !encoding[0].x || !encoding[0].group) return result;
|
4712
|
+
result.type = 'scatter';
|
4713
|
+
result.direction = 'vertical';
|
4714
|
+
result.xField = encoding[0].x[0];
|
4715
|
+
result.yField = encoding[0].y[0];
|
4716
|
+
result.seriesField = encoding[0].group[0];
|
4717
|
+
result.padding = 0;
|
4718
|
+
result.region = [
|
4719
|
+
{
|
4720
|
+
clip: true
|
4721
|
+
}
|
4722
|
+
];
|
4723
|
+
result.animation = true;
|
4724
|
+
return result;
|
4725
|
+
};
|
4726
|
+
const scatter = [
|
4727
|
+
initScatter,
|
3845
4728
|
color_color,
|
3846
4729
|
background_backgroundColor,
|
3847
4730
|
dataset_dataset,
|
4731
|
+
xLinear,
|
4732
|
+
yLinear,
|
3848
4733
|
label_label,
|
3849
4734
|
tooltip_tooltip,
|
4735
|
+
verticalCrosshairLine,
|
4736
|
+
horizontalCrosshairLine,
|
3850
4737
|
discreteLegend,
|
4738
|
+
pointStyle_pointStyle,
|
4739
|
+
pointStateHover,
|
3851
4740
|
annotationPoint_annotationPoint,
|
3852
4741
|
annotationVerticalLine_annotationVerticalLine,
|
3853
4742
|
annotationHorizontalLine_annotationHorizontalLine,
|
3854
4743
|
annotationArea_annotationArea
|
3855
4744
|
];
|
3856
|
-
const
|
4745
|
+
const pivotScatter = [
|
3857
4746
|
initPivot,
|
3858
4747
|
pivotGridStyle,
|
3859
4748
|
pivotIndicators_pivotIndicatorsAsRow,
|
3860
4749
|
datasetPivot,
|
3861
4750
|
pivotIndicators([
|
3862
|
-
|
4751
|
+
initScatter,
|
3863
4752
|
color_color,
|
3864
4753
|
background_backgroundColor,
|
3865
4754
|
datasetPivotPlaceholder,
|
4755
|
+
xLinear,
|
4756
|
+
yLinear,
|
3866
4757
|
label_label,
|
3867
4758
|
tooltip_tooltip,
|
4759
|
+
verticalCrosshairLine,
|
4760
|
+
horizontalCrosshairLine,
|
4761
|
+
pointStyle_pointStyle,
|
4762
|
+
pointStateHover,
|
3868
4763
|
annotationPoint_annotationPoint,
|
3869
4764
|
annotationVerticalLine_annotationVerticalLine,
|
3870
4765
|
annotationHorizontalLine_annotationHorizontalLine,
|
@@ -3874,8 +4769,8 @@
|
|
3874
4769
|
pivotColumnDimensions,
|
3875
4770
|
pivotDiscreteLegend
|
3876
4771
|
];
|
3877
|
-
const
|
3878
|
-
pivotAdapter_pivotAdapter(
|
4772
|
+
const scatterSpecPipeline = [
|
4773
|
+
pivotAdapter_pivotAdapter(scatter, pivotScatter)
|
3879
4774
|
];
|
3880
4775
|
const buildAdvanced = (builder)=>{
|
3881
4776
|
const { chartType } = builder.vseed;
|
@@ -3995,6 +4890,26 @@
|
|
3995
4890
|
Builder._advancedPipelineMap.pie = pieAdvancedPipeline;
|
3996
4891
|
Builder._specPipelineMap.pie = pieSpecPipeline;
|
3997
4892
|
};
|
4893
|
+
const registerDonut = ()=>{
|
4894
|
+
Builder._advancedPipelineMap.donut = donutAdvancedPipeline;
|
4895
|
+
Builder._specPipelineMap.donut = donutSpecPipeline;
|
4896
|
+
};
|
4897
|
+
const registerRose = ()=>{
|
4898
|
+
Builder._advancedPipelineMap.rose = roseAdvancedPipeline;
|
4899
|
+
Builder._specPipelineMap.rose = roseSpecPipeline;
|
4900
|
+
};
|
4901
|
+
const registerRoseParallel = ()=>{
|
4902
|
+
Builder._advancedPipelineMap.roseParallel = roseParallelAdvancedPipeline;
|
4903
|
+
Builder._specPipelineMap.roseParallel = roseParallelSpecPipeline;
|
4904
|
+
};
|
4905
|
+
const registerFunnel = ()=>{
|
4906
|
+
Builder._advancedPipelineMap.funnel = funnelAdvancedPipeline;
|
4907
|
+
Builder._specPipelineMap.funnel = funnelSpecPipeline;
|
4908
|
+
};
|
4909
|
+
const registerScatter = ()=>{
|
4910
|
+
Builder._advancedPipelineMap.scatter = scatterAdvancedPipeline;
|
4911
|
+
Builder._specPipelineMap.scatter = scatterSpecPipeline;
|
4912
|
+
};
|
3998
4913
|
const lightTheme = ()=>{
|
3999
4914
|
const linearAxis = {
|
4000
4915
|
nice: true,
|
@@ -4220,6 +5135,23 @@
|
|
4220
5135
|
xAxis: bandAxis,
|
4221
5136
|
yAxis: linearAxis,
|
4222
5137
|
crosshairLine
|
5138
|
+
},
|
5139
|
+
scatter: {
|
5140
|
+
xAxis: {
|
5141
|
+
...linearAxis,
|
5142
|
+
line: {
|
5143
|
+
...linearAxis.line,
|
5144
|
+
visible: true
|
5145
|
+
}
|
5146
|
+
},
|
5147
|
+
yAxis: {
|
5148
|
+
...linearAxis,
|
5149
|
+
line: {
|
5150
|
+
...linearAxis.line,
|
5151
|
+
visible: true
|
5152
|
+
}
|
5153
|
+
},
|
5154
|
+
crosshairLine
|
4223
5155
|
}
|
4224
5156
|
}
|
4225
5157
|
};
|
@@ -4448,6 +5380,23 @@
|
|
4448
5380
|
xAxis: bandAxis,
|
4449
5381
|
yAxis: linearAxis,
|
4450
5382
|
crosshairLine: crosshairLine
|
5383
|
+
},
|
5384
|
+
scatter: {
|
5385
|
+
xAxis: {
|
5386
|
+
...linearAxis,
|
5387
|
+
line: {
|
5388
|
+
...linearAxis.line,
|
5389
|
+
visible: true
|
5390
|
+
}
|
5391
|
+
},
|
5392
|
+
yAxis: {
|
5393
|
+
...linearAxis,
|
5394
|
+
line: {
|
5395
|
+
...linearAxis.line,
|
5396
|
+
visible: true
|
5397
|
+
}
|
5398
|
+
},
|
5399
|
+
crosshairLine
|
4451
5400
|
}
|
4452
5401
|
}
|
4453
5402
|
};
|
@@ -4465,7 +5414,7 @@
|
|
4465
5414
|
const registerDarkTheme = ()=>{
|
4466
5415
|
registerCustomTheme('dark', darkTheme());
|
4467
5416
|
};
|
4468
|
-
const
|
5417
|
+
const registerAll = ()=>{
|
4469
5418
|
registerLine();
|
4470
5419
|
registerColumn();
|
4471
5420
|
registerColumnParallel();
|
@@ -4476,6 +5425,11 @@
|
|
4476
5425
|
registerArea();
|
4477
5426
|
registerAreaPercent();
|
4478
5427
|
registerPie();
|
5428
|
+
registerDonut();
|
5429
|
+
registerRose();
|
5430
|
+
registerRoseParallel();
|
5431
|
+
registerFunnel();
|
5432
|
+
registerScatter();
|
4479
5433
|
registerLightTheme();
|
4480
5434
|
registerDarkTheme();
|
4481
5435
|
};
|
@@ -7775,9 +8729,12 @@
|
|
7775
8729
|
'area',
|
7776
8730
|
'areaPercent',
|
7777
8731
|
'rose',
|
8732
|
+
'roseParallel',
|
7778
8733
|
'pie',
|
7779
8734
|
'donut',
|
7780
|
-
'dualAxis'
|
8735
|
+
'dualAxis',
|
8736
|
+
'scatter',
|
8737
|
+
'funnel'
|
7781
8738
|
]);
|
7782
8739
|
const zDatum = record(schemas_string().or(schemas_number()), any());
|
7783
8740
|
const zDataset = schemas_array(zDatum);
|
@@ -7850,7 +8807,8 @@
|
|
7850
8807
|
group: schemas_array(schemas_string()).optional(),
|
7851
8808
|
angle: schemas_array(schemas_string()).optional(),
|
7852
8809
|
radius: schemas_array(schemas_string()).optional(),
|
7853
|
-
tooltip: schemas_array(schemas_string()).optional()
|
8810
|
+
tooltip: schemas_array(schemas_string()).optional(),
|
8811
|
+
size: schemas_array(schemas_string()).optional()
|
7854
8812
|
}));
|
7855
8813
|
const zBackgroundColor = schemas_string().default('transparent').optional();
|
7856
8814
|
const zLabel = schemas_object({
|
@@ -8083,6 +9041,8 @@
|
|
8083
9041
|
0
|
8084
9042
|
]);
|
8085
9043
|
const zConfig = schemas_object({
|
9044
|
+
table: schemas_object({}).optional(),
|
9045
|
+
pivotTable: schemas_object({}).optional(),
|
8086
9046
|
line: schemas_object({
|
8087
9047
|
xAxis: zXBandAxis.optional(),
|
8088
9048
|
yAxis: zYLinearAxis.optional(),
|
@@ -8134,12 +9094,17 @@
|
|
8134
9094
|
yAxis: zYLinearAxis.optional(),
|
8135
9095
|
crosshairLine: zCrosshairLine.optional()
|
8136
9096
|
}).optional(),
|
9097
|
+
rose: schemas_object({}).optional(),
|
9098
|
+
roseParallel: schemas_object({}).optional(),
|
8137
9099
|
pie: schemas_object({}).optional(),
|
8138
9100
|
donut: schemas_object({}).optional(),
|
8139
|
-
rose: schemas_object({}).optional(),
|
8140
9101
|
dualAxis: schemas_object({}).optional(),
|
8141
|
-
|
8142
|
-
|
9102
|
+
scatter: schemas_object({
|
9103
|
+
xAxis: zXLinearAxis.optional(),
|
9104
|
+
yAxis: zYLinearAxis.optional(),
|
9105
|
+
crosshairLine: zCrosshairLine.optional()
|
9106
|
+
}).optional(),
|
9107
|
+
funnel: schemas_object({}).optional()
|
8143
9108
|
});
|
8144
9109
|
const zSelector = union([
|
8145
9110
|
schemas_string(),
|
@@ -8588,6 +9553,19 @@
|
|
8588
9553
|
annotationArea: zAnnotationArea.optional(),
|
8589
9554
|
locale: zLocale.optional()
|
8590
9555
|
});
|
9556
|
+
const zRose = schemas_object({
|
9557
|
+
chartType: literal('rose'),
|
9558
|
+
dataset: zDataset.optional(),
|
9559
|
+
dimensions: zDimensions.optional(),
|
9560
|
+
measures: zMeasures.optional(),
|
9561
|
+
backgroundColor: zBackgroundColor.optional(),
|
9562
|
+
color: zColor.optional(),
|
9563
|
+
label: zLabel.optional(),
|
9564
|
+
legend: zLegend.optional(),
|
9565
|
+
tooltip: zTooltip.optional(),
|
9566
|
+
theme: zTheme.optional(),
|
9567
|
+
locale: zLocale.optional()
|
9568
|
+
});
|
8591
9569
|
const zBarPercent = schemas_object({
|
8592
9570
|
chartType: literal('barPercent'),
|
8593
9571
|
dataset: zDataset.optional(),
|
@@ -8623,6 +9601,19 @@
|
|
8623
9601
|
theme: zTheme.optional(),
|
8624
9602
|
locale: zLocale.optional()
|
8625
9603
|
});
|
9604
|
+
const zDonut = schemas_object({
|
9605
|
+
chartType: literal('donut'),
|
9606
|
+
dataset: zDataset.optional(),
|
9607
|
+
dimensions: zDimensions.optional(),
|
9608
|
+
measures: zMeasures.optional(),
|
9609
|
+
backgroundColor: zBackgroundColor.optional(),
|
9610
|
+
color: zColor.optional(),
|
9611
|
+
label: zLabel.optional(),
|
9612
|
+
legend: zLegend.optional(),
|
9613
|
+
tooltip: zTooltip.optional(),
|
9614
|
+
theme: zTheme.optional(),
|
9615
|
+
locale: zLocale.optional()
|
9616
|
+
});
|
8626
9617
|
const zArea = schemas_object({
|
8627
9618
|
chartType: literal('area'),
|
8628
9619
|
dataset: zDataset.optional(),
|
@@ -8669,6 +9660,53 @@
|
|
8669
9660
|
annotationArea: zAnnotationArea.optional(),
|
8670
9661
|
locale: zLocale.optional()
|
8671
9662
|
});
|
9663
|
+
const zRoseParallel = schemas_object({
|
9664
|
+
chartType: literal('roseParallel'),
|
9665
|
+
dataset: zDataset.optional(),
|
9666
|
+
dimensions: zDimensions.optional(),
|
9667
|
+
measures: zMeasures.optional(),
|
9668
|
+
backgroundColor: zBackgroundColor.optional(),
|
9669
|
+
color: zColor.optional(),
|
9670
|
+
label: zLabel.optional(),
|
9671
|
+
legend: zLegend.optional(),
|
9672
|
+
tooltip: zTooltip.optional(),
|
9673
|
+
theme: zTheme.optional(),
|
9674
|
+
locale: zLocale.optional()
|
9675
|
+
});
|
9676
|
+
const zScatter = schemas_object({
|
9677
|
+
chartType: literal('scatter'),
|
9678
|
+
dataset: zDataset.optional(),
|
9679
|
+
dimensions: zDimensions.optional(),
|
9680
|
+
measures: zMeasures.optional(),
|
9681
|
+
backgroundColor: zBackgroundColor.optional(),
|
9682
|
+
color: zColor.optional(),
|
9683
|
+
label: zLabel.optional(),
|
9684
|
+
legend: zLegend.optional(),
|
9685
|
+
tooltip: zTooltip.optional(),
|
9686
|
+
xAxis: zXLinearAxis.optional(),
|
9687
|
+
yAxis: zYLinearAxis.optional(),
|
9688
|
+
crosshairLine: zCrosshairLine.optional(),
|
9689
|
+
theme: zTheme.optional(),
|
9690
|
+
pointStyle: zPointStyle.optional(),
|
9691
|
+
annotationPoint: zAnnotationPoint.optional(),
|
9692
|
+
annotationVerticalLine: zAnnotationVerticalLine.optional(),
|
9693
|
+
annotationHorizontalLine: zAnnotationHorizontalLine.optional(),
|
9694
|
+
annotationArea: zAnnotationArea.optional(),
|
9695
|
+
locale: zLocale.optional()
|
9696
|
+
});
|
9697
|
+
const zFunnel = schemas_object({
|
9698
|
+
chartType: literal('funnel'),
|
9699
|
+
dataset: zDataset.optional(),
|
9700
|
+
dimensions: zDimensions.optional(),
|
9701
|
+
measures: zMeasures.optional(),
|
9702
|
+
backgroundColor: zBackgroundColor.optional(),
|
9703
|
+
color: zColor.optional(),
|
9704
|
+
label: zLabel.optional(),
|
9705
|
+
legend: zLegend.optional(),
|
9706
|
+
tooltip: zTooltip.optional(),
|
9707
|
+
theme: zTheme.optional(),
|
9708
|
+
locale: zLocale.optional()
|
9709
|
+
});
|
8672
9710
|
const zVSeed = discriminatedUnion('chartType', [
|
8673
9711
|
zLine,
|
8674
9712
|
zColumn,
|
@@ -8679,7 +9717,12 @@
|
|
8679
9717
|
zBarPercent,
|
8680
9718
|
zArea,
|
8681
9719
|
zAreaPercent,
|
8682
|
-
zPie
|
9720
|
+
zPie,
|
9721
|
+
zRose,
|
9722
|
+
zRoseParallel,
|
9723
|
+
zScatter,
|
9724
|
+
zDonut,
|
9725
|
+
zFunnel
|
8683
9726
|
]);
|
8684
9727
|
return __webpack_exports__;
|
8685
9728
|
})());
|