@visactor/vseed 0.1.44 → 0.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/builder/builder/buildSpec.js.map +1 -1
- package/dist/esm/builder/builder/builder.d.ts +240 -0
- package/dist/esm/pipeline/spec/chart/pipeline/area.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/bar.d.ts +1 -2
- package/dist/esm/pipeline/spec/chart/pipeline/bar.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/barParallel.d.ts +1 -2
- package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/barPercent.d.ts +1 -2
- package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/boxplot.d.ts +1 -2
- package/dist/esm/pipeline/spec/chart/pipeline/boxplot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/column.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.d.ts +1 -2
- package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.d.ts +1 -2
- package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/donut.d.ts +1 -2
- package/dist/esm/pipeline/spec/chart/pipeline/donut.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.d.ts +1 -2
- package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/funnel.d.ts +1 -2
- package/dist/esm/pipeline/spec/chart/pipeline/funnel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/heatmap.d.ts +1 -2
- package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/histogram.d.ts +1 -2
- package/dist/esm/pipeline/spec/chart/pipeline/histogram.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/line.d.ts +1 -2
- package/dist/esm/pipeline/spec/chart/pipeline/line.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/pie.d.ts +1 -2
- package/dist/esm/pipeline/spec/chart/pipeline/pie.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/radar.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/rose.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/roseParallel.d.ts +1 -2
- package/dist/esm/pipeline/spec/chart/pipeline/roseParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/scatter.d.ts +1 -2
- package/dist/esm/pipeline/spec/chart/pipeline/scatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationArea.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationArea.js +14 -13
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationArea.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationAreaBand.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationAreaBand.js +12 -19
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationAreaBand.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationHorizontalLine.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationHorizontalLine.js +2 -17
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationHorizontalLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPoint.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPoint.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationVerticalLine.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationVerticalLine.js +2 -17
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationVerticalLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/splitLine.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/annotation/splitLine.js +3 -3
- package/dist/esm/pipeline/spec/chart/pipes/annotation/splitLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.d.ts +34 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.js +35 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/radarAngle.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/axes/radarAngle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/radarRadius.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/axes/radarRadius.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/radius.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/axes/radius.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/xBand.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/axes/xBand.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/xLinear.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/axes/xLinear.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/yBand.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/axes/yBand.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinear.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinear.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearPrimary.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearPrimary.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearSecondary.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearSecondary.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/backgroundColor/background.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/backgroundColor/background.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/barWidth/barGapInGroup.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/barWidth/barGapInGroup.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/barWidth/barMaxWidth.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/barWidth/barMaxWidth.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/color.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/color/color.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorAdapter.d.ts +3 -2
- package/dist/esm/pipeline/spec/chart/pipes/color/colorAdapter.js +3 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorAdapter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorAreaStyleFill.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/color/colorAreaStyleFill.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorBarStyleFill.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/color/colorBarStyleFill.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorCellStyleFill.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/color/colorCellStyleFill.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorFunnelStyleFill.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/color/colorFunnelStyleFill.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorLineStyleFill.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/color/colorLineStyleFill.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorPieStyleFill.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/color/colorPieStyleFill.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorPointStyleFill.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/color/colorPointStyleFill.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorRoseStyleFill.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/color/colorRoseStyleFill.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/linearColor.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/color/linearColor.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/linearColorForDualAxis.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/color/linearColorForDualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairLine.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairRect.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairRect.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairLine.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairRect.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairRect.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetBoxplot.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetBoxplot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetDualAxis.d.ts +3 -3
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetDualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHistogram.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHistogram.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetPivot.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetPivot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetScatter.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetScatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetXY.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetXY.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetYX.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetYX.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/progressive.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/dataset/progressive.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dual/dualChartType.d.ts +3 -3
- package/dist/esm/pipeline/spec/chart/pipes/dual/dualChartType.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/area.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/area.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/bar.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/bar.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/barParallel.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/barParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/boxplot.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/boxplot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/column.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/column.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/columnParallel.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/columnParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/donut.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/donut.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/dualAxis.d.ts +3 -3
- package/dist/esm/pipeline/spec/chart/pipes/init/dualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/funnel.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/funnel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/heatmap.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/heatmap.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/histogram.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/histogram.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/line.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/line.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/pie.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/pie.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/pivot.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/pivot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/radar.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/radar.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/rose.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/rose.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/roseParallel.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/roseParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/scatter.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/scatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/label.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/label/label.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/labelDualAxis.d.ts +3 -3
- package/dist/esm/pipeline/spec/chart/pipes/label/labelDualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/labelPie.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/label/labelPie.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/labelScatter.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/label/labelScatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/colorLegend.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/legend/colorLegend.js +7 -0
- package/dist/esm/pipeline/spec/chart/pipes/legend/colorLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/discreteLegend.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/legend/discreteLegend.js +18 -2
- package/dist/esm/pipeline/spec/chart/pipes/legend/discreteLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/heatmapColorLegend.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/legend/heatmapColorLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/pivotColorLegend.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/legend/pivotColorLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/pivotDiscreteLegend.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/legend/pivotDiscreteLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/areaStyle.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/areaStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/barStyle.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/barStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/cellStyle.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/cellStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelStyle.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelTransformStyle.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelTransformStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/lineStyle.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/lineStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/pieStyle.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/pieStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/pointState.d.ts +3 -3
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/pointState.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/pointStyle.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/pointStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/roseStyle.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/roseStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/percent/percent.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/percent/percent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAdapter.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAdapter.js +4 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAdapter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAxisStyle.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAxisStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotColumnDimensions.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotColumnDimensions.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotHideIndicatorName.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotHideIndicatorName.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.d.ts +4 -4
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotRowDimensions.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotRowDimensions.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotTitle.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotTitle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/region/addRegionPadding.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/region/addRegionPadding.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.d.ts +6 -6
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/series/series.d.ts +3 -3
- package/dist/esm/pipeline/spec/chart/pipes/series/series.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/size/scatterSize.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/size/scatterSize.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/stack/stack.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/stack/stack.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/stack/stackCornerRadius.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/stack/stackCornerRadius.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltip.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltip.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.d.ts +3 -3
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHeatmap.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHeatmap.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHistogram.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHistogram.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipScatter.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipScatter.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/cellStyle/pivot.d.ts +2 -2
- package/dist/esm/pipeline/spec/table/pipes/cellStyle/pivot.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/cellStyle/table.d.ts +2 -2
- package/dist/esm/pipeline/spec/table/pipes/cellStyle/table.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/columns/dimensionsToColumns.d.ts +2 -2
- package/dist/esm/pipeline/spec/table/pipes/columns/dimensionsToColumns.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/columns/measuresToColumns.d.ts +2 -2
- package/dist/esm/pipeline/spec/table/pipes/columns/measuresToColumns.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/columns/pivotColumns.d.ts +2 -2
- package/dist/esm/pipeline/spec/table/pipes/columns/pivotColumns.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/corner/titleOnDimension.d.ts +2 -2
- package/dist/esm/pipeline/spec/table/pipes/corner/titleOnDimension.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/indicators/pivotDataConfig.d.ts +2 -2
- package/dist/esm/pipeline/spec/table/pipes/indicators/pivotDataConfig.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/indicators/pivotIndicators.d.ts +2 -2
- package/dist/esm/pipeline/spec/table/pipes/indicators/pivotIndicators.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/init/pivotTable.d.ts +2 -2
- package/dist/esm/pipeline/spec/table/pipes/init/pivotTable.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/init/table.d.ts +2 -2
- package/dist/esm/pipeline/spec/table/pipes/init/table.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/rows/pivotRows.d.ts +2 -2
- package/dist/esm/pipeline/spec/table/pipes/rows/pivotRows.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/bodyStyle.d.ts +2 -2
- package/dist/esm/pipeline/spec/table/pipes/theme/bodyStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/cornerHeaderStyle.d.ts +2 -2
- package/dist/esm/pipeline/spec/table/pipes/theme/cornerHeaderStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/frameStyle.d.ts +2 -2
- package/dist/esm/pipeline/spec/table/pipes/theme/frameStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/headerStyle.d.ts +2 -2
- package/dist/esm/pipeline/spec/table/pipes/theme/headerStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/rowHeaderStyle.d.ts +2 -2
- package/dist/esm/pipeline/spec/table/pipes/theme/rowHeaderStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/scrollStyle.d.ts +2 -2
- package/dist/esm/pipeline/spec/table/pipes/theme/scrollStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/theme/selectionStyle.d.ts +2 -2
- package/dist/esm/pipeline/spec/table/pipes/theme/selectionStyle.js.map +1 -1
- package/dist/esm/theme/common/annotaion.js +7 -7
- package/dist/esm/theme/common/annotaion.js.map +1 -1
- package/dist/esm/theme/common/axes.js +16 -16
- package/dist/esm/theme/common/axes.js.map +1 -1
- package/dist/esm/theme/common/legend.d.ts +2 -0
- package/dist/esm/theme/common/legend.js +13 -2
- package/dist/esm/theme/common/legend.js.map +1 -1
- package/dist/esm/theme/common/table.js +0 -2
- package/dist/esm/theme/common/table.js.map +1 -1
- package/dist/esm/theme/dark/dark.js +2 -2
- package/dist/esm/theme/dark/dark.js.map +1 -1
- package/dist/esm/theme/light/light.js +2 -2
- package/dist/esm/theme/light/light.js.map +1 -1
- package/dist/esm/types/advancedVSeed.d.ts +80 -0
- package/dist/esm/types/chartType/area/zArea.d.ts +2 -0
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.d.ts +2 -0
- package/dist/esm/types/chartType/bar/zBar.d.ts +2 -0
- package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +2 -0
- package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +2 -0
- package/dist/esm/types/chartType/boxplot/zBoxplot.d.ts +2 -0
- package/dist/esm/types/chartType/column/zColumn.d.ts +2 -0
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +2 -0
- package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +2 -0
- package/dist/esm/types/chartType/donut/zDonut.d.ts +2 -0
- package/dist/esm/types/chartType/dualAxis/zDualAxis.d.ts +2 -0
- package/dist/esm/types/chartType/histogram/zHistogram.d.ts +2 -0
- package/dist/esm/types/chartType/line/zLine.d.ts +2 -0
- package/dist/esm/types/chartType/pie/zPie.d.ts +2 -0
- package/dist/esm/types/chartType/radar/zRadar.d.ts +2 -0
- package/dist/esm/types/chartType/rose/zRose.d.ts +2 -0
- package/dist/esm/types/chartType/roseParallel/zRoseParallel.d.ts +2 -0
- package/dist/esm/types/chartType/scatter/zScatter.d.ts +2 -0
- package/dist/esm/types/pipeline/spec/spec.d.ts +11 -2
- package/dist/esm/types/properties/config/area.d.ts +4 -0
- package/dist/esm/types/properties/config/bar.d.ts +6 -0
- package/dist/esm/types/properties/config/boxplot.d.ts +2 -0
- package/dist/esm/types/properties/config/column.d.ts +6 -0
- package/dist/esm/types/properties/config/config.d.ts +40 -0
- package/dist/esm/types/properties/config/dualAxis.d.ts +2 -0
- package/dist/esm/types/properties/config/funnel.d.ts +2 -0
- package/dist/esm/types/properties/config/heatmap.d.ts +2 -0
- package/dist/esm/types/properties/config/histogram.d.ts +2 -0
- package/dist/esm/types/properties/config/legend/legend.d.ts +10 -0
- package/dist/esm/types/properties/config/legend/legend.js +2 -0
- package/dist/esm/types/properties/config/legend/legend.js.map +1 -1
- package/dist/esm/types/properties/config/line.d.ts +2 -0
- package/dist/esm/types/properties/config/pie.d.ts +6 -0
- package/dist/esm/types/properties/config/rose.d.ts +4 -0
- package/dist/esm/types/properties/config/scatter.d.ts +2 -0
- package/dist/esm/types/properties/theme/customTheme.d.ts +80 -0
- package/dist/esm/types/zVseed.d.ts +36 -0
- package/dist/umd/index.js +207 -139
- package/dist/umd/index.js.map +1 -1
- package/package.json +5 -5
package/dist/umd/index.js
CHANGED
|
@@ -2451,11 +2451,13 @@
|
|
|
2451
2451
|
unfoldInfo
|
|
2452
2452
|
};
|
|
2453
2453
|
};
|
|
2454
|
-
|
|
2454
|
+
function colorAdapter(ordinalPipe, linearPipe) {
|
|
2455
|
+
return (spec, context)=>{
|
|
2455
2456
|
const { advancedVSeed, vseed } = context;
|
|
2456
2457
|
if (isLinearColor(advancedVSeed, vseed)) return linearPipe(spec, context);
|
|
2457
2458
|
return ordinalPipe(spec, context);
|
|
2458
2459
|
};
|
|
2460
|
+
}
|
|
2459
2461
|
const isLinearColor = (advancedVSeed, vseed)=>{
|
|
2460
2462
|
const { encoding } = advancedVSeed;
|
|
2461
2463
|
const measures = vseed.measures || advancedVSeed.measures;
|
|
@@ -3089,7 +3091,7 @@
|
|
|
3089
3091
|
const baseConfig = advancedVSeed.config[chartType];
|
|
3090
3092
|
if (!baseConfig || !baseConfig.legend) return result;
|
|
3091
3093
|
const { legend } = baseConfig;
|
|
3092
|
-
const { enable, position = 'bottom', labelFontColor, labelColor, labelFontSize = 12, labelFontWeight, maxSize = 1, border, shapeType = 'rectRound' } = legend || {};
|
|
3094
|
+
const { enable, position = 'bottom', labelFontColor, labelColor, labelFontSize = 12, pagerIconColor, pagerIconDisableColor, labelFontWeight, maxSize = 1, border, shapeType = 'rectRound' } = legend || {};
|
|
3093
3095
|
const orient = [
|
|
3094
3096
|
'bottom',
|
|
3095
3097
|
'bottomLeft',
|
|
@@ -3128,6 +3130,7 @@
|
|
|
3128
3130
|
'rt',
|
|
3129
3131
|
'br'
|
|
3130
3132
|
].includes(position) ? 'end' : 'middle';
|
|
3133
|
+
const labelTextColor = labelColor || labelFontColor;
|
|
3131
3134
|
result.legends = {
|
|
3132
3135
|
type: 'discrete',
|
|
3133
3136
|
visible: enable,
|
|
@@ -3141,7 +3144,7 @@
|
|
|
3141
3144
|
maxWidth: '30%',
|
|
3142
3145
|
focusIconStyle: {
|
|
3143
3146
|
size: labelFontSize + 2,
|
|
3144
|
-
fill:
|
|
3147
|
+
fill: labelTextColor,
|
|
3145
3148
|
fontWeight: labelFontWeight
|
|
3146
3149
|
},
|
|
3147
3150
|
shape: {
|
|
@@ -3191,6 +3194,21 @@
|
|
|
3191
3194
|
}
|
|
3192
3195
|
}
|
|
3193
3196
|
},
|
|
3197
|
+
pager: {
|
|
3198
|
+
textStyle: {
|
|
3199
|
+
fill: labelTextColor
|
|
3200
|
+
},
|
|
3201
|
+
handler: {
|
|
3202
|
+
style: {
|
|
3203
|
+
fill: pagerIconColor
|
|
3204
|
+
},
|
|
3205
|
+
state: {
|
|
3206
|
+
disable: {
|
|
3207
|
+
fill: pagerIconDisableColor
|
|
3208
|
+
}
|
|
3209
|
+
}
|
|
3210
|
+
}
|
|
3211
|
+
},
|
|
3194
3212
|
padding: 0
|
|
3195
3213
|
};
|
|
3196
3214
|
return result;
|
|
@@ -3261,6 +3279,12 @@
|
|
|
3261
3279
|
}
|
|
3262
3280
|
}
|
|
3263
3281
|
};
|
|
3282
|
+
const measures = findAllMeasures(advancedVSeed.measures);
|
|
3283
|
+
const colorMeasure = measures.find((m)=>'color' === m.encoding);
|
|
3284
|
+
if (colorMeasure) {
|
|
3285
|
+
const formatter = createFormatterByMeasure(colorMeasure);
|
|
3286
|
+
result.legends.handlerText.formatter = formatter;
|
|
3287
|
+
}
|
|
3264
3288
|
return result;
|
|
3265
3289
|
};
|
|
3266
3290
|
const colorPointStyleFill = (stylePipe)=>(spec, context)=>{
|
|
@@ -3698,6 +3722,40 @@
|
|
|
3698
3722
|
if ('number' == typeof value) return obj[key] === value;
|
|
3699
3723
|
return true;
|
|
3700
3724
|
});
|
|
3725
|
+
const ANNOTATION_AREA_TEXT_STYLE_BY_POSITION = {
|
|
3726
|
+
top: {
|
|
3727
|
+
textAlign: 'center',
|
|
3728
|
+
textBaseline: 'top'
|
|
3729
|
+
},
|
|
3730
|
+
topRight: {
|
|
3731
|
+
textAlign: 'right',
|
|
3732
|
+
textBaseline: 'top'
|
|
3733
|
+
},
|
|
3734
|
+
topLeft: {
|
|
3735
|
+
textAlign: 'left',
|
|
3736
|
+
textBaseline: 'top'
|
|
3737
|
+
},
|
|
3738
|
+
bottom: {
|
|
3739
|
+
textAlign: 'center',
|
|
3740
|
+
textBaseline: 'bottom'
|
|
3741
|
+
},
|
|
3742
|
+
bottomLeft: {
|
|
3743
|
+
textAlign: 'left',
|
|
3744
|
+
textBaseline: 'bottom'
|
|
3745
|
+
},
|
|
3746
|
+
bottomRight: {
|
|
3747
|
+
textAlign: 'right',
|
|
3748
|
+
textBaseline: 'bottom'
|
|
3749
|
+
},
|
|
3750
|
+
left: {
|
|
3751
|
+
textAlign: 'left',
|
|
3752
|
+
textBaseline: 'middle'
|
|
3753
|
+
},
|
|
3754
|
+
right: {
|
|
3755
|
+
textAlign: 'right',
|
|
3756
|
+
textBaseline: 'middle'
|
|
3757
|
+
}
|
|
3758
|
+
};
|
|
3701
3759
|
const annotationPoint_annotationPoint = (spec, context)=>{
|
|
3702
3760
|
const { advancedVSeed, vseed } = context;
|
|
3703
3761
|
const { annotation, config } = advancedVSeed;
|
|
@@ -3794,23 +3852,8 @@
|
|
|
3794
3852
|
const { selector: selectorPoint, xValue, text = '', textPosition = 'insideEnd', textColor = theme?.textColor ?? '#ffffff', textFontSize = theme?.textFontSize ?? 12, textFontWeight = theme?.textFontWeight ?? 400, textAlign = 'center', textBaseline = 'top', lineColor = theme?.lineColor ?? '#212121', lineStyle = theme?.lineStyle ?? 'dashed', lineVisible = theme?.lineStyle ?? true, lineWidth = theme?.lineWidth ?? 1, textBackgroundVisible = theme?.textBackgroundVisible ?? true, textBackgroundColor = theme?.textBackgroundColor ?? '#212121', textBackgroundBorderColor = theme?.textBackgroundBorderColor ?? '#212121', textBackgroundBorderRadius = theme?.textBackgroundBorderRadius ?? 4, textBackgroundBorderWidth = theme?.textBackgroundBorderWidth ?? 1, textBackgroundPadding = theme?.textBackgroundPadding ?? 2 } = annotationVerticalLine;
|
|
3795
3853
|
const dataset = advancedVSeed.dataset.flat();
|
|
3796
3854
|
const generateOneMarkLine = (x)=>({
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
const xAxisHelper = series.getXAxisHelper();
|
|
3800
|
-
const yAxisHelper = series.getYAxisHelper();
|
|
3801
|
-
const xPos = xAxisHelper.getScale(0).scale(x) + regionStart.x;
|
|
3802
|
-
const yRange = yAxisHelper.getScale(0).range();
|
|
3803
|
-
return [
|
|
3804
|
-
{
|
|
3805
|
-
x: xPos,
|
|
3806
|
-
y: yRange ? yRange[0] + regionStart.y : 0
|
|
3807
|
-
},
|
|
3808
|
-
{
|
|
3809
|
-
x: xPos,
|
|
3810
|
-
y: yRange ? yRange[1] + regionStart.y : 0
|
|
3811
|
-
}
|
|
3812
|
-
];
|
|
3813
|
-
},
|
|
3855
|
+
x,
|
|
3856
|
+
autoRange: true,
|
|
3814
3857
|
zIndex: 1000,
|
|
3815
3858
|
line: {
|
|
3816
3859
|
style: {
|
|
@@ -3923,23 +3966,8 @@
|
|
|
3923
3966
|
const { selector: selectorPoint, yValue, text = '', textPosition = 'insideEnd', textColor = theme?.textColor ?? '#ffffff', textFontSize = theme?.textFontSize ?? 12, textFontWeight = theme?.textFontWeight ?? 400, textAlign = 'right', textBaseline = 'bottom', lineColor = theme?.lineColor ?? '#212121', lineStyle = theme?.lineStyle ?? 'dashed', lineVisible = theme?.lineStyle ?? true, lineWidth = theme?.lineWidth ?? 1, textBackgroundVisible = theme?.textBackgroundVisible ?? true, textBackgroundColor = theme?.textBackgroundColor ?? '#212121', textBackgroundBorderColor = theme?.textBackgroundBorderColor ?? '#212121', textBackgroundBorderRadius = theme?.textBackgroundBorderRadius ?? 4, textBackgroundBorderWidth = theme?.textBackgroundBorderWidth ?? 1, textBackgroundPadding = theme?.textBackgroundPadding ?? 2 } = annotationHorizontalLine;
|
|
3924
3967
|
const dataset = advancedVSeed.dataset.flat();
|
|
3925
3968
|
const generateOneMarkLine = (y)=>({
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
const xAxisHelper = series.getXAxisHelper();
|
|
3929
|
-
const yAxisHelper = series.getYAxisHelper();
|
|
3930
|
-
const yPos = yAxisHelper.getScale(0).scale(y) + regionStart.y;
|
|
3931
|
-
const xRange = xAxisHelper.getScale(0).range();
|
|
3932
|
-
return [
|
|
3933
|
-
{
|
|
3934
|
-
x: xRange ? xRange[0] + regionStart.x : 0,
|
|
3935
|
-
y: yPos
|
|
3936
|
-
},
|
|
3937
|
-
{
|
|
3938
|
-
x: xRange ? xRange[1] + regionStart.x : 0,
|
|
3939
|
-
y: yPos
|
|
3940
|
-
}
|
|
3941
|
-
];
|
|
3942
|
-
},
|
|
3969
|
+
y,
|
|
3970
|
+
autoRange: true,
|
|
3943
3971
|
zIndex: 1000,
|
|
3944
3972
|
line: {
|
|
3945
3973
|
style: {
|
|
@@ -4048,12 +4076,14 @@
|
|
|
4048
4076
|
left: 'insideLeft',
|
|
4049
4077
|
right: 'insideRight'
|
|
4050
4078
|
};
|
|
4079
|
+
const defaultTextPosition = isBarLikeChart(advancedVSeed) ? 'right' : 'top';
|
|
4051
4080
|
const markArea = annotationAreaList.flatMap((annotationArea)=>{
|
|
4052
|
-
const { selector: selectorPoint, text = '',
|
|
4081
|
+
const { selector: selectorPoint, text = '', textColor = theme?.textColor ?? '#ffffff', textFontSize = theme?.textFontSize ?? 12, textFontWeight = theme?.textFontWeight ?? 400, textBackgroundVisible = theme?.textBackgroundVisible ?? true, textBackgroundColor = theme?.textBackgroundColor ?? '#191d24', textBackgroundBorderColor = theme?.textBackgroundBorderColor ?? '#191d24', textBackgroundBorderWidth = theme?.textBackgroundBorderWidth ?? 1, textBackgroundBorderRadius = theme?.textBackgroundBorderRadius ?? 4, textBackgroundPadding = theme?.textBackgroundPadding ?? 4, areaColor = theme?.areaColor ?? '#888888', areaColorOpacity = theme?.areaColorOpacity ?? 0.15, areaBorderColor = theme?.areaBorderColor ?? '#888888', areaBorderRadius = theme?.areaBorderRadius ?? 4, areaBorderWidth = theme?.areaBorderWidth ?? 1, areaLineDash = theme?.areaLineDash, outerPadding = theme?.outerPadding ?? 4 } = annotationArea;
|
|
4053
4082
|
const dataset = advancedVSeed.dataset.flat();
|
|
4054
4083
|
const selectedData = selectorPoint ? dataset.filter((datum)=>selector_selector(datum, selectorPoint)) : [];
|
|
4055
|
-
const
|
|
4056
|
-
const
|
|
4084
|
+
const textPosition = annotationArea.textPosition ?? defaultTextPosition;
|
|
4085
|
+
const textAlign = annotationArea.textAlign ?? ANNOTATION_AREA_TEXT_STYLE_BY_POSITION[textPosition].textAlign;
|
|
4086
|
+
const textBaseline = annotationArea.textBaseline ?? ANNOTATION_AREA_TEXT_STYLE_BY_POSITION[textPosition].textBaseline;
|
|
4057
4087
|
return {
|
|
4058
4088
|
zIndex: 1000,
|
|
4059
4089
|
regionRelative: true,
|
|
@@ -4063,11 +4093,11 @@
|
|
|
4063
4093
|
const yAxisHelper = context.getYAxisHelper();
|
|
4064
4094
|
const xAxisHelper = context.getXAxisHelper();
|
|
4065
4095
|
if ('function' == typeof xAxisHelper?.getBandwidth) {
|
|
4066
|
-
const
|
|
4096
|
+
const regionRect = context.getRegion().getLayoutRect();
|
|
4067
4097
|
const minX = Math.min(...xyList.map((item)=>item.x)) - (outerPadding || 4);
|
|
4068
4098
|
const maxX = Math.max(...xyList.map((item)=>item.x)) + (outerPadding || 4);
|
|
4069
|
-
const minY =
|
|
4070
|
-
const maxY =
|
|
4099
|
+
const minY = 0;
|
|
4100
|
+
const maxY = regionRect.height;
|
|
4071
4101
|
return [
|
|
4072
4102
|
{
|
|
4073
4103
|
x: minX,
|
|
@@ -4088,11 +4118,11 @@
|
|
|
4088
4118
|
];
|
|
4089
4119
|
}
|
|
4090
4120
|
if ('function' == typeof yAxisHelper?.getBandwidth) {
|
|
4091
|
-
const
|
|
4121
|
+
const regionRect = context.getRegion().getLayoutRect();
|
|
4092
4122
|
const minY = Math.min(...xyList.map((item)=>item.y)) - (outerPadding || 4);
|
|
4093
4123
|
const maxY = Math.max(...xyList.map((item)=>item.y)) + (outerPadding || 4);
|
|
4094
|
-
const minX =
|
|
4095
|
-
const maxX =
|
|
4124
|
+
const minX = 0;
|
|
4125
|
+
const maxX = regionRect.width;
|
|
4096
4126
|
return [
|
|
4097
4127
|
{
|
|
4098
4128
|
x: minX,
|
|
@@ -4115,12 +4145,11 @@
|
|
|
4115
4145
|
return [];
|
|
4116
4146
|
},
|
|
4117
4147
|
label: {
|
|
4118
|
-
position:
|
|
4148
|
+
position: positionMap[textPosition],
|
|
4119
4149
|
visible: true,
|
|
4120
4150
|
text: text,
|
|
4121
4151
|
style: {
|
|
4122
4152
|
opacity: 0.95,
|
|
4123
|
-
dy: isBottom ? 2 * -(textFontSize || 12) : 0,
|
|
4124
4153
|
textAlign: textAlign,
|
|
4125
4154
|
textBaseline: textBaseline,
|
|
4126
4155
|
fill: textColor,
|
|
@@ -4134,7 +4163,6 @@
|
|
|
4134
4163
|
padding: textBackgroundPadding,
|
|
4135
4164
|
style: {
|
|
4136
4165
|
opacity: 0.95,
|
|
4137
|
-
dy: isBottom ? 2 * -(textFontSize || 12) : 0,
|
|
4138
4166
|
cornerRadius: textBackgroundBorderRadius ?? 4,
|
|
4139
4167
|
fill: textBackgroundColor,
|
|
4140
4168
|
stroke: textBackgroundBorderColor,
|
|
@@ -4702,11 +4730,11 @@
|
|
|
4702
4730
|
if (!seriesSpec.point.style) seriesSpec.point.style = {};
|
|
4703
4731
|
if (!seriesSpec.line.style) seriesSpec.line.style = {};
|
|
4704
4732
|
const measureValueKey = datasetReshapeInfo[0].foldInfo.measureValue;
|
|
4705
|
-
seriesSpec.point.style.fill = (datum)=>datum?.[measureValueKey]
|
|
4706
|
-
seriesSpec.line.style.stroke = (datum)=>datum?.[measureValueKey]
|
|
4733
|
+
seriesSpec.point.style.fill = (datum)=>datum?.[measureValueKey] < splitValue ? colorConfig.negativeColor : colorConfig.positiveColor;
|
|
4734
|
+
seriesSpec.line.style.stroke = (datum)=>datum?.[measureValueKey] < splitValue ? colorConfig.negativeColor : colorConfig.positiveColor;
|
|
4707
4735
|
if (seriesSpec.label && seriesSpec.label.visible && chunk_JK3VNB42_n(seriesSpec.label.style?.fill)) seriesSpec.label.style = {
|
|
4708
4736
|
...seriesSpec.label.style,
|
|
4709
|
-
fill: (datum)=>datum?.[measureValueKey]
|
|
4737
|
+
fill: (datum)=>datum?.[measureValueKey] < splitValue ? colorConfig.negativeColor : colorConfig.positiveColor
|
|
4710
4738
|
};
|
|
4711
4739
|
}
|
|
4712
4740
|
return result;
|
|
@@ -5333,12 +5361,15 @@
|
|
|
5333
5361
|
legends
|
|
5334
5362
|
};
|
|
5335
5363
|
};
|
|
5336
|
-
const pivotAdapter_pivotAdapter = (pipeline, pivotPipeline)=>
|
|
5364
|
+
const pivotAdapter_pivotAdapter = (pipeline, pivotPipeline)=>{
|
|
5365
|
+
const adapted = (spec, context)=>{
|
|
5337
5366
|
const { vseed } = context;
|
|
5338
5367
|
const usePivotChart = isPivotChart(vseed);
|
|
5339
5368
|
if (usePivotChart) return execPipeline(pivotPipeline, context, spec);
|
|
5340
5369
|
return execPipeline(pipeline, context, spec);
|
|
5341
5370
|
};
|
|
5371
|
+
return adapted;
|
|
5372
|
+
};
|
|
5342
5373
|
const line_line = [
|
|
5343
5374
|
initLine,
|
|
5344
5375
|
colorAdapter(color_color, linearColor),
|
|
@@ -5745,17 +5776,12 @@
|
|
|
5745
5776
|
left: 'insideLeft',
|
|
5746
5777
|
right: 'insideRight'
|
|
5747
5778
|
};
|
|
5748
|
-
const
|
|
5749
|
-
textPosition: 'right',
|
|
5750
|
-
textAlign: 'right'
|
|
5751
|
-
} : {
|
|
5752
|
-
textPosition: 'top',
|
|
5753
|
-
textAlign: 'center'
|
|
5754
|
-
};
|
|
5779
|
+
const defaultTextPosition = isBarLikeChart(advancedVSeed) ? 'right' : 'top';
|
|
5755
5780
|
const markArea = annotationAreaList.flatMap((annotationArea)=>{
|
|
5756
|
-
const { selector: selectorPoint, text = '', textColor = theme?.textColor ?? '#ffffff', textFontSize = theme?.textFontSize ?? 12, textFontWeight = theme?.textFontWeight ?? 400,
|
|
5757
|
-
const textPosition = annotationArea.textPosition ??
|
|
5758
|
-
const
|
|
5781
|
+
const { selector: selectorPoint, text = '', textColor = theme?.textColor ?? '#ffffff', textFontSize = theme?.textFontSize ?? 12, textFontWeight = theme?.textFontWeight ?? 400, textBackgroundVisible = theme?.textBackgroundVisible ?? true, textBackgroundColor = theme?.textBackgroundColor ?? '#191d24', textBackgroundBorderColor = theme?.textBackgroundBorderColor ?? '#191d24', textBackgroundBorderWidth = theme?.textBackgroundBorderWidth ?? 1, textBackgroundBorderRadius = theme?.textBackgroundBorderRadius ?? 4, textBackgroundPadding = theme?.textBackgroundPadding ?? 4, areaColor = theme?.areaColor ?? '#888888', areaColorOpacity = theme?.areaColorOpacity ?? 0.15, areaBorderColor = theme?.areaBorderColor ?? '#888888', areaBorderRadius = theme?.areaBorderRadius ?? 4, areaBorderWidth = theme?.areaBorderWidth ?? 1, areaLineDash = theme?.areaLineDash, outerPadding = theme?.outerPadding ?? 4 } = annotationArea;
|
|
5782
|
+
const textPosition = annotationArea.textPosition ?? defaultTextPosition;
|
|
5783
|
+
const textAlign = annotationArea.textAlign ?? ANNOTATION_AREA_TEXT_STYLE_BY_POSITION[textPosition].textAlign;
|
|
5784
|
+
const textBaseline = annotationArea.textBaseline ?? ANNOTATION_AREA_TEXT_STYLE_BY_POSITION[textPosition].textBaseline;
|
|
5759
5785
|
const dataset = advancedVSeed.dataset.flat();
|
|
5760
5786
|
const selectedData = selectorPoint ? dataset.filter((datum)=>selector_selector(datum, selectorPoint)) : [];
|
|
5761
5787
|
return {
|
|
@@ -5770,15 +5796,15 @@
|
|
|
5770
5796
|
if ('function' == typeof xAxisHelper?.getBandwidth) {
|
|
5771
5797
|
const depth = context.fieldX.length ?? 0;
|
|
5772
5798
|
const xBandWidth = xAxisHelper?.getBandwidth?.(depth - 1);
|
|
5773
|
-
const
|
|
5799
|
+
const regionRect = context.getRegion().getLayoutRect();
|
|
5774
5800
|
const startX = Math.min(...xyList.map((item)=>item.x)) - (outerPadding || 4);
|
|
5775
5801
|
const endX = Math.max(...xyList.map((item)=>item.x)) + (outerPadding || 4);
|
|
5776
5802
|
const width = endX - startX + xBandWidth;
|
|
5777
5803
|
const middleX = (endX + startX) / 2 + xBandWidth * (0.5 - bandPosition);
|
|
5778
5804
|
const minX = middleX - width / 2;
|
|
5779
5805
|
const maxX = middleX + width / 2;
|
|
5780
|
-
const minY =
|
|
5781
|
-
const maxY =
|
|
5806
|
+
const minY = 0;
|
|
5807
|
+
const maxY = regionRect.height;
|
|
5782
5808
|
return [
|
|
5783
5809
|
{
|
|
5784
5810
|
x: minX,
|
|
@@ -5801,15 +5827,15 @@
|
|
|
5801
5827
|
if ('function' == typeof yAxisHelper?.getBandwidth) {
|
|
5802
5828
|
const depth = context.fieldY.length ?? 0;
|
|
5803
5829
|
const yBandWidth = yAxisHelper?.getBandwidth?.(depth - 1);
|
|
5804
|
-
const
|
|
5830
|
+
const regionRect = context.getRegion().getLayoutRect();
|
|
5805
5831
|
const startY = Math.min(...xyList.map((item)=>item.y)) - (outerPadding || 4);
|
|
5806
5832
|
const endY = Math.max(...xyList.map((item)=>item.y)) + (outerPadding || 4);
|
|
5807
5833
|
const width = endY - startY + yBandWidth;
|
|
5808
5834
|
const middleY = (endY + startY) / 2 + yBandWidth * (0.5 - bandPosition);
|
|
5809
5835
|
const minY = middleY - width / 2;
|
|
5810
5836
|
const maxY = middleY + width / 2;
|
|
5811
|
-
const minX =
|
|
5812
|
-
const maxX =
|
|
5837
|
+
const minX = 0;
|
|
5838
|
+
const maxX = regionRect.width;
|
|
5813
5839
|
return [
|
|
5814
5840
|
{
|
|
5815
5841
|
x: minX,
|
|
@@ -5837,7 +5863,6 @@
|
|
|
5837
5863
|
text: text,
|
|
5838
5864
|
style: {
|
|
5839
5865
|
opacity: 0.95,
|
|
5840
|
-
dy: dy,
|
|
5841
5866
|
textAlign: textAlign,
|
|
5842
5867
|
textBaseline: textBaseline,
|
|
5843
5868
|
stroke: textBackgroundColor,
|
|
@@ -5851,7 +5876,6 @@
|
|
|
5851
5876
|
padding: textBackgroundPadding,
|
|
5852
5877
|
style: {
|
|
5853
5878
|
opacity: 0.95,
|
|
5854
|
-
dy: dy,
|
|
5855
5879
|
cornerRadius: textBackgroundBorderRadius ?? 4,
|
|
5856
5880
|
fill: textBackgroundColor,
|
|
5857
5881
|
stroke: textBackgroundBorderColor,
|
|
@@ -11732,42 +11756,9 @@
|
|
|
11732
11756
|
...tooltip
|
|
11733
11757
|
]);
|
|
11734
11758
|
};
|
|
11735
|
-
const
|
|
11736
|
-
var _a, _b
|
|
11737
|
-
const
|
|
11738
|
-
if (!field) return [];
|
|
11739
|
-
const countField = options.countField, n = data.length;
|
|
11740
|
-
let thresholds, min = 1 / 0, max = -1 / 0;
|
|
11741
|
-
if (options.extent) min = options.extent[0], max = options.extent[1];
|
|
11742
|
-
else for(let i = 0; i < n; i++){
|
|
11743
|
-
const v = data[i][field];
|
|
11744
|
-
if (common_isNil(v)) continue;
|
|
11745
|
-
const num = +v;
|
|
11746
|
-
Number.isFinite(num) && (num < min && (min = num), num > max && (max = num));
|
|
11747
|
-
}
|
|
11748
|
-
if (!Number.isFinite(min) || !Number.isFinite(max) || 0 === n) return [];
|
|
11749
|
-
if (options.thresholds && options.thresholds.length) thresholds = options.thresholds.slice(), thresholds.sort((a, b)=>a - b);
|
|
11750
|
-
else if ("number" == typeof options.step && options.step > 0) {
|
|
11751
|
-
const stepSize = options.step;
|
|
11752
|
-
let startMin = min;
|
|
11753
|
-
for(options.extent || (startMin = Math.floor(min / stepSize) * stepSize), thresholds = [
|
|
11754
|
-
startMin
|
|
11755
|
-
]; startMin <= max;)startMin += stepSize, thresholds.push(startMin);
|
|
11756
|
-
} else {
|
|
11757
|
-
const bins = options.bins && options.bins > 0 ? Math.floor(options.bins) : 10;
|
|
11758
|
-
if (max - min > 1) {
|
|
11759
|
-
const start = Math.floor(min), stepSizeInt = Math.ceil((max - start) / bins);
|
|
11760
|
-
thresholds = new Array(bins + 1);
|
|
11761
|
-
for(let i = 0; i <= bins; i++)thresholds[i] = start + stepSizeInt * i;
|
|
11762
|
-
} else {
|
|
11763
|
-
const stepSize = (max - min) / bins;
|
|
11764
|
-
thresholds = new Array(bins + 1);
|
|
11765
|
-
for(let i = 0; i <= bins; i++)thresholds[i] = min + stepSize * i;
|
|
11766
|
-
}
|
|
11767
|
-
}
|
|
11768
|
-
const numBins = Math.max(0, thresholds.length - 1);
|
|
11769
|
-
if (0 === numBins) return [];
|
|
11770
|
-
const x0Name = null != (_b = null == (_a = options.outputNames) ? void 0 : _a.x0) ? _b : "x0", x1Name = null != (_d = null == (_c = options.outputNames) ? void 0 : _c.x1) ? _d : "x1", countName = null != (_f = null == (_e = options.outputNames) ? void 0 : _e.count) ? _f : "count", valuesName = null != (_h = null == (_g = options.outputNames) ? void 0 : _g.values) ? _h : "values", percentageName = null != (_k = null == (_j = options.outputNames) ? void 0 : _j.percentage) ? _k : "percentage", out = [];
|
|
11759
|
+
const subBin = (data, options)=>{
|
|
11760
|
+
var _a, _b;
|
|
11761
|
+
const { numBins: numBins, thresholds: thresholds, countName: countName, percentageName: percentageName, valuesName: valuesName, countField: countField, field: field, n: n, x0Name: x0Name, x1Name: x1Name } = options, out = [];
|
|
11771
11762
|
if (!options.groupField) for(let i = 0; i < numBins; i++){
|
|
11772
11763
|
const rec = {
|
|
11773
11764
|
[x0Name]: thresholds[i],
|
|
@@ -11784,11 +11775,11 @@
|
|
|
11784
11775
|
if (Number.isFinite(num)) for(let j = 0; j < numBins; j++){
|
|
11785
11776
|
const left = thresholds[j], right = thresholds[j + 1];
|
|
11786
11777
|
if (num >= left && num < right || j === numBins - 1 && num <= right) {
|
|
11787
|
-
const datumCount = null != (
|
|
11778
|
+
const datumCount = null != (_a = data[i][countField]) ? _a : 1;
|
|
11788
11779
|
if (usingGroup) {
|
|
11789
11780
|
let gk;
|
|
11790
11781
|
gk = common_isArray(groupField) ? groupField.map((f)=>String(data[i][f])).join("||") : String(data[i][groupField]);
|
|
11791
|
-
const m = binGroupCounts[j], prev = null != (
|
|
11782
|
+
const m = binGroupCounts[j], prev = null != (_b = m.get(gk)) ? _b : 0;
|
|
11792
11783
|
m.set(gk, prev + datumCount);
|
|
11793
11784
|
const repMap = binGroupRepr[j];
|
|
11794
11785
|
if (repMap.has(gk) || (common_isArray(groupField) ? repMap.set(gk, Object.fromEntries(groupField.map((f)=>[
|
|
@@ -11830,6 +11821,72 @@
|
|
|
11830
11821
|
}
|
|
11831
11822
|
return finalOut;
|
|
11832
11823
|
};
|
|
11824
|
+
const bin_bin = (data, options)=>{
|
|
11825
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
11826
|
+
const field = null == options ? void 0 : options.field;
|
|
11827
|
+
if (!field) return [];
|
|
11828
|
+
const countField = options.countField, n = data.length;
|
|
11829
|
+
let thresholds, min = 1 / 0, max = -1 / 0;
|
|
11830
|
+
if (options.extent) min = options.extent[0], max = options.extent[1];
|
|
11831
|
+
else for(let i = 0; i < n; i++){
|
|
11832
|
+
const v = data[i][field];
|
|
11833
|
+
if (common_isNil(v)) continue;
|
|
11834
|
+
const num = +v;
|
|
11835
|
+
Number.isFinite(num) && (num < min && (min = num), num > max && (max = num));
|
|
11836
|
+
}
|
|
11837
|
+
if (!Number.isFinite(min) || !Number.isFinite(max) || 0 === n) return [];
|
|
11838
|
+
if (options.thresholds && options.thresholds.length) thresholds = options.thresholds.slice(), thresholds.sort((a, b)=>a - b);
|
|
11839
|
+
else if ("number" == typeof options.step && options.step > 0) {
|
|
11840
|
+
const stepSize = options.step;
|
|
11841
|
+
let startMin = min;
|
|
11842
|
+
for(options.extent || (startMin = Math.floor(min / stepSize) * stepSize), thresholds = [
|
|
11843
|
+
startMin
|
|
11844
|
+
]; startMin <= max;)startMin += stepSize, thresholds.push(startMin);
|
|
11845
|
+
} else {
|
|
11846
|
+
const bins = options.bins && options.bins > 0 ? Math.floor(options.bins) : 10;
|
|
11847
|
+
if (max - min > 1) {
|
|
11848
|
+
const start = Math.floor(min), stepSizeInt = Math.ceil((max - start) / bins);
|
|
11849
|
+
thresholds = new Array(bins + 1);
|
|
11850
|
+
for(let i = 0; i <= bins; i++)thresholds[i] = start + stepSizeInt * i;
|
|
11851
|
+
} else {
|
|
11852
|
+
const stepSize = (max - min) / bins;
|
|
11853
|
+
thresholds = new Array(bins + 1);
|
|
11854
|
+
for(let i = 0; i <= bins; i++)thresholds[i] = min + stepSize * i;
|
|
11855
|
+
}
|
|
11856
|
+
}
|
|
11857
|
+
const numBins = Math.max(0, thresholds.length - 1);
|
|
11858
|
+
if (0 === numBins) return [];
|
|
11859
|
+
const x0Name = null != (_b = null == (_a = options.outputNames) ? void 0 : _a.x0) ? _b : "x0", x1Name = null != (_d = null == (_c = options.outputNames) ? void 0 : _c.x1) ? _d : "x1", countName = null != (_f = null == (_e = options.outputNames) ? void 0 : _e.count) ? _f : "count", valuesName = null != (_h = null == (_g = options.outputNames) ? void 0 : _g.values) ? _h : "values", percentageName = null != (_k = null == (_j = options.outputNames) ? void 0 : _j.percentage) ? _k : "percentage", facetField = common_isArray(null == options ? void 0 : options.facetField) ? null == options ? void 0 : options.facetField : (null == options ? void 0 : options.facetField) ? [
|
|
11860
|
+
options.facetField
|
|
11861
|
+
] : [], groupField = common_isArray(null == options ? void 0 : options.groupField) ? null == options ? void 0 : options.groupField : (null == options ? void 0 : options.groupField) ? [
|
|
11862
|
+
options.groupField
|
|
11863
|
+
] : [], subViewOptions = Object.assign(Object.assign({}, options), {
|
|
11864
|
+
numBins: numBins,
|
|
11865
|
+
thresholds: thresholds,
|
|
11866
|
+
countName: countName,
|
|
11867
|
+
percentageName: percentageName,
|
|
11868
|
+
valuesName: valuesName,
|
|
11869
|
+
countField: countField,
|
|
11870
|
+
field: field,
|
|
11871
|
+
n: n,
|
|
11872
|
+
x0Name: x0Name,
|
|
11873
|
+
x1Name: x1Name
|
|
11874
|
+
});
|
|
11875
|
+
if (!facetField.length) return subBin(data, subViewOptions);
|
|
11876
|
+
const subViewMap = {};
|
|
11877
|
+
return data.forEach((dataItem)=>{
|
|
11878
|
+
const subViewKey = facetField.map((field)=>null == dataItem ? void 0 : dataItem[field]).join("-&&-");
|
|
11879
|
+
subViewMap[subViewKey] ? subViewMap[subViewKey].push(dataItem) : subViewMap[subViewKey] = [
|
|
11880
|
+
dataItem
|
|
11881
|
+
];
|
|
11882
|
+
}), Object.values(subViewMap).map((subDataset)=>subBin(subDataset, Object.assign(Object.assign({}, subViewOptions), {
|
|
11883
|
+
groupField: [
|
|
11884
|
+
...groupField,
|
|
11885
|
+
...facetField
|
|
11886
|
+
],
|
|
11887
|
+
n: subDataset.length
|
|
11888
|
+
}))).flat();
|
|
11889
|
+
};
|
|
11833
11890
|
const reshapeWithHistogramEncoding = (advancedVSeed, context)=>{
|
|
11834
11891
|
const result = {
|
|
11835
11892
|
...advancedVSeed
|
|
@@ -12306,7 +12363,7 @@
|
|
|
12306
12363
|
const scaleY = s.getYAxisHelper().getScale?.(0);
|
|
12307
12364
|
const viewData = s.getViewData()?.latestData;
|
|
12308
12365
|
if (!dataset || !dataset.length || !viewData || !viewData.length || !scaleY) return null;
|
|
12309
|
-
const simpleData = dataset.filter((entry)=>rowColumnFields.length ? rowColumnFields.every((dim)=>entry[dim.id] === viewData[0][dim.id]) : true).map((d)
|
|
12366
|
+
const simpleData = dataset.filter((entry)=>rowColumnFields.length ? rowColumnFields.every((dim)=>entry[dim.id] === viewData[0][dim.id]) : true).map((d)=>+d[encoding.value?.[0]]);
|
|
12310
12367
|
const res = kde_kde(simpleData, {
|
|
12311
12368
|
bandwidth: Math.abs(viewData[0][BinEndMeasureId] - viewData[0][BinStartMeasureId])
|
|
12312
12369
|
});
|
|
@@ -12442,7 +12499,7 @@
|
|
|
12442
12499
|
const scaleY = s.getYAxisHelper().getScale?.(0);
|
|
12443
12500
|
const viewData = s.getViewData()?.latestData;
|
|
12444
12501
|
if (!dataset || !dataset.length || !viewData || !viewData.length || !scaleY) return null;
|
|
12445
|
-
const simpleData = dataset.filter((entry)=>rowColumnFields.length ? rowColumnFields.every((dim)=>entry[dim.id] === viewData[0][dim.id]) : true).map((d)
|
|
12502
|
+
const simpleData = dataset.filter((entry)=>rowColumnFields.length ? rowColumnFields.every((dim)=>entry[dim.id] === viewData[0][dim.id]) : true).map((d)=>+d[encoding.value?.[0]]);
|
|
12446
12503
|
const res = ecdf(simpleData);
|
|
12447
12504
|
const N = Math.max(3, Math.floor(simpleData.length / 4));
|
|
12448
12505
|
const lineData = res.evaluateGrid(N);
|
|
@@ -12650,10 +12707,21 @@
|
|
|
12650
12707
|
maxSize: 1,
|
|
12651
12708
|
shapeType: 'rectRound',
|
|
12652
12709
|
position: 'rt',
|
|
12653
|
-
labelColor: '#646A73',
|
|
12654
12710
|
labelFontSize: 12,
|
|
12655
12711
|
labelFontWeight: 400
|
|
12656
12712
|
});
|
|
12713
|
+
const getDarkLegend = ()=>({
|
|
12714
|
+
...getDefaultLegend(),
|
|
12715
|
+
labelColor: '#BBBDC3',
|
|
12716
|
+
pagerIconColor: '#89909D',
|
|
12717
|
+
pagerIconDisableColor: '#2A2D33'
|
|
12718
|
+
});
|
|
12719
|
+
const getLightLegend = ()=>({
|
|
12720
|
+
...getDefaultLegend(),
|
|
12721
|
+
labelColor: '#606773',
|
|
12722
|
+
pagerIconColor: '#89909D',
|
|
12723
|
+
pagerIconDisableColor: '#F1F2F5'
|
|
12724
|
+
});
|
|
12657
12725
|
const getDefaultTableConfig = ()=>({
|
|
12658
12726
|
bodyFontSize: 12,
|
|
12659
12727
|
bodyBackgroundColor: 'transparent',
|
|
@@ -12707,8 +12775,6 @@
|
|
|
12707
12775
|
};
|
|
12708
12776
|
const getDarkPivotChartGridConfig = ()=>{
|
|
12709
12777
|
const res = pickPivotChartGridConfig(getDarkTableConfig());
|
|
12710
|
-
res.chartGridColor = '#303339';
|
|
12711
|
-
res.axisLabelColor = '#E2E3E6';
|
|
12712
12778
|
return res;
|
|
12713
12779
|
};
|
|
12714
12780
|
const getDefaultTooltip = ()=>({
|
|
@@ -12750,13 +12816,13 @@
|
|
|
12750
12816
|
title: {
|
|
12751
12817
|
visible: false,
|
|
12752
12818
|
titleText: '',
|
|
12753
|
-
titleColor: '#
|
|
12819
|
+
titleColor: '#606773',
|
|
12754
12820
|
titleFontSize: 12,
|
|
12755
12821
|
titleFontWeight: 400
|
|
12756
12822
|
},
|
|
12757
12823
|
grid: {
|
|
12758
12824
|
visible: true,
|
|
12759
|
-
gridColor: '#
|
|
12825
|
+
gridColor: '#E3E5EB',
|
|
12760
12826
|
gridWidth: 0.5,
|
|
12761
12827
|
gridLineDash: [
|
|
12762
12828
|
4,
|
|
@@ -12767,11 +12833,11 @@
|
|
|
12767
12833
|
visible: false,
|
|
12768
12834
|
tickInside: false,
|
|
12769
12835
|
tickSize: 4,
|
|
12770
|
-
tickColor: '#
|
|
12836
|
+
tickColor: '#21252C'
|
|
12771
12837
|
},
|
|
12772
12838
|
line: {
|
|
12773
12839
|
visible: false,
|
|
12774
|
-
lineColor: '#
|
|
12840
|
+
lineColor: '#21252C',
|
|
12775
12841
|
lineWidth: 1
|
|
12776
12842
|
}
|
|
12777
12843
|
});
|
|
@@ -12796,13 +12862,13 @@
|
|
|
12796
12862
|
title: {
|
|
12797
12863
|
visible: false,
|
|
12798
12864
|
titleText: '',
|
|
12799
|
-
titleColor: '#
|
|
12865
|
+
titleColor: '#606773',
|
|
12800
12866
|
titleFontSize: 12,
|
|
12801
12867
|
titleFontWeight: 400
|
|
12802
12868
|
},
|
|
12803
12869
|
grid: {
|
|
12804
12870
|
visible: false,
|
|
12805
|
-
gridColor: '#
|
|
12871
|
+
gridColor: '#E3E5EB',
|
|
12806
12872
|
gridWidth: 0.5,
|
|
12807
12873
|
gridLineDash: [
|
|
12808
12874
|
4,
|
|
@@ -12813,11 +12879,11 @@
|
|
|
12813
12879
|
visible: false,
|
|
12814
12880
|
tickInside: false,
|
|
12815
12881
|
tickSize: 4,
|
|
12816
|
-
tickColor: '#
|
|
12882
|
+
tickColor: '#21252C'
|
|
12817
12883
|
},
|
|
12818
12884
|
line: {
|
|
12819
12885
|
visible: true,
|
|
12820
|
-
lineColor: '#
|
|
12886
|
+
lineColor: '#21252C',
|
|
12821
12887
|
lineWidth: 1
|
|
12822
12888
|
}
|
|
12823
12889
|
});
|
|
@@ -12827,14 +12893,14 @@
|
|
|
12827
12893
|
label: {
|
|
12828
12894
|
visible: true,
|
|
12829
12895
|
labelAngle: 0,
|
|
12830
|
-
labelColor: '#
|
|
12896
|
+
labelColor: '#888C93',
|
|
12831
12897
|
labelFontSize: 12,
|
|
12832
12898
|
labelFontWeight: 400
|
|
12833
12899
|
},
|
|
12834
12900
|
title: {
|
|
12835
12901
|
visible: false,
|
|
12836
12902
|
titleText: '',
|
|
12837
|
-
titleColor: '#
|
|
12903
|
+
titleColor: '#BBBDC3',
|
|
12838
12904
|
titleFontSize: 12,
|
|
12839
12905
|
titleFontWeight: 400
|
|
12840
12906
|
},
|
|
@@ -12851,11 +12917,11 @@
|
|
|
12851
12917
|
visible: false,
|
|
12852
12918
|
tickInside: false,
|
|
12853
12919
|
tickSize: 4,
|
|
12854
|
-
tickColor: '#
|
|
12920
|
+
tickColor: '#303339'
|
|
12855
12921
|
},
|
|
12856
12922
|
line: {
|
|
12857
12923
|
visible: false,
|
|
12858
|
-
lineColor: '#
|
|
12924
|
+
lineColor: '#303339',
|
|
12859
12925
|
lineWidth: 1
|
|
12860
12926
|
}
|
|
12861
12927
|
});
|
|
@@ -12873,14 +12939,14 @@
|
|
|
12873
12939
|
label: {
|
|
12874
12940
|
visible: true,
|
|
12875
12941
|
labelAngle: 0,
|
|
12876
|
-
labelColor: '#
|
|
12942
|
+
labelColor: '#888C93',
|
|
12877
12943
|
labelFontSize: 12,
|
|
12878
12944
|
labelFontWeight: 400
|
|
12879
12945
|
},
|
|
12880
12946
|
title: {
|
|
12881
12947
|
visible: false,
|
|
12882
12948
|
titleText: '',
|
|
12883
|
-
titleColor: '#
|
|
12949
|
+
titleColor: '#BBBDC3',
|
|
12884
12950
|
titleFontSize: 12,
|
|
12885
12951
|
titleFontWeight: 400
|
|
12886
12952
|
},
|
|
@@ -12897,11 +12963,11 @@
|
|
|
12897
12963
|
visible: false,
|
|
12898
12964
|
tickInside: false,
|
|
12899
12965
|
tickSize: 4,
|
|
12900
|
-
tickColor: '#
|
|
12966
|
+
tickColor: '#303339'
|
|
12901
12967
|
},
|
|
12902
12968
|
line: {
|
|
12903
12969
|
visible: true,
|
|
12904
|
-
lineColor: '#
|
|
12970
|
+
lineColor: '#303339',
|
|
12905
12971
|
lineWidth: 1
|
|
12906
12972
|
}
|
|
12907
12973
|
});
|
|
@@ -12909,15 +12975,15 @@
|
|
|
12909
12975
|
textBackgroundVisible: true,
|
|
12910
12976
|
textFontSize: 12,
|
|
12911
12977
|
textFontWeight: 400,
|
|
12912
|
-
textBackgroundBorderRadius:
|
|
12978
|
+
textBackgroundBorderRadius: 0,
|
|
12913
12979
|
textBackgroundBorderWidth: 1,
|
|
12914
12980
|
textBackgroundPadding: 2
|
|
12915
12981
|
});
|
|
12916
12982
|
const getLightAnnotationPoint = ()=>({
|
|
12917
12983
|
...getDefaultAnnotationPoint(),
|
|
12918
12984
|
textColor: '#ffffff',
|
|
12919
|
-
textBackgroundColor: '#
|
|
12920
|
-
textBackgroundBorderColor: '#
|
|
12985
|
+
textBackgroundColor: '#BCC1CB',
|
|
12986
|
+
textBackgroundBorderColor: '#BCC1CB'
|
|
12921
12987
|
});
|
|
12922
12988
|
const getDefaultAnnotationLine = ()=>({
|
|
12923
12989
|
lineVisible: true,
|
|
@@ -12946,7 +13012,7 @@
|
|
|
12946
13012
|
textBackgroundVisible: true,
|
|
12947
13013
|
textBackgroundBorderWidth: 1,
|
|
12948
13014
|
textBackgroundBorderRadius: 0,
|
|
12949
|
-
textBackgroundPadding:
|
|
13015
|
+
textBackgroundPadding: 2,
|
|
12950
13016
|
areaBorderWidth: 0,
|
|
12951
13017
|
areaBorderRadius: 0,
|
|
12952
13018
|
areaLineDash: [
|
|
@@ -12972,9 +13038,9 @@
|
|
|
12972
13038
|
});
|
|
12973
13039
|
const getDarkAnnotationPoint = ()=>({
|
|
12974
13040
|
...getDefaultAnnotationPoint(),
|
|
12975
|
-
textColor: '#
|
|
12976
|
-
textBackgroundColor: '#
|
|
12977
|
-
textBackgroundBorderColor: '#
|
|
13041
|
+
textColor: '#E2E3E6',
|
|
13042
|
+
textBackgroundColor: '#55595F',
|
|
13043
|
+
textBackgroundBorderColor: '#55595F'
|
|
12978
13044
|
});
|
|
12979
13045
|
const getDarkAnnotationHorizontalLine = ()=>({
|
|
12980
13046
|
...getDefaultAnnotationLine(),
|
|
@@ -13100,7 +13166,7 @@
|
|
|
13100
13166
|
backgroundColor: 'transparent',
|
|
13101
13167
|
color: getLightColor(),
|
|
13102
13168
|
label: getLightLabel(),
|
|
13103
|
-
legend:
|
|
13169
|
+
legend: getLightLegend(),
|
|
13104
13170
|
tooltip: getLightTooltip()
|
|
13105
13171
|
};
|
|
13106
13172
|
const tableConfig = getLightTableConfig();
|
|
@@ -13369,7 +13435,7 @@
|
|
|
13369
13435
|
backgroundColor: 'transparent',
|
|
13370
13436
|
color: getDarkColor(),
|
|
13371
13437
|
label: getDarkLabel(),
|
|
13372
|
-
legend:
|
|
13438
|
+
legend: getDarkLegend(),
|
|
13373
13439
|
tooltip: getDarkTooltip()
|
|
13374
13440
|
};
|
|
13375
13441
|
const tableConfig = getDarkTableConfig();
|
|
@@ -17464,6 +17530,8 @@
|
|
|
17464
17530
|
'br'
|
|
17465
17531
|
]).default('bottom').nullish(),
|
|
17466
17532
|
labelColor: schemas_string().default('#fff').nullish(),
|
|
17533
|
+
pagerIconColor: schemas_string().nullish(),
|
|
17534
|
+
pagerIconDisableColor: schemas_string().nullish(),
|
|
17467
17535
|
labelFontSize: schemas_number().default(12).nullish(),
|
|
17468
17536
|
labelFontWeight: schemas_number().or(schemas_string()).default(400).nullish()
|
|
17469
17537
|
});
|