@visactor/vseed 0.3.13 → 0.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/builder/builder/builder.d.ts +3135 -25697
- package/dist/esm/builder/register/all.js +4 -1
- package/dist/esm/builder/register/all.js.map +1 -1
- package/dist/esm/builder/register/chartType/index.d.ts +3 -0
- package/dist/esm/builder/register/chartType/index.js +4 -1
- package/dist/esm/builder/register/chartType/raceBar.d.ts +5 -0
- package/dist/esm/builder/register/chartType/raceBar.js +9 -0
- package/dist/esm/builder/register/chartType/raceBar.js.map +1 -0
- package/dist/esm/builder/register/chartType/raceColumn.d.ts +5 -0
- package/dist/esm/builder/register/chartType/raceColumn.js +9 -0
- package/dist/esm/builder/register/chartType/raceColumn.js.map +1 -0
- package/dist/esm/builder/register/chartType/raceScatter.d.ts +5 -0
- package/dist/esm/builder/register/chartType/raceScatter.js +9 -0
- package/dist/esm/builder/register/chartType/raceScatter.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/index.d.ts +3 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/index.js +4 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/raceBar.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceBar.js +5 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceBar.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceColumn.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceColumn.js +5 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceColumn.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceScatter.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceScatter.js +5 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceScatter.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/index.js +1 -0
- package/dist/esm/pipeline/spec/chart/pipeline/area.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/area.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/bar.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/bar.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/column.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/column.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/donut.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/donut.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/funnel.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/funnel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/index.d.ts +3 -0
- package/dist/esm/pipeline/spec/chart/pipeline/index.js +4 -1
- package/dist/esm/pipeline/spec/chart/pipeline/line.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/line.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/pie.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/pie.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/raceBar.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceBar.js +26 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceBar.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceColumn.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceColumn.js +26 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceColumn.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceScatter.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceScatter.js +24 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceScatter.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipeline/radar.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/radar.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/rose.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/rose.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/roseParallel.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/roseParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/scatter.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/scatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/scatter.js +4 -0
- package/dist/esm/pipeline/spec/chart/pipes/init/scatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/player/index.d.ts +8 -1
- package/dist/esm/pipeline/spec/chart/pipes/player/index.js +8 -2
- package/dist/esm/pipeline/spec/chart/pipes/player/isPlayer.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/isPlayer.js +11 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/isPlayer.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerXBand.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerXBand.js +10 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerXBand.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerXLinear.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerXLinear.js +14 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerXLinear.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerXY.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerXY.js +171 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerXY.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYBand.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYBand.js +13 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYBand.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYLinear.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYLinear.js +14 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYLinear.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYX.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYX.js +157 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYX.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYY.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYY.js +173 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYY.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/utils/condition.d.ts +3 -0
- package/dist/esm/pipeline/spec/chart/utils/condition.js +7 -0
- package/dist/esm/pipeline/spec/chart/utils/condition.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/utils/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/utils/index.js +1 -0
- package/dist/esm/pipeline/utils/chatType.d.ts +1 -1
- package/dist/esm/pipeline/utils/chatType.js +4 -1
- package/dist/esm/pipeline/utils/chatType.js.map +1 -1
- package/dist/esm/pipeline/utils/constant.d.ts +3 -0
- package/dist/esm/pipeline/utils/constant.js +3 -0
- package/dist/esm/pipeline/utils/constant.js.map +1 -1
- package/dist/esm/theme/dark/dark.js +74 -29
- package/dist/esm/theme/dark/dark.js.map +1 -1
- package/dist/esm/theme/light/light.js +61 -15
- package/dist/esm/theme/light/light.js.map +1 -1
- package/dist/esm/types/advancedVSeed.d.ts +35 -18880
- package/dist/esm/types/advancedVSeed.js.map +1 -1
- package/dist/esm/types/chartType/area/area.d.ts +1 -5
- package/dist/esm/types/chartType/areaPercent/areaPercent.d.ts +1 -5
- package/dist/esm/types/chartType/bar/bar.d.ts +1 -5
- package/dist/esm/types/chartType/barParallel/barParallel.d.ts +1 -5
- package/dist/esm/types/chartType/barPercent/barPercent.d.ts +1 -5
- package/dist/esm/types/chartType/column/column.d.ts +1 -5
- package/dist/esm/types/chartType/columnParallel/columnParallel.d.ts +1 -5
- package/dist/esm/types/chartType/columnPercent/columnPercent.d.ts +1 -5
- package/dist/esm/types/chartType/donut/donut.d.ts +1 -5
- package/dist/esm/types/chartType/funnel/funnel.d.ts +1 -5
- package/dist/esm/types/chartType/heatmap/heatmap.d.ts +1 -6
- package/dist/esm/types/chartType/index.d.ts +3 -0
- package/dist/esm/types/chartType/index.js +3 -0
- package/dist/esm/types/chartType/line/line.d.ts +1 -5
- package/dist/esm/types/chartType/pie/pie.d.ts +1 -5
- package/dist/esm/types/chartType/raceBar/index.d.ts +2 -0
- package/dist/esm/types/chartType/raceBar/index.js +1 -0
- package/dist/esm/types/chartType/raceBar/raceBar.d.ts +118 -0
- package/dist/esm/types/chartType/raceBar/raceBar.js +0 -0
- package/dist/esm/types/chartType/raceBar/zRaceBar.d.ts +1217 -0
- package/dist/esm/types/chartType/raceBar/zRaceBar.js +36 -0
- package/dist/esm/types/chartType/raceBar/zRaceBar.js.map +1 -0
- package/dist/esm/types/chartType/raceColumn/index.d.ts +2 -0
- package/dist/esm/types/chartType/raceColumn/index.js +1 -0
- package/dist/esm/types/chartType/raceColumn/raceColumn.d.ts +31 -0
- package/dist/esm/types/chartType/raceColumn/raceColumn.js +0 -0
- package/dist/esm/types/chartType/raceColumn/zRaceColumn.d.ts +1217 -0
- package/dist/esm/types/chartType/raceColumn/zRaceColumn.js +36 -0
- package/dist/esm/types/chartType/raceColumn/zRaceColumn.js.map +1 -0
- package/dist/esm/types/chartType/raceScatter/index.d.ts +2 -0
- package/dist/esm/types/chartType/raceScatter/index.js +1 -0
- package/dist/esm/types/chartType/raceScatter/raceScatter.d.ts +27 -0
- package/dist/esm/types/chartType/raceScatter/raceScatter.js +0 -0
- package/dist/esm/types/chartType/raceScatter/zRaceScatter.d.ts +1416 -0
- package/dist/esm/types/chartType/raceScatter/zRaceScatter.js +33 -0
- package/dist/esm/types/chartType/raceScatter/zRaceScatter.js.map +1 -0
- package/dist/esm/types/chartType/radar/radar.d.ts +1 -5
- package/dist/esm/types/chartType/rose/rose.d.ts +1 -6
- package/dist/esm/types/chartType/roseParallel/roseParallel.d.ts +1 -6
- package/dist/esm/types/chartType/scatter/scatter.d.ts +1 -5
- package/dist/esm/types/properties/chartType/chartType.d.ts +2 -1
- package/dist/esm/types/properties/chartType/chartType.js +1 -0
- package/dist/esm/types/properties/chartType/chartType.js.map +1 -1
- package/dist/esm/types/properties/config/area.d.ts +0 -38
- package/dist/esm/types/properties/config/area.js +0 -2
- package/dist/esm/types/properties/config/area.js.map +1 -1
- package/dist/esm/types/properties/config/bar.d.ts +0 -57
- package/dist/esm/types/properties/config/bar.js +0 -2
- package/dist/esm/types/properties/config/bar.js.map +1 -1
- package/dist/esm/types/properties/config/column.d.ts +0 -57
- package/dist/esm/types/properties/config/column.js +0 -2
- package/dist/esm/types/properties/config/column.js.map +1 -1
- package/dist/esm/types/properties/config/config.d.ts +1820 -441
- package/dist/esm/types/properties/config/config.js +4 -0
- package/dist/esm/types/properties/config/config.js.map +1 -1
- package/dist/esm/types/properties/config/funnel.d.ts +0 -19
- package/dist/esm/types/properties/config/funnel.js +0 -2
- package/dist/esm/types/properties/config/funnel.js.map +1 -1
- package/dist/esm/types/properties/config/heatmap.d.ts +0 -19
- package/dist/esm/types/properties/config/heatmap.js +0 -2
- package/dist/esm/types/properties/config/heatmap.js.map +1 -1
- package/dist/esm/types/properties/config/line.d.ts +0 -19
- package/dist/esm/types/properties/config/line.js +1 -3
- package/dist/esm/types/properties/config/line.js.map +1 -1
- package/dist/esm/types/properties/config/pie.d.ts +0 -57
- package/dist/esm/types/properties/config/pie.js +0 -2
- package/dist/esm/types/properties/config/pie.js.map +1 -1
- package/dist/esm/types/properties/config/race.d.ts +1706 -0
- package/dist/esm/types/properties/config/race.js +18 -0
- package/dist/esm/types/properties/config/race.js.map +1 -0
- package/dist/esm/types/properties/config/rose.d.ts +0 -38
- package/dist/esm/types/properties/config/rose.js +0 -2
- package/dist/esm/types/properties/config/rose.js.map +1 -1
- package/dist/esm/types/properties/config/scatter.d.ts +0 -19
- package/dist/esm/types/properties/config/scatter.js +0 -2
- package/dist/esm/types/properties/config/scatter.js.map +1 -1
- package/dist/esm/types/properties/measures/baseMeasure.d.ts +8 -6
- package/dist/esm/types/properties/theme/customTheme.d.ts +5548 -2790
- package/dist/esm/types/vseed.d.ts +2 -2
- package/dist/esm/types/zVseed.d.ts +3844 -0
- package/dist/esm/types/zVseed.js +4 -1
- package/dist/esm/types/zVseed.js.map +1 -1
- package/dist/umd/index.js +1599 -872
- package/dist/umd/index.js.map +1 -1
- package/package.json +8 -7
- package/dist/esm/pipeline/spec/chart/pipes/player/playerAdapter.d.ts +0 -2
- package/dist/esm/pipeline/spec/chart/pipes/player/playerAdapter.js +0 -88
- package/dist/esm/pipeline/spec/chart/pipes/player/playerAdapter.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline/spec/chart/pipeline/funnel.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/funnel.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n backgroundColor,\n datasetXY,\n datasetPivot,\n initPivot,\n label,\n pivotAdapter,\n pivotColumnDimensions,\n pivotGridStyle,\n pivotIndicators,\n pivotIndicatorsAsCol,\n pivotRowDimensions,\n tooltip,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n initFunnel,\n discreteLegend,\n color,\n funnelStyle,\n linearColor,\n colorAdapter,\n colorLegend,\n colorFunnelStyleFill,\n pivotDiscreteLegend,\n pivotColorLegend,\n pivotHideIndicatorName,\n funnelTransformStyle,\n pivotTitle,\n addRegionPadding,\n
|
|
1
|
+
{"version":3,"file":"pipeline/spec/chart/pipeline/funnel.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/funnel.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n backgroundColor,\n datasetXY,\n datasetPivot,\n initPivot,\n label,\n pivotAdapter,\n pivotColumnDimensions,\n pivotGridStyle,\n pivotIndicators,\n pivotIndicatorsAsCol,\n pivotRowDimensions,\n tooltip,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n initFunnel,\n discreteLegend,\n color,\n funnelStyle,\n linearColor,\n colorAdapter,\n colorLegend,\n colorFunnelStyleFill,\n pivotDiscreteLegend,\n pivotColorLegend,\n pivotHideIndicatorName,\n funnelTransformStyle,\n pivotTitle,\n addRegionPadding,\n} from '../pipes'\n\nconst funnel: VChartSpecPipeline = [\n initFunnel,\n backgroundColor,\n datasetXY,\n colorAdapter(color, linearColor),\n label,\n colorAdapter(discreteLegend, colorLegend),\n colorFunnelStyleFill(funnelStyle),\n funnelTransformStyle,\n tooltip,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n]\n\nconst pivotFunnel: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsCol,\n pivotHideIndicatorName,\n datasetPivot,\n pivotIndicators([\n initFunnel,\n addRegionPadding,\n backgroundColor,\n datasetXY,\n colorAdapter(color, linearColor),\n label,\n tooltip,\n colorFunnelStyleFill(funnelStyle),\n funnelTransformStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n]\n\nexport const funnelSpecPipeline = [pivotAdapter(funnel, pivotFunnel)]\n"],"names":["funnel","initFunnel","backgroundColor","datasetXY","colorAdapter","color","linearColor","label","discreteLegend","colorLegend","colorFunnelStyleFill","funnelStyle","funnelTransformStyle","tooltip","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationArea","pivotFunnel","initPivot","pivotGridStyle","pivotIndicatorsAsCol","pivotHideIndicatorName","datasetPivot","pivotIndicators","addRegionPadding","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","funnelSpecPipeline","pivotAdapter"],"mappings":";AAkCA,MAAMA,SAA6B;IACjCC;IACAC;IACAC;IACAC,aAAaC,OAAOC;IACpBC;IACAH,aAAaI,gBAAgBC;IAC7BC,qBAAqBC;IACrBC;IACAC;IACAC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,cAAsC;IAC1CC;IACAC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACdvB;QACAwB;QACAvB;QACAC;QACAC,aAAaC,OAAOC;QACpBC;QACAM;QACAH,qBAAqBC;QACrBC;QACAE;QACAC;QACAC;QACAC;KACD;IACDS;IACAC;IACAC;IACAxB,aAAayB,qBAAqBC;CACnC;AAEM,MAAMC,qBAAqB;IAACC,aAAahC,QAAQkB;CAAa"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { annotationArea, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, brush, cellStyle, color, colorAdapter, datasetPivot, datasetXY, discreteLegend, heatmapBandAxis, heatmapColorDomain, heatmapColorLegend, initPivot, label, linearColor, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle,
|
|
1
|
+
import { annotationArea, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, brush, cellStyle, color, colorAdapter, datasetPivot, datasetXY, discreteLegend, heatmapBandAxis, heatmapColorDomain, heatmapColorLegend, initPivot, label, linearColor, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, tooltipHeatmap } from "../pipes/index.js";
|
|
2
2
|
import { initHeatmap } from "../pipes/init/heatmap.js";
|
|
3
3
|
const heatmap = [
|
|
4
4
|
initHeatmap,
|
|
5
5
|
backgroundColor,
|
|
6
|
-
|
|
6
|
+
datasetXY,
|
|
7
7
|
colorAdapter(color, linearColor),
|
|
8
8
|
label,
|
|
9
9
|
heatmapBandAxis,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline/spec/chart/pipeline/heatmap.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/heatmap.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n datasetXY,\n backgroundColor,\n label,\n tooltipHeatmap,\n initPivot,\n datasetPivot,\n pivotIndicators,\n pivotAdapter,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotColumnDimensions,\n pivotRowDimensions,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n discreteLegend,\n color,\n colorAdapter,\n linearColor,\n heatmapColorLegend,\n cellStyle,\n pivotDiscreteLegend,\n pivotTitle,\n pivotAxisStyle,\n heatmapBandAxis,\n pivotColorLegend,\n heatmapColorDomain,\n brush,\n
|
|
1
|
+
{"version":3,"file":"pipeline/spec/chart/pipeline/heatmap.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/heatmap.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n datasetXY,\n backgroundColor,\n label,\n tooltipHeatmap,\n initPivot,\n datasetPivot,\n pivotIndicators,\n pivotAdapter,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotColumnDimensions,\n pivotRowDimensions,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n discreteLegend,\n color,\n colorAdapter,\n linearColor,\n heatmapColorLegend,\n cellStyle,\n pivotDiscreteLegend,\n pivotTitle,\n pivotAxisStyle,\n heatmapBandAxis,\n pivotColorLegend,\n heatmapColorDomain,\n brush,\n} from '../pipes'\nimport { initHeatmap } from '../pipes/init/heatmap'\n\nconst heatmap: VChartSpecPipeline = [\n initHeatmap,\n backgroundColor,\n datasetXY,\n colorAdapter(color, linearColor),\n label,\n heatmapBandAxis,\n brush,\n colorAdapter(discreteLegend, heatmapColorLegend),\n cellStyle,\n tooltipHeatmap,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n]\n\nconst pivotHeatmap: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n datasetPivot,\n pivotIndicators([\n initHeatmap,\n backgroundColor,\n datasetXY,\n colorAdapter(color, linearColor),\n label,\n pivotAxisStyle(heatmapBandAxis),\n brush,\n tooltipHeatmap,\n cellStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n ]),\n heatmapColorDomain,\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n]\n\nexport const heatmapSpecPipeline = [pivotAdapter(heatmap, pivotHeatmap)]\n"],"names":["heatmap","initHeatmap","backgroundColor","datasetXY","colorAdapter","color","linearColor","label","heatmapBandAxis","brush","discreteLegend","heatmapColorLegend","cellStyle","tooltipHeatmap","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationArea","pivotHeatmap","initPivot","pivotGridStyle","pivotIndicatorsAsRow","datasetPivot","pivotIndicators","pivotAxisStyle","heatmapColorDomain","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","heatmapSpecPipeline","pivotAdapter"],"mappings":";;AAkCA,MAAMA,UAA8B;IAClCC;IACAC;IACAC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAL,aAAaM,gBAAgBC;IAC7BC;IACAC;IACAC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,eAAuC;IAC3CC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACdtB;QACAC;QACAC;QACAC,aAAaC,OAAOC;QACpBC;QACAiB,eAAehB;QACfC;QACAI;QACAD;QACAE;QACAC;QACAC;QACAC;KACD;IACDQ;IACAC;IACAC;IACAC;IACAxB,aAAayB,qBAAqBC;CACnC;AAEM,MAAMC,sBAAsB;IAACC,aAAahC,SAASkB;CAAc"}
|
|
@@ -3,6 +3,9 @@ export { columnSpecPipeline } from './column';
|
|
|
3
3
|
export { columnParallelSpecPipeline } from './columnParallel';
|
|
4
4
|
export { columnPercentSpecPipeline } from './columnPercent';
|
|
5
5
|
export { barSpecPipeline } from './bar';
|
|
6
|
+
export { raceBarSpecPipeline } from './raceBar';
|
|
7
|
+
export { raceColumnSpecPipeline } from './raceColumn';
|
|
8
|
+
export { raceScatterSpecPipeline } from './raceScatter';
|
|
6
9
|
export { barParallelSpecPipeline } from './barParallel';
|
|
7
10
|
export { barPercentSpecPipeline } from './barPercent';
|
|
8
11
|
export { areaSpecPipeline } from './area';
|
|
@@ -3,6 +3,9 @@ import { columnSpecPipeline } from "./column.js";
|
|
|
3
3
|
import { columnParallelSpecPipeline } from "./columnParallel.js";
|
|
4
4
|
import { columnPercentSpecPipeline } from "./columnPercent.js";
|
|
5
5
|
import { barSpecPipeline } from "./bar.js";
|
|
6
|
+
import { raceBarSpecPipeline } from "./raceBar.js";
|
|
7
|
+
import { raceColumnSpecPipeline } from "./raceColumn.js";
|
|
8
|
+
import { raceScatterSpecPipeline } from "./raceScatter.js";
|
|
6
9
|
import { barParallelSpecPipeline } from "./barParallel.js";
|
|
7
10
|
import { barPercentSpecPipeline } from "./barPercent.js";
|
|
8
11
|
import { areaSpecPipeline } from "./area.js";
|
|
@@ -18,4 +21,4 @@ import { funnelSpecPipeline } from "./funnel.js";
|
|
|
18
21
|
import { heatmapSpecPipeline } from "./heatmap.js";
|
|
19
22
|
import { boxplotSpecPipeline } from "./boxplot.js";
|
|
20
23
|
import { histogramSpecPipeline } from "./histogram.js";
|
|
21
|
-
export { areaPercentSpecPipeline, areaSpecPipeline, barParallelSpecPipeline, barPercentSpecPipeline, barSpecPipeline, boxplotSpecPipeline, columnParallelSpecPipeline, columnPercentSpecPipeline, columnSpecPipeline, donutSpecPipeline, dualAxisSpecPipeline, funnelSpecPipeline, heatmapSpecPipeline, histogramSpecPipeline, lineSpecPipeline, pieSpecPipeline, radarSpecPipeline, roseParallelSpecPipeline, roseSpecPipeline, scatterSpecPipeline };
|
|
24
|
+
export { areaPercentSpecPipeline, areaSpecPipeline, barParallelSpecPipeline, barPercentSpecPipeline, barSpecPipeline, boxplotSpecPipeline, columnParallelSpecPipeline, columnPercentSpecPipeline, columnSpecPipeline, donutSpecPipeline, dualAxisSpecPipeline, funnelSpecPipeline, heatmapSpecPipeline, histogramSpecPipeline, lineSpecPipeline, pieSpecPipeline, raceBarSpecPipeline, raceColumnSpecPipeline, raceScatterSpecPipeline, radarSpecPipeline, roseParallelSpecPipeline, roseSpecPipeline, scatterSpecPipeline };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { annotationArea, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, brush, color, colorAdapter, colorLegend, colorLineStyleFill, colorPointStyleFill, datasetPivot, datasetXY, dimensionLinkage, discreteLegend, initLine, initPivot, label, lineStyle, linearColor, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle,
|
|
1
|
+
import { annotationArea, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, brush, color, colorAdapter, colorLegend, colorLineStyleFill, colorPointStyleFill, datasetPivot, datasetXY, dimensionLinkage, discreteLegend, initLine, initPivot, label, lineStyle, linearColor, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, pointStateDimensionHover, pointStyle, progressive, splitLine, tooltip, verticalCrosshairLine, xBand, yLinear } from "../pipes/index.js";
|
|
2
2
|
const line = [
|
|
3
3
|
initLine,
|
|
4
4
|
colorAdapter(color, linearColor),
|
|
5
5
|
backgroundColor,
|
|
6
|
-
|
|
6
|
+
datasetXY,
|
|
7
7
|
progressive,
|
|
8
8
|
xBand,
|
|
9
9
|
yLinear,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline/spec/chart/pipeline/line.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/line.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n datasetXY,\n xBand,\n yLinear,\n initLine,\n backgroundColor,\n label,\n tooltip,\n discreteLegend,\n color,\n initPivot,\n datasetPivot,\n pivotDiscreteLegend,\n pivotIndicators,\n pivotAdapter,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotColumnDimensions,\n pivotRowDimensions,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n pointStyle,\n lineStyle,\n verticalCrosshairLine,\n pointStateDimensionHover,\n progressive,\n colorAdapter,\n linearColor,\n colorLegend,\n colorLineStyleFill,\n colorPointStyleFill,\n pivotColorLegend,\n pivotTitle,\n pivotAxisStyle,\n splitLine,\n dimensionLinkage,\n brush,\n
|
|
1
|
+
{"version":3,"file":"pipeline/spec/chart/pipeline/line.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/line.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n datasetXY,\n xBand,\n yLinear,\n initLine,\n backgroundColor,\n label,\n tooltip,\n discreteLegend,\n color,\n initPivot,\n datasetPivot,\n pivotDiscreteLegend,\n pivotIndicators,\n pivotAdapter,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotColumnDimensions,\n pivotRowDimensions,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n pointStyle,\n lineStyle,\n verticalCrosshairLine,\n pointStateDimensionHover,\n progressive,\n colorAdapter,\n linearColor,\n colorLegend,\n colorLineStyleFill,\n colorPointStyleFill,\n pivotColorLegend,\n pivotTitle,\n pivotAxisStyle,\n splitLine,\n dimensionLinkage,\n brush,\n} from '../pipes'\n\nconst line: VChartSpecPipeline = [\n initLine,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n xBand,\n yLinear,\n brush,\n verticalCrosshairLine,\n colorAdapter(discreteLegend, colorLegend),\n colorPointStyleFill(pointStyle),\n pointStateDimensionHover,\n colorLineStyleFill(lineStyle),\n label,\n tooltip,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n splitLine,\n]\n\nconst pivotLine: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n datasetPivot,\n pivotIndicators([\n initLine,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n xBand,\n pivotAxisStyle(yLinear),\n brush,\n verticalCrosshairLine,\n colorPointStyleFill(pointStyle),\n pointStateDimensionHover,\n colorLineStyleFill(lineStyle),\n label,\n tooltip,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n splitLine,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n dimensionLinkage,\n]\n\nexport const lineSpecPipeline = [pivotAdapter(line, pivotLine)]\n"],"names":["line","initLine","colorAdapter","color","linearColor","backgroundColor","datasetXY","progressive","xBand","yLinear","brush","verticalCrosshairLine","discreteLegend","colorLegend","colorPointStyleFill","pointStyle","pointStateDimensionHover","colorLineStyleFill","lineStyle","label","tooltip","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationArea","splitLine","pivotLine","initPivot","pivotGridStyle","pivotIndicatorsAsRow","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","dimensionLinkage","lineSpecPipeline","pivotAdapter"],"mappings":";AA0CA,MAAMA,OAA2B;IAC/BC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAT,aAAaU,gBAAgBC;IAC7BC,oBAAoBC;IACpBC;IACAC,mBAAmBC;IACnBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,YAAoC;IACxCC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACd9B;QACAC,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAC;QACAwB,eAAevB;QACfC;QACAC;QACAG,oBAAoBC;QACpBC;QACAC,mBAAmBC;QACnBC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;KACD;IACDQ;IACAC;IACAC;IACAjC,aAAakC,qBAAqBC;IAClCC;CACD;AAEM,MAAMC,mBAAmB;IAACC,aAAaxC,MAAM0B;CAAW"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { addRegionPadding, annotationArea, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, brush, color, colorAdapter, colorLegend, colorPieStyleFill, datasetPivot, datasetXY, dimensionLinkage, discreteLegend, initPie, initPivot, labelPie, linearColor, pieStyle, pivotAdapter, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotHideIndicatorName, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle,
|
|
1
|
+
import { addRegionPadding, annotationArea, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, brush, color, colorAdapter, colorLegend, colorPieStyleFill, datasetPivot, datasetXY, dimensionLinkage, discreteLegend, initPie, initPivot, labelPie, linearColor, pieStyle, pivotAdapter, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotHideIndicatorName, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, progressive, tooltip } from "../pipes/index.js";
|
|
2
2
|
const pie = [
|
|
3
3
|
initPie,
|
|
4
4
|
colorAdapter(color, linearColor),
|
|
5
5
|
backgroundColor,
|
|
6
|
-
|
|
6
|
+
datasetXY,
|
|
7
7
|
progressive,
|
|
8
8
|
brush,
|
|
9
9
|
colorPieStyleFill(pieStyle),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline/spec/chart/pipeline/pie.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/pie.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n backgroundColor,\n color,\n datasetXY,\n datasetPivot,\n initPie,\n initPivot,\n discreteLegend,\n pivotAdapter,\n pivotColumnDimensions,\n pivotGridStyle,\n pivotIndicators,\n pivotIndicatorsAsRow,\n pivotDiscreteLegend,\n pivotRowDimensions,\n tooltip,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n progressive,\n pieStyle,\n colorPieStyleFill,\n linearColor,\n colorAdapter,\n colorLegend,\n pivotColorLegend,\n labelPie,\n pivotHideIndicatorName,\n pivotTitle,\n addRegionPadding,\n brush,\n dimensionLinkage,\n
|
|
1
|
+
{"version":3,"file":"pipeline/spec/chart/pipeline/pie.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/pie.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n backgroundColor,\n color,\n datasetXY,\n datasetPivot,\n initPie,\n initPivot,\n discreteLegend,\n pivotAdapter,\n pivotColumnDimensions,\n pivotGridStyle,\n pivotIndicators,\n pivotIndicatorsAsRow,\n pivotDiscreteLegend,\n pivotRowDimensions,\n tooltip,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n progressive,\n pieStyle,\n colorPieStyleFill,\n linearColor,\n colorAdapter,\n colorLegend,\n pivotColorLegend,\n labelPie,\n pivotHideIndicatorName,\n pivotTitle,\n addRegionPadding,\n brush,\n dimensionLinkage,\n} from '../pipes'\n\nconst pie: VChartSpecPipeline = [\n initPie,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n brush,\n colorPieStyleFill(pieStyle),\n colorAdapter(discreteLegend, colorLegend),\n labelPie,\n tooltip,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n]\n\nconst pivotPie: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n pivotHideIndicatorName,\n datasetPivot,\n pivotIndicators([\n initPie,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n brush,\n colorPieStyleFill(pieStyle),\n labelPie,\n tooltip,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n addRegionPadding,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n dimensionLinkage,\n]\n\nexport const pieSpecPipeline = [pivotAdapter(pie, pivotPie)]\n"],"names":["pie","initPie","colorAdapter","color","linearColor","backgroundColor","datasetXY","progressive","brush","colorPieStyleFill","pieStyle","discreteLegend","colorLegend","labelPie","tooltip","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationArea","pivotPie","initPivot","pivotGridStyle","pivotIndicatorsAsRow","pivotHideIndicatorName","datasetPivot","pivotIndicators","addRegionPadding","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","dimensionLinkage","pieSpecPipeline","pivotAdapter"],"mappings":";AAoCA,MAAMA,MAA0B;IAC9BC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC,kBAAkBC;IAClBR,aAAaS,gBAAgBC;IAC7BC;IACAC;IACAC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,WAAmC;IACvCC;IACAC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACdxB;QACAC,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAC;QACAC,kBAAkBC;QAClBG;QACAC;QACAC;QACAC;QACAC;QACAC;QACAQ;KACD;IACDC;IACAC;IACAC;IACA3B,aAAa4B,qBAAqBC;IAClCC;CACD;AAEM,MAAMC,kBAAkB;IAACC,aAAalC,KAAKmB;CAAU"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, barMaxWidth, barStyle, brush, color, colorAdapter, colorBarStyleFill, colorLegend, discreteLegend, horizontalCrosshairRect, initBar, label, linearColor, playerXLinear, playerYBand, playerYX, progressive, stackCornerRadius, tooltip } from "../pipes/index.js";
|
|
2
|
+
const raceBar = [
|
|
3
|
+
initBar,
|
|
4
|
+
stackCornerRadius,
|
|
5
|
+
barMaxWidth,
|
|
6
|
+
colorAdapter(color, linearColor),
|
|
7
|
+
backgroundColor,
|
|
8
|
+
playerYX,
|
|
9
|
+
progressive,
|
|
10
|
+
playerXLinear,
|
|
11
|
+
playerYBand,
|
|
12
|
+
label,
|
|
13
|
+
brush,
|
|
14
|
+
tooltip,
|
|
15
|
+
colorAdapter(discreteLegend, colorLegend),
|
|
16
|
+
horizontalCrosshairRect,
|
|
17
|
+
colorBarStyleFill(barStyle),
|
|
18
|
+
annotationPoint,
|
|
19
|
+
annotationVerticalLine,
|
|
20
|
+
annotationHorizontalLine,
|
|
21
|
+
annotationAreaBand
|
|
22
|
+
];
|
|
23
|
+
const raceBarSpecPipeline = raceBar;
|
|
24
|
+
export { raceBarSpecPipeline };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=raceBar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline/spec/chart/pipeline/raceBar.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/raceBar.ts"],"sourcesContent":["import type { VChartSpecPipeline } from 'src/types'\nimport {\n initBar,\n backgroundColor,\n label,\n tooltip,\n discreteLegend,\n color,\n barStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n horizontalCrosshairRect,\n stackCornerRadius,\n progressive,\n colorAdapter,\n linearColor,\n colorLegend,\n colorBarStyleFill,\n barMaxWidth,\n brush,\n playerYX,\n playerYBand,\n playerXLinear,\n} from '../pipes'\n\nconst raceBar: VChartSpecPipeline = [\n initBar,\n stackCornerRadius,\n barMaxWidth,\n colorAdapter(color, linearColor),\n backgroundColor,\n playerYX,\n progressive,\n playerXLinear,\n playerYBand,\n\n label,\n brush,\n tooltip,\n colorAdapter(discreteLegend, colorLegend),\n horizontalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n]\n\nexport const raceBarSpecPipeline = raceBar\n"],"names":["raceBar","initBar","stackCornerRadius","barMaxWidth","colorAdapter","color","linearColor","backgroundColor","playerYX","progressive","playerXLinear","playerYBand","label","brush","tooltip","discreteLegend","colorLegend","horizontalCrosshairRect","colorBarStyleFill","barStyle","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","raceBarSpecPipeline"],"mappings":";AA2BA,MAAMA,UAA8B;IAClCC;IACAC;IACAC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IAEAC;IACAC;IACAC;IACAV,aAAaW,gBAAgBC;IAC7BC;IACAC,kBAAkBC;IAClBC;IACAC;IACAC;IACAC;CACD;AAEM,MAAMC,sBAAsBxB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, barMaxWidth, barStyle, brush, color, colorAdapter, colorBarStyleFill, colorLegend, discreteLegend, horizontalCrosshairRect, initColumn, label, linearColor, playerXBand, playerXY, playerYLinear, progressive, stackCornerRadius, tooltip } from "../pipes/index.js";
|
|
2
|
+
const raceColumn = [
|
|
3
|
+
initColumn,
|
|
4
|
+
stackCornerRadius,
|
|
5
|
+
barMaxWidth,
|
|
6
|
+
colorAdapter(color, linearColor),
|
|
7
|
+
backgroundColor,
|
|
8
|
+
playerXY,
|
|
9
|
+
progressive,
|
|
10
|
+
playerXBand,
|
|
11
|
+
playerYLinear,
|
|
12
|
+
label,
|
|
13
|
+
brush,
|
|
14
|
+
tooltip,
|
|
15
|
+
colorAdapter(discreteLegend, colorLegend),
|
|
16
|
+
horizontalCrosshairRect,
|
|
17
|
+
colorBarStyleFill(barStyle),
|
|
18
|
+
annotationPoint,
|
|
19
|
+
annotationVerticalLine,
|
|
20
|
+
annotationHorizontalLine,
|
|
21
|
+
annotationAreaBand
|
|
22
|
+
];
|
|
23
|
+
const raceColumnSpecPipeline = raceColumn;
|
|
24
|
+
export { raceColumnSpecPipeline };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=raceColumn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline/spec/chart/pipeline/raceColumn.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/raceColumn.ts"],"sourcesContent":["import type { VChartSpecPipeline } from 'src/types'\nimport {\n initColumn,\n stackCornerRadius,\n barMaxWidth,\n colorAdapter,\n color,\n linearColor,\n backgroundColor,\n playerXY,\n progressive,\n playerXBand,\n playerYLinear,\n label,\n brush,\n tooltip,\n discreteLegend,\n colorLegend,\n horizontalCrosshairRect,\n colorBarStyleFill,\n barStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n} from '../pipes'\n\nconst raceColumn: VChartSpecPipeline = [\n initColumn,\n stackCornerRadius,\n barMaxWidth,\n colorAdapter(color, linearColor),\n backgroundColor,\n playerXY,\n progressive,\n playerXBand,\n playerYLinear,\n\n label,\n brush,\n tooltip,\n colorAdapter(discreteLegend, colorLegend),\n horizontalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n]\n\nexport const raceColumnSpecPipeline = raceColumn\n"],"names":["raceColumn","initColumn","stackCornerRadius","barMaxWidth","colorAdapter","color","linearColor","backgroundColor","playerXY","progressive","playerXBand","playerYLinear","label","brush","tooltip","discreteLegend","colorLegend","horizontalCrosshairRect","colorBarStyleFill","barStyle","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","raceColumnSpecPipeline"],"mappings":";AA2BA,MAAMA,aAAiC;IACrCC;IACAC;IACAC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IAEAC;IACAC;IACAC;IACAV,aAAaW,gBAAgBC;IAC7BC;IACAC,kBAAkBC;IAClBC;IACAC;IACAC;IACAC;CACD;AAEM,MAAMC,yBAAyBxB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, brush, color, colorAdapter, colorLegend, colorPointStyleFill, discreteLegend, initScatter, label, linearColor, playerXLinear, playerYLinear, playerYY, pointStyle, progressive, tooltip, verticalCrosshairLine } from "../pipes/index.js";
|
|
2
|
+
const raceScatter = [
|
|
3
|
+
initScatter,
|
|
4
|
+
colorAdapter(color, linearColor),
|
|
5
|
+
backgroundColor,
|
|
6
|
+
playerYY,
|
|
7
|
+
playerXLinear,
|
|
8
|
+
playerYLinear,
|
|
9
|
+
label,
|
|
10
|
+
brush,
|
|
11
|
+
tooltip,
|
|
12
|
+
progressive,
|
|
13
|
+
colorAdapter(discreteLegend, colorLegend),
|
|
14
|
+
verticalCrosshairLine,
|
|
15
|
+
colorPointStyleFill(pointStyle),
|
|
16
|
+
annotationPoint,
|
|
17
|
+
annotationVerticalLine,
|
|
18
|
+
annotationHorizontalLine,
|
|
19
|
+
annotationAreaBand
|
|
20
|
+
];
|
|
21
|
+
const raceScatterSpecPipeline = raceScatter;
|
|
22
|
+
export { raceScatterSpecPipeline };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=raceScatter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline/spec/chart/pipeline/raceScatter.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/raceScatter.ts"],"sourcesContent":["import type { VChartSpecPipeline } from 'src/types'\nimport {\n initScatter,\n colorAdapter,\n color,\n linearColor,\n backgroundColor,\n progressive,\n playerYLinear,\n label,\n brush,\n tooltip,\n discreteLegend,\n colorLegend,\n verticalCrosshairLine,\n colorPointStyleFill,\n pointStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n playerXLinear,\n playerYY,\n} from '../pipes'\n\nconst raceScatter: VChartSpecPipeline = [\n initScatter,\n colorAdapter(color, linearColor),\n backgroundColor,\n playerYY,\n playerXLinear,\n playerYLinear,\n\n label,\n brush,\n tooltip,\n progressive,\n colorAdapter(discreteLegend, colorLegend),\n verticalCrosshairLine,\n colorPointStyleFill(pointStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n]\n\nexport const raceScatterSpecPipeline = raceScatter\n"],"names":["raceScatter","initScatter","colorAdapter","color","linearColor","backgroundColor","playerYY","playerXLinear","playerYLinear","label","brush","tooltip","progressive","discreteLegend","colorLegend","verticalCrosshairLine","colorPointStyleFill","pointStyle","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","raceScatterSpecPipeline"],"mappings":";AAyBA,MAAMA,cAAkC;IACtCC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IAEAC;IACAC;IACAC;IACAC;IACAV,aAAaW,gBAAgBC;IAC7BC;IACAC,oBAAoBC;IACpBC;IACAC;IACAC;IACAC;CACD;AAEM,MAAMC,0BAA0BtB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { addRegionPadding, areaStyle, backgroundColor, color, colorAdapter, colorAreaStyleFill, colorLegend, colorLineStyleFill, colorPointStyleFill, datasetPivot, datasetXY, discreteLegend, initPivot, initRadar, label, lineStyle, linearColor, pivotAdapter, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotHideIndicatorName, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle,
|
|
1
|
+
import { addRegionPadding, areaStyle, backgroundColor, color, colorAdapter, colorAreaStyleFill, colorLegend, colorLineStyleFill, colorPointStyleFill, datasetPivot, datasetXY, discreteLegend, initPivot, initRadar, label, lineStyle, linearColor, pivotAdapter, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotHideIndicatorName, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, pointStateDimensionHover, pointStyle, progressive, radarAngleAxis, radarRadiusAxis, tooltip, verticalCrosshairLine } from "../pipes/index.js";
|
|
2
2
|
const radar = [
|
|
3
3
|
initRadar,
|
|
4
4
|
colorAdapter(color, linearColor),
|
|
5
5
|
backgroundColor,
|
|
6
|
-
|
|
6
|
+
datasetXY,
|
|
7
7
|
progressive,
|
|
8
8
|
radarAngleAxis,
|
|
9
9
|
radarRadiusAxis,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline/spec/chart/pipeline/radar.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/radar.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, SpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n datasetXY,\n backgroundColor,\n label,\n tooltip,\n discreteLegend,\n color,\n initPivot,\n datasetPivot,\n pivotDiscreteLegend,\n pivotIndicators,\n pivotAdapter,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotColumnDimensions,\n pivotRowDimensions,\n pointStyle,\n lineStyle,\n verticalCrosshairLine,\n pointStateDimensionHover,\n initRadar,\n areaStyle,\n radarAngleAxis,\n radarRadiusAxis,\n progressive,\n linearColor,\n colorAdapter,\n colorLegend,\n colorPointStyleFill,\n colorLineStyleFill,\n colorAreaStyleFill,\n pivotColorLegend,\n pivotHideIndicatorName,\n pivotTitle,\n addRegionPadding,\n
|
|
1
|
+
{"version":3,"file":"pipeline/spec/chart/pipeline/radar.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/radar.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, SpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n datasetXY,\n backgroundColor,\n label,\n tooltip,\n discreteLegend,\n color,\n initPivot,\n datasetPivot,\n pivotDiscreteLegend,\n pivotIndicators,\n pivotAdapter,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotColumnDimensions,\n pivotRowDimensions,\n pointStyle,\n lineStyle,\n verticalCrosshairLine,\n pointStateDimensionHover,\n initRadar,\n areaStyle,\n radarAngleAxis,\n radarRadiusAxis,\n progressive,\n linearColor,\n colorAdapter,\n colorLegend,\n colorPointStyleFill,\n colorLineStyleFill,\n colorAreaStyleFill,\n pivotColorLegend,\n pivotHideIndicatorName,\n pivotTitle,\n addRegionPadding,\n} from '../pipes'\n\nconst radar: VChartSpecPipeline = [\n initRadar,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n radarAngleAxis,\n radarRadiusAxis,\n label,\n tooltip,\n colorAdapter(discreteLegend, colorLegend),\n verticalCrosshairLine,\n colorPointStyleFill(pointStyle),\n pointStateDimensionHover,\n colorLineStyleFill(lineStyle),\n colorAreaStyleFill(areaStyle),\n // annotationPoint,\n // annotationVerticalLine,\n // annotationHorizontalLine,\n // annotationArea,\n]\n\nconst pivotRadar: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n pivotHideIndicatorName,\n datasetPivot,\n pivotIndicators([\n initRadar,\n addRegionPadding,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n radarAngleAxis,\n radarRadiusAxis,\n label,\n tooltip,\n verticalCrosshairLine,\n colorPointStyleFill(pointStyle),\n pointStateDimensionHover,\n colorLineStyleFill(lineStyle),\n colorAreaStyleFill(areaStyle),\n // annotationPoint,\n // annotationVerticalLine,\n // annotationHorizontalLine,\n // annotationArea,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n]\n\nexport const radarSpecPipeline: SpecPipeline = [pivotAdapter(radar, pivotRadar)]\n"],"names":["radar","initRadar","colorAdapter","color","linearColor","backgroundColor","datasetXY","progressive","radarAngleAxis","radarRadiusAxis","label","tooltip","discreteLegend","colorLegend","verticalCrosshairLine","colorPointStyleFill","pointStyle","pointStateDimensionHover","colorLineStyleFill","lineStyle","colorAreaStyleFill","areaStyle","pivotRadar","initPivot","pivotGridStyle","pivotIndicatorsAsRow","pivotHideIndicatorName","datasetPivot","pivotIndicators","addRegionPadding","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","radarSpecPipeline","pivotAdapter"],"mappings":";AAsCA,MAAMA,QAA4B;IAChCC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAT,aAAaU,gBAAgBC;IAC7BC;IACAC,oBAAoBC;IACpBC;IACAC,mBAAmBC;IACnBC,mBAAmBC;CAKpB;AAED,MAAMC,aAAqC;IACzCC;IACAC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACd3B;QACA4B;QACA3B,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAG;QACAC,oBAAoBC;QACpBC;QACAC,mBAAmBC;QACnBC,mBAAmBC;KAKpB;IACDS;IACAC;IACAC;IACA9B,aAAa+B,qBAAqBC;CACnC;AAEM,MAAMC,oBAAkC;IAACC,aAAapC,OAAOsB;CAAY"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { addRegionPadding, backgroundColor, color, colorAdapter, colorLegend, colorRoseStyleFill, datasetPivot, datasetXY, dimensionLinkage, discreteLegend, initPivot, initRose, labelPie, linearColor, pivotAdapter, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotHideIndicatorName, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle,
|
|
1
|
+
import { addRegionPadding, backgroundColor, color, colorAdapter, colorLegend, colorRoseStyleFill, datasetPivot, datasetXY, dimensionLinkage, discreteLegend, initPivot, initRose, labelPie, linearColor, pivotAdapter, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotHideIndicatorName, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, progressive, radiusAxis, roseStyle, stackCornerRadius, stackInverse, tooltip, verticalCrosshairRect } from "../pipes/index.js";
|
|
2
2
|
const rose = [
|
|
3
3
|
initRose,
|
|
4
4
|
stackCornerRadius,
|
|
5
5
|
stackInverse,
|
|
6
6
|
colorAdapter(color, linearColor),
|
|
7
7
|
backgroundColor,
|
|
8
|
-
|
|
8
|
+
datasetXY,
|
|
9
9
|
progressive,
|
|
10
10
|
radiusAxis,
|
|
11
11
|
verticalCrosshairRect,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline/spec/chart/pipeline/rose.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/rose.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n datasetXY,\n backgroundColor,\n tooltip,\n discreteLegend,\n color,\n pivotAdapter,\n initPivot,\n datasetPivot,\n pivotIndicators,\n pivotDiscreteLegend,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotRowDimensions,\n pivotColumnDimensions,\n stackInverse,\n verticalCrosshairRect,\n stackCornerRadius,\n initRose,\n radiusAxis,\n progressive,\n linearColor,\n colorAdapter,\n pivotColorLegend,\n colorLegend,\n roseStyle,\n colorRoseStyleFill,\n labelPie,\n pivotHideIndicatorName,\n pivotTitle,\n addRegionPadding,\n dimensionLinkage,\n
|
|
1
|
+
{"version":3,"file":"pipeline/spec/chart/pipeline/rose.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/rose.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n datasetXY,\n backgroundColor,\n tooltip,\n discreteLegend,\n color,\n pivotAdapter,\n initPivot,\n datasetPivot,\n pivotIndicators,\n pivotDiscreteLegend,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotRowDimensions,\n pivotColumnDimensions,\n stackInverse,\n verticalCrosshairRect,\n stackCornerRadius,\n initRose,\n radiusAxis,\n progressive,\n linearColor,\n colorAdapter,\n pivotColorLegend,\n colorLegend,\n roseStyle,\n colorRoseStyleFill,\n labelPie,\n pivotHideIndicatorName,\n pivotTitle,\n addRegionPadding,\n dimensionLinkage,\n} from '../pipes'\n\nconst rose: VChartSpecPipeline = [\n initRose,\n stackCornerRadius,\n stackInverse,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n radiusAxis,\n verticalCrosshairRect,\n colorRoseStyleFill(roseStyle),\n colorAdapter(discreteLegend, colorLegend),\n labelPie,\n tooltip,\n]\n\nconst pivotRose: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n pivotHideIndicatorName,\n datasetPivot,\n pivotIndicators([\n initRose,\n addRegionPadding,\n stackCornerRadius,\n stackInverse,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n radiusAxis,\n verticalCrosshairRect,\n colorRoseStyleFill(roseStyle),\n labelPie,\n tooltip,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n dimensionLinkage,\n]\n\nexport const roseSpecPipeline = [pivotAdapter(rose, pivotRose)]\n"],"names":["rose","initRose","stackCornerRadius","stackInverse","colorAdapter","color","linearColor","backgroundColor","datasetXY","progressive","radiusAxis","verticalCrosshairRect","colorRoseStyleFill","roseStyle","discreteLegend","colorLegend","labelPie","tooltip","pivotRose","initPivot","pivotGridStyle","pivotIndicatorsAsRow","pivotHideIndicatorName","datasetPivot","pivotIndicators","addRegionPadding","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","dimensionLinkage","roseSpecPipeline","pivotAdapter"],"mappings":";AAmCA,MAAMA,OAA2B;IAC/BC;IACAC;IACAC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC,mBAAmBC;IACnBT,aAAaU,gBAAgBC;IAC7BC;IACAC;CACD;AAED,MAAMC,YAAoC;IACxCC;IACAC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACdvB;QACAwB;QACAvB;QACAC;QACAC,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAC;QACAC;QACAC,mBAAmBC;QACnBG;QACAC;KACD;IACDS;IACAC;IACAC;IACAxB,aAAayB,qBAAqBC;IAClCC;CACD;AAEM,MAAMC,mBAAmB;IAACC,aAAajC,MAAMkB;CAAW"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { addRegionPadding, annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, color, colorAdapter, colorLegend, colorRoseStyleFill, datasetPivot, datasetXY, dimensionLinkage, discreteLegend, initPivot, initRoseParallel, labelPie, linearColor, pivotAdapter, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotHideIndicatorName, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle,
|
|
1
|
+
import { addRegionPadding, annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, color, colorAdapter, colorLegend, colorRoseStyleFill, datasetPivot, datasetXY, dimensionLinkage, discreteLegend, initPivot, initRoseParallel, labelPie, linearColor, pivotAdapter, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotHideIndicatorName, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, progressive, radiusAxis, roseStyle, stackCornerRadius, tooltip, verticalCrosshairRect } from "../pipes/index.js";
|
|
2
2
|
const roseParallel = [
|
|
3
3
|
initRoseParallel,
|
|
4
4
|
stackCornerRadius,
|
|
5
5
|
colorAdapter(color, linearColor),
|
|
6
6
|
backgroundColor,
|
|
7
|
-
|
|
7
|
+
datasetXY,
|
|
8
8
|
progressive,
|
|
9
9
|
radiusAxis,
|
|
10
10
|
colorRoseStyleFill(roseStyle),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline/spec/chart/pipeline/roseParallel.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/roseParallel.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n datasetXY,\n backgroundColor,\n tooltip,\n discreteLegend,\n color,\n pivotIndicators,\n initPivot,\n datasetPivot,\n pivotAdapter,\n pivotDiscreteLegend,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotRowDimensions,\n pivotColumnDimensions,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n verticalCrosshairRect,\n stackCornerRadius,\n initRoseParallel,\n radiusAxis,\n progressive,\n pivotColorLegend,\n colorAdapter,\n linearColor,\n colorLegend,\n roseStyle,\n colorRoseStyleFill,\n labelPie,\n pivotHideIndicatorName,\n pivotTitle,\n addRegionPadding,\n dimensionLinkage,\n
|
|
1
|
+
{"version":3,"file":"pipeline/spec/chart/pipeline/roseParallel.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/roseParallel.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n datasetXY,\n backgroundColor,\n tooltip,\n discreteLegend,\n color,\n pivotIndicators,\n initPivot,\n datasetPivot,\n pivotAdapter,\n pivotDiscreteLegend,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotRowDimensions,\n pivotColumnDimensions,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n verticalCrosshairRect,\n stackCornerRadius,\n initRoseParallel,\n radiusAxis,\n progressive,\n pivotColorLegend,\n colorAdapter,\n linearColor,\n colorLegend,\n roseStyle,\n colorRoseStyleFill,\n labelPie,\n pivotHideIndicatorName,\n pivotTitle,\n addRegionPadding,\n dimensionLinkage,\n} from '../pipes'\n\nconst roseParallel: VChartSpecPipeline = [\n initRoseParallel,\n stackCornerRadius,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n radiusAxis,\n colorRoseStyleFill(roseStyle),\n colorAdapter(discreteLegend, colorLegend),\n labelPie,\n tooltip,\n verticalCrosshairRect,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n]\n\nconst pivotRoseParallel: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n pivotHideIndicatorName,\n datasetPivot,\n pivotIndicators([\n initRoseParallel,\n addRegionPadding,\n stackCornerRadius,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n radiusAxis,\n verticalCrosshairRect,\n colorRoseStyleFill(roseStyle),\n labelPie,\n tooltip,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n dimensionLinkage,\n]\n\nexport const roseParallelSpecPipeline = [pivotAdapter(roseParallel, pivotRoseParallel)]\n"],"names":["roseParallel","initRoseParallel","stackCornerRadius","colorAdapter","color","linearColor","backgroundColor","datasetXY","progressive","radiusAxis","colorRoseStyleFill","roseStyle","discreteLegend","colorLegend","labelPie","tooltip","verticalCrosshairRect","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","pivotRoseParallel","initPivot","pivotGridStyle","pivotIndicatorsAsRow","pivotHideIndicatorName","datasetPivot","pivotIndicators","addRegionPadding","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","dimensionLinkage","roseParallelSpecPipeline","pivotAdapter"],"mappings":";AAsCA,MAAMA,eAAmC;IACvCC;IACAC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC,mBAAmBC;IACnBR,aAAaS,gBAAgBC;IAC7BC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,oBAA4C;IAChDC;IACAC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACd1B;QACA2B;QACA1B;QACAC,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAC;QACAO;QACAN,mBAAmBC;QACnBG;QACAC;QACAE;QACAC;QACAC;QACAC;KACD;IACDS;IACAC;IACAC;IACA5B,aAAa6B,qBAAqBC;IAClCC;CACD;AAEM,MAAMC,2BAA2B;IAACC,aAAapC,cAAcqB;CAAmB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { annotationArea, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, brush, color, colorAdapter, colorLegend, colorPointStyleFill, datasetPivot, datasetScatter, dimensionLinkage, discreteLegend, horizontalCrosshairLine, initPivot, initScatter, labelScatter, linearColor, linearRegressionLine, logisticRegressionLine, lowessRegressionLine, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle,
|
|
1
|
+
import { annotationArea, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, brush, color, colorAdapter, colorLegend, colorPointStyleFill, datasetPivot, datasetScatter, dimensionLinkage, discreteLegend, horizontalCrosshairLine, initPivot, initScatter, labelScatter, linearColor, linearRegressionLine, logisticRegressionLine, lowessRegressionLine, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, pointStateHover, pointStyle, polynomialRegressionLine, progressive, scatterSize, tooltipScatter, verticalCrosshairLine, xLinear, yLinear } from "../pipes/index.js";
|
|
2
2
|
const scatter = [
|
|
3
3
|
initScatter,
|
|
4
4
|
colorAdapter(color, linearColor),
|
|
5
5
|
backgroundColor,
|
|
6
|
-
|
|
6
|
+
datasetScatter,
|
|
7
7
|
progressive,
|
|
8
8
|
xLinear,
|
|
9
9
|
yLinear,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline/spec/chart/pipeline/scatter.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/scatter.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n yLinear,\n backgroundColor,\n tooltipScatter,\n discreteLegend,\n color,\n initPivot,\n datasetPivot,\n pivotDiscreteLegend,\n pivotIndicators,\n pivotAdapter,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotColumnDimensions,\n pivotRowDimensions,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n pointStyle,\n verticalCrosshairLine,\n xLinear,\n horizontalCrosshairLine,\n pointStateHover,\n initScatter,\n progressive,\n datasetScatter,\n linearColor,\n colorAdapter,\n colorPointStyleFill,\n colorLegend,\n pivotColorLegend,\n labelScatter,\n scatterSize,\n linearRegressionLine,\n lowessRegressionLine,\n polynomialRegressionLine,\n logisticRegressionLine,\n pivotAxisStyle,\n pivotTitle,\n dimensionLinkage,\n brush,\n
|
|
1
|
+
{"version":3,"file":"pipeline/spec/chart/pipeline/scatter.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/scatter.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n yLinear,\n backgroundColor,\n tooltipScatter,\n discreteLegend,\n color,\n initPivot,\n datasetPivot,\n pivotDiscreteLegend,\n pivotIndicators,\n pivotAdapter,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotColumnDimensions,\n pivotRowDimensions,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n pointStyle,\n verticalCrosshairLine,\n xLinear,\n horizontalCrosshairLine,\n pointStateHover,\n initScatter,\n progressive,\n datasetScatter,\n linearColor,\n colorAdapter,\n colorPointStyleFill,\n colorLegend,\n pivotColorLegend,\n labelScatter,\n scatterSize,\n linearRegressionLine,\n lowessRegressionLine,\n polynomialRegressionLine,\n logisticRegressionLine,\n pivotAxisStyle,\n pivotTitle,\n dimensionLinkage,\n brush,\n} from '../pipes'\n\nconst scatter: VChartSpecPipeline = [\n initScatter,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetScatter,\n progressive,\n xLinear,\n yLinear,\n brush,\n scatterSize,\n labelScatter,\n tooltipScatter,\n colorAdapter(discreteLegend, colorLegend),\n verticalCrosshairLine,\n horizontalCrosshairLine,\n colorPointStyleFill(pointStyle),\n pointStateHover,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n linearRegressionLine,\n lowessRegressionLine,\n polynomialRegressionLine,\n logisticRegressionLine,\n]\n\nconst pivotScatter: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n datasetPivot,\n pivotIndicators([\n initScatter,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetScatter,\n progressive,\n xLinear,\n pivotAxisStyle(yLinear),\n brush,\n scatterSize,\n labelScatter,\n tooltipScatter,\n verticalCrosshairLine,\n horizontalCrosshairLine,\n colorPointStyleFill(pointStyle),\n pointStateHover,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n linearRegressionLine,\n lowessRegressionLine,\n polynomialRegressionLine,\n logisticRegressionLine,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n dimensionLinkage,\n]\n\nexport const scatterSpecPipeline = [pivotAdapter(scatter, pivotScatter)]\n"],"names":["scatter","initScatter","colorAdapter","color","linearColor","backgroundColor","datasetScatter","progressive","xLinear","yLinear","brush","scatterSize","labelScatter","tooltipScatter","discreteLegend","colorLegend","verticalCrosshairLine","horizontalCrosshairLine","colorPointStyleFill","pointStyle","pointStateHover","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationArea","linearRegressionLine","lowessRegressionLine","polynomialRegressionLine","logisticRegressionLine","pivotScatter","initPivot","pivotGridStyle","pivotIndicatorsAsRow","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","dimensionLinkage","scatterSpecPipeline","pivotAdapter"],"mappings":";AA6CA,MAAMA,UAA8B;IAClCC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAX,aAAaY,gBAAgBC;IAC7BC;IACAC;IACAC,oBAAoBC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,eAAuC;IAC3CC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACdjC;QACAC,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAC;QACA2B,eAAe1B;QACfC;QACAC;QACAC;QACAC;QACAG;QACAC;QACAC,oBAAoBC;QACpBC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;KACD;IACDQ;IACAC;IACAC;IACApC,aAAaqC,qBAAqBC;IAClCC;CACD;AAEM,MAAMC,sBAAsB;IAACC,aAAa3C,SAAS6B;CAAc"}
|
|
@@ -9,6 +9,10 @@ const initScatter = (spec, context)=>{
|
|
|
9
9
|
result.direction = 'vertical';
|
|
10
10
|
result.xField = foldInfoList?.[0].measureValue;
|
|
11
11
|
if (foldInfoList?.[1]) result.yField = foldInfoList[1].measureValue;
|
|
12
|
+
else if (unfoldInfo.encodingX) {
|
|
13
|
+
result.xField = unfoldInfo.encodingX;
|
|
14
|
+
result.yField = foldInfoList?.[0].measureValue;
|
|
15
|
+
}
|
|
12
16
|
result.seriesField = unfoldInfo.encodingColorId;
|
|
13
17
|
result.padding = 0;
|
|
14
18
|
result.region = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline/spec/chart/pipes/init/scatter.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipes/init/scatter.ts"],"sourcesContent":["import type { IScatterChartSpec } from '@visactor/vchart'\nimport type { VChartSpecPipe } from 'src/types'\n\nexport const initScatter: VChartSpecPipe = (spec, context) => {\n const result = { ...spec } as IScatterChartSpec\n const { advancedVSeed } = context\n const { datasetReshapeInfo } = advancedVSeed\n const { unfoldInfo, foldInfoList } = datasetReshapeInfo[0]\n\n result.type = 'scatter'\n result.direction = 'vertical'\n result.xField = foldInfoList?.[0].measureValue\n if (foldInfoList?.[1]) {\n result.yField = foldInfoList[1].measureValue\n }\n\n result.seriesField = unfoldInfo.encodingColorId\n\n result.padding = 0\n result.region = [\n {\n clip: true,\n },\n ]\n result.animation = true\n\n return result\n}\n"],"names":["initScatter","spec","context","result","advancedVSeed","datasetReshapeInfo","unfoldInfo","foldInfoList"],"mappings":"AAGO,MAAMA,cAA8B,CAACC,MAAMC;IAChD,MAAMC,SAAS;QAAE,GAAGF,IAAI;IAAC;IACzB,MAAM,EAAEG,aAAa,EAAE,GAAGF;IAC1B,MAAM,EAAEG,kBAAkB,EAAE,GAAGD;IAC/B,MAAM,EAAEE,UAAU,EAAEC,YAAY,EAAE,GAAGF,kBAAkB,CAAC,EAAE;IAE1DF,OAAO,IAAI,GAAG;IACdA,OAAO,SAAS,GAAG;IACnBA,OAAO,MAAM,GAAGI,cAAc,CAAC,EAAE,CAAC;IAClC,IAAIA,cAAc,CAAC,EAAE,EACnBJ,OAAO,MAAM,GAAGI,YAAY,CAAC,EAAE,CAAC,YAAY;
|
|
1
|
+
{"version":3,"file":"pipeline/spec/chart/pipes/init/scatter.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipes/init/scatter.ts"],"sourcesContent":["import type { IScatterChartSpec } from '@visactor/vchart'\nimport type { VChartSpecPipe } from 'src/types'\n\nexport const initScatter: VChartSpecPipe = (spec, context) => {\n const result = { ...spec } as IScatterChartSpec\n const { advancedVSeed } = context\n const { datasetReshapeInfo } = advancedVSeed\n const { unfoldInfo, foldInfoList } = datasetReshapeInfo[0]\n\n result.type = 'scatter'\n result.direction = 'vertical'\n result.xField = foldInfoList?.[0].measureValue\n if (foldInfoList?.[1]) {\n result.yField = foldInfoList[1].measureValue\n } else if (unfoldInfo.encodingX) {\n result.xField = unfoldInfo.encodingX\n result.yField = foldInfoList?.[0].measureValue\n }\n\n result.seriesField = unfoldInfo.encodingColorId\n\n result.padding = 0\n result.region = [\n {\n clip: true,\n },\n ]\n result.animation = true\n\n return result\n}\n"],"names":["initScatter","spec","context","result","advancedVSeed","datasetReshapeInfo","unfoldInfo","foldInfoList"],"mappings":"AAGO,MAAMA,cAA8B,CAACC,MAAMC;IAChD,MAAMC,SAAS;QAAE,GAAGF,IAAI;IAAC;IACzB,MAAM,EAAEG,aAAa,EAAE,GAAGF;IAC1B,MAAM,EAAEG,kBAAkB,EAAE,GAAGD;IAC/B,MAAM,EAAEE,UAAU,EAAEC,YAAY,EAAE,GAAGF,kBAAkB,CAAC,EAAE;IAE1DF,OAAO,IAAI,GAAG;IACdA,OAAO,SAAS,GAAG;IACnBA,OAAO,MAAM,GAAGI,cAAc,CAAC,EAAE,CAAC;IAClC,IAAIA,cAAc,CAAC,EAAE,EACnBJ,OAAO,MAAM,GAAGI,YAAY,CAAC,EAAE,CAAC,YAAY;SACvC,IAAID,WAAW,SAAS,EAAE;QAC/BH,OAAO,MAAM,GAAGG,WAAW,SAAS;QACpCH,OAAO,MAAM,GAAGI,cAAc,CAAC,EAAE,CAAC;IACpC;IAEAJ,OAAO,WAAW,GAAGG,WAAW,eAAe;IAE/CH,OAAO,OAAO,GAAG;IACjBA,OAAO,MAAM,GAAG;QACd;YACE,MAAM;QACR;KACD;IACDA,OAAO,SAAS,GAAG;IAEnB,OAAOA;AACT"}
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './isPlayer';
|
|
2
|
+
export * from './playerYX';
|
|
3
|
+
export * from './playerXY';
|
|
4
|
+
export * from './playerYY';
|
|
5
|
+
export * from './playerXLinear';
|
|
6
|
+
export * from './playerYLinear';
|
|
7
|
+
export * from './playerYBand';
|
|
8
|
+
export * from './playerXBand';
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export * from "./isPlayer.js";
|
|
2
|
+
export * from "./playerYX.js";
|
|
3
|
+
export * from "./playerXY.js";
|
|
4
|
+
export * from "./playerYY.js";
|
|
5
|
+
export * from "./playerXLinear.js";
|
|
6
|
+
export * from "./playerYLinear.js";
|
|
7
|
+
export * from "./playerYBand.js";
|
|
8
|
+
export * from "./playerXBand.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { isPivotChart, isVTable } from "../../../../utils/index.js";
|
|
2
|
+
const isPlayer = (context)=>{
|
|
3
|
+
const { vseed, advancedVSeed } = context;
|
|
4
|
+
const { chartType } = advancedVSeed;
|
|
5
|
+
const baseConfig = advancedVSeed.config[chartType];
|
|
6
|
+
if (!('player' in vseed) || !baseConfig || !baseConfig.player || isVTable(vseed) || isPivotChart(vseed)) return false;
|
|
7
|
+
return true;
|
|
8
|
+
};
|
|
9
|
+
export { isPlayer };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=isPlayer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline/spec/chart/pipes/player/isPlayer.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipes/player/isPlayer.ts"],"sourcesContent":["import { isPivotChart, isVTable } from 'src/pipeline/utils'\nimport type { Player, SpecPipelineContext } from 'src/types'\nimport type { Condition } from '../../utils'\n\nexport const isPlayer: Condition = (context: SpecPipelineContext): boolean => {\n const { vseed, advancedVSeed } = context\n const { chartType } = advancedVSeed\n const baseConfig = advancedVSeed.config[chartType] as { player: Player }\n if (!('player' in vseed) || !baseConfig || !baseConfig.player || isVTable(vseed) || isPivotChart(vseed)) {\n return false\n }\n return true\n}\n"],"names":["isPlayer","context","vseed","advancedVSeed","chartType","baseConfig","isVTable","isPivotChart"],"mappings":";AAIO,MAAMA,WAAsB,CAACC;IAClC,MAAM,EAAEC,KAAK,EAAEC,aAAa,EAAE,GAAGF;IACjC,MAAM,EAAEG,SAAS,EAAE,GAAGD;IACtB,MAAME,aAAaF,cAAc,MAAM,CAACC,UAAU;IAClD,IAAI,CAAE,aAAYF,KAAI,KAAM,CAACG,cAAc,CAACA,WAAW,MAAM,IAAIC,SAASJ,UAAUK,aAAaL,QAC/F,OAAO;IAET,OAAO;AACT"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { xBand } from "../axes/index.js";
|
|
2
|
+
const playerXBand = (spec, context)=>{
|
|
3
|
+
const result = xBand(spec, context);
|
|
4
|
+
const bandAxis = result.axes?.find((axis)=>axis?.type === 'band');
|
|
5
|
+
if (bandAxis) bandAxis.animation = true;
|
|
6
|
+
return result;
|
|
7
|
+
};
|
|
8
|
+
export { playerXBand };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=playerXBand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline/spec/chart/pipes/player/playerXBand.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipes/player/playerXBand.ts"],"sourcesContent":["import type { VChartSpecPipe } from 'src/types'\nimport { xBand } from '../axes'\nimport type { IBarChartSpec } from '@visactor/vchart'\nimport type { ICartesianBandAxisSpec } from '@visactor/vchart/esm/component/axis'\n\nexport const playerXBand: VChartSpecPipe = (spec, context) => {\n const result = xBand(spec, context) as IBarChartSpec\n const bandAxis = result.axes?.find((axis) => axis?.type === 'band') as ICartesianBandAxisSpec\n\n if (bandAxis) {\n bandAxis.animation = true\n }\n return result\n}\n"],"names":["playerXBand","spec","context","result","xBand","bandAxis","axis"],"mappings":";AAKO,MAAMA,cAA8B,CAACC,MAAMC;IAChD,MAAMC,SAASC,MAAMH,MAAMC;IAC3B,MAAMG,WAAWF,OAAO,IAAI,EAAE,KAAK,CAACG,OAASA,MAAM,SAAS;IAE5D,IAAID,UACFA,SAAS,SAAS,GAAG;IAEvB,OAAOF;AACT"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { xLinear } from "../axes/index.js";
|
|
2
|
+
const playerXLinear = (spec, context)=>{
|
|
3
|
+
const result = xLinear(spec, context);
|
|
4
|
+
const linearAxis = result.axes?.find((axis)=>axis?.type === 'linear');
|
|
5
|
+
if (linearAxis) {
|
|
6
|
+
linearAxis.animation = true;
|
|
7
|
+
linearAxis.nice = false;
|
|
8
|
+
if (linearAxis.tick) linearAxis.tick.tickStep = 10000;
|
|
9
|
+
}
|
|
10
|
+
return result;
|
|
11
|
+
};
|
|
12
|
+
export { playerXLinear };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=playerXLinear.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipeline/spec/chart/pipes/player/playerXLinear.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipes/player/playerXLinear.ts"],"sourcesContent":["import type { VChartSpecPipe } from 'src/types'\nimport { xLinear } from '../axes'\nimport type { IBarChartSpec, ICartesianLinearAxisSpec } from '@visactor/vchart'\n\nexport const playerXLinear: VChartSpecPipe = (spec, context) => {\n const result = xLinear(spec, context) as IBarChartSpec\n const linearAxis = result.axes?.find((axis) => axis?.type === 'linear') as ICartesianLinearAxisSpec\n\n if (linearAxis) {\n linearAxis.animation = true\n linearAxis.nice = false\n if (linearAxis.tick) {\n linearAxis.tick.tickStep = 10000\n }\n }\n return result\n}\n"],"names":["playerXLinear","spec","context","result","xLinear","linearAxis","axis"],"mappings":";AAIO,MAAMA,gBAAgC,CAACC,MAAMC;IAClD,MAAMC,SAASC,QAAQH,MAAMC;IAC7B,MAAMG,aAAaF,OAAO,IAAI,EAAE,KAAK,CAACG,OAASA,MAAM,SAAS;IAE9D,IAAID,YAAY;QACdA,WAAW,SAAS,GAAG;QACvBA,WAAW,IAAI,GAAG;QAClB,IAAIA,WAAW,IAAI,EACjBA,WAAW,IAAI,CAAC,QAAQ,GAAG;IAE/B;IACA,OAAOF;AACT"}
|