@visactor/vseed 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builder/builder/buildAdvanced.d.ts +1 -1
- package/dist/builder/builder/buildSpec.d.ts +1 -1
- package/dist/builder/builder/builder.d.ts +4 -202
- package/dist/builder/register/register.d.ts +7 -0
- package/dist/dataReshape/dataReshapeFor1D1M.d.ts +1 -1
- package/dist/dataReshape/dataReshapeFor2D1M.d.ts +1 -1
- package/dist/dataReshape/foldMeasures.d.ts +2 -2
- package/dist/dataReshape/unfoldDimensions.d.ts +2 -2
- package/dist/index.cjs +300 -23
- package/dist/index.js +244 -9
- package/dist/pipeline/advanced/pipeline/area.d.ts +2 -0
- package/dist/pipeline/advanced/pipeline/areaPercent.d.ts +2 -0
- package/dist/pipeline/advanced/pipeline/bar.d.ts +1 -1
- package/dist/pipeline/advanced/pipeline/barParallel.d.ts +2 -0
- package/dist/pipeline/advanced/pipeline/barPercent.d.ts +2 -0
- package/dist/pipeline/advanced/pipeline/column.d.ts +1 -1
- package/dist/pipeline/advanced/pipeline/columnParallel.d.ts +2 -0
- package/dist/pipeline/advanced/pipeline/columnPercent.d.ts +2 -0
- package/dist/pipeline/advanced/pipeline/index.d.ts +7 -0
- package/dist/pipeline/advanced/pipeline/line.d.ts +2 -0
- package/dist/pipeline/advanced/pipes/encoding/encodingCartesian.d.ts +3 -2
- package/dist/pipeline/advanced/pipes/encoding/index.d.ts +1 -1
- package/dist/pipeline/advanced/pipes/index.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/init/index.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/init/initAdvancedVSeed.d.ts +2 -0
- package/dist/pipeline/advanced/pipes/reshape/reshapeTo1D1M.d.ts +1 -1
- package/dist/pipeline/advanced/pipes/reshape/reshapeTo2D1M.d.ts +1 -1
- package/dist/pipeline/spec/pipeline/area.d.ts +2 -0
- package/dist/pipeline/spec/pipeline/areaPercent.d.ts +2 -0
- package/dist/pipeline/spec/pipeline/bar.d.ts +1 -1
- package/dist/pipeline/spec/pipeline/barParallel.d.ts +2 -0
- package/dist/pipeline/spec/pipeline/barPercent.d.ts +2 -0
- package/dist/pipeline/spec/pipeline/column.d.ts +1 -1
- package/dist/pipeline/spec/pipeline/columnParallel.d.ts +2 -0
- package/dist/pipeline/spec/pipeline/columnPercent.d.ts +2 -0
- package/dist/pipeline/spec/pipeline/index.d.ts +7 -0
- package/dist/pipeline/spec/pipeline/line.d.ts +2 -0
- package/dist/pipeline/spec/pipes/axes/xBand.d.ts +1 -1
- package/dist/pipeline/spec/pipes/axes/xLinear.d.ts +1 -1
- package/dist/pipeline/spec/pipes/axes/yBand.d.ts +1 -1
- package/dist/pipeline/spec/pipes/axes/yLinear.d.ts +1 -1
- package/dist/pipeline/spec/pipes/dataset/dataset.d.ts +1 -1
- package/dist/pipeline/spec/pipes/index.d.ts +2 -0
- package/dist/pipeline/spec/pipes/init/area.d.ts +2 -0
- package/dist/pipeline/spec/pipes/init/bar.d.ts +1 -1
- package/dist/pipeline/spec/pipes/init/barParallel.d.ts +2 -0
- package/dist/pipeline/spec/pipes/init/column.d.ts +1 -1
- package/dist/pipeline/spec/pipes/init/columnParallel.d.ts +2 -0
- package/dist/pipeline/spec/pipes/init/index.d.ts +4 -0
- package/dist/pipeline/spec/pipes/init/line.d.ts +2 -0
- package/dist/pipeline/spec/pipes/percent/index.d.ts +1 -0
- package/dist/pipeline/spec/pipes/percent/percent.d.ts +2 -0
- package/dist/pipeline/spec/pipes/stack/index.d.ts +1 -0
- package/dist/pipeline/spec/pipes/stack/stack.d.ts +2 -0
- package/dist/pipeline/utils/pipeline.d.ts +1 -1
- package/dist/types/chartType/area/area.d.ts +1 -1
- package/dist/types/chartType/areaPercent/areaPercent.d.ts +1 -1
- package/dist/types/chartType/bar/bar.d.ts +1 -1
- package/dist/types/chartType/barParallel/barParallel.d.ts +1 -1
- package/dist/types/chartType/barPercent/barPercent.d.ts +1 -1
- package/dist/types/chartType/column/column.d.ts +1 -1
- package/dist/types/chartType/columnParallel/columnParallel.d.ts +1 -1
- package/dist/types/chartType/columnPercent/columnPercent.d.ts +1 -1
- package/dist/types/chartType/donut/donut.d.ts +1 -1
- package/dist/types/chartType/dualAxis/dualAxis.d.ts +1 -1
- package/dist/types/chartType/line/line.d.ts +1 -1
- package/dist/types/chartType/pie/pie.d.ts +1 -1
- package/dist/types/chartType/pivotTable/pivotTable.d.ts +1 -1
- package/dist/types/chartType/rose/rose.d.ts +1 -1
- package/dist/types/chartType/table/table.d.ts +1 -1
- package/dist/types/properties/advancedVSeed.d.ts +8 -8
- package/dist/types/properties/chartType/zChartType.d.ts +8 -8
- package/dist/types/properties/vseed.d.ts +8 -8
- package/package.json +1 -1
- package/dist/pipeline/spec/pipes/axes/xBand copy.d.ts +0 -0
- package/dist/pipeline/spec/pipes/axes/xLinear copy.d.ts +0 -0
- package/dist/pipeline/spec/pipes/axes/yLinear copy.d.ts +0 -0
package/dist/index.js
CHANGED
@@ -195,7 +195,7 @@ const reshapeTo2D1M = (advancedVSeed, context)=>{
|
|
195
195
|
measures
|
196
196
|
};
|
197
197
|
};
|
198
|
-
const
|
198
|
+
const encodingXY = (advancedVSeed)=>{
|
199
199
|
const result = {
|
200
200
|
...advancedVSeed
|
201
201
|
};
|
@@ -228,13 +228,90 @@ const encodingCartesian = (advancedVSeed)=>{
|
|
228
228
|
encoding
|
229
229
|
};
|
230
230
|
};
|
231
|
+
const encodingYX = (advancedVSeed)=>{
|
232
|
+
const result = {
|
233
|
+
...advancedVSeed
|
234
|
+
};
|
235
|
+
const { datasetReshapeInfo, dimensions } = advancedVSeed;
|
236
|
+
if (!datasetReshapeInfo || !dimensions) return result;
|
237
|
+
const { foldInfo, unfoldInfo } = datasetReshapeInfo;
|
238
|
+
const isSingleDimension = 0 === dimensions.length;
|
239
|
+
const y = [
|
240
|
+
isSingleDimension ? foldInfo.measureName : dimensions[0].id
|
241
|
+
];
|
242
|
+
const x = [
|
243
|
+
foldInfo.measureValue
|
244
|
+
];
|
245
|
+
const group = [
|
246
|
+
isSingleDimension ? foldInfo.measureName : unfoldInfo.groupName
|
247
|
+
];
|
248
|
+
const color = [
|
249
|
+
foldInfo.measureName
|
250
|
+
];
|
251
|
+
const encoding = [
|
252
|
+
{
|
253
|
+
x,
|
254
|
+
y,
|
255
|
+
group,
|
256
|
+
color
|
257
|
+
}
|
258
|
+
];
|
259
|
+
return {
|
260
|
+
...result,
|
261
|
+
encoding
|
262
|
+
};
|
263
|
+
};
|
264
|
+
const initAdvancedVSeed = (advancedVSeed, context)=>{
|
265
|
+
const { vseed } = context;
|
266
|
+
return {
|
267
|
+
...advancedVSeed,
|
268
|
+
chartType: vseed.chartType
|
269
|
+
};
|
270
|
+
};
|
271
|
+
const lineAdvancedPipeline = [
|
272
|
+
initAdvancedVSeed,
|
273
|
+
reshapeTo2D1M,
|
274
|
+
encodingXY
|
275
|
+
];
|
231
276
|
const barAdvancedPipeline = [
|
277
|
+
initAdvancedVSeed,
|
278
|
+
reshapeTo2D1M,
|
279
|
+
encodingYX
|
280
|
+
];
|
281
|
+
const barParallelAdvancedPipeline = [
|
282
|
+
initAdvancedVSeed,
|
283
|
+
reshapeTo2D1M,
|
284
|
+
encodingYX
|
285
|
+
];
|
286
|
+
const barPercentAdvancedPipeline = [
|
287
|
+
initAdvancedVSeed,
|
232
288
|
reshapeTo2D1M,
|
233
|
-
|
289
|
+
encodingYX
|
234
290
|
];
|
235
291
|
const columnAdvancedPipeline = [
|
292
|
+
initAdvancedVSeed,
|
293
|
+
reshapeTo2D1M,
|
294
|
+
encodingXY
|
295
|
+
];
|
296
|
+
const columnParallelAdvancedPipeline = [
|
297
|
+
initAdvancedVSeed,
|
298
|
+
reshapeTo2D1M,
|
299
|
+
encodingXY
|
300
|
+
];
|
301
|
+
const columnPercentAdvancedPipeline = [
|
302
|
+
initAdvancedVSeed,
|
236
303
|
reshapeTo2D1M,
|
237
|
-
|
304
|
+
encodingXY
|
305
|
+
];
|
306
|
+
const areaAdvancedPipeline = [
|
307
|
+
initAdvancedVSeed,
|
308
|
+
reshapeTo2D1M,
|
309
|
+
encodingXY
|
310
|
+
];
|
311
|
+
const areaPercentAdvancedPipeline = [
|
312
|
+
initAdvancedVSeed,
|
313
|
+
reshapeTo2D1M,
|
314
|
+
encodingXY
|
238
315
|
];
|
239
316
|
const dataset_dataset = (spec, context)=>{
|
240
317
|
const { advancedVSeed } = context;
|
@@ -256,9 +333,7 @@ const initColumn = (spec, context)=>{
|
|
256
333
|
result.xField = encoding[0].x?.[0];
|
257
334
|
result.yField = encoding[0].y?.[0];
|
258
335
|
result.seriesField = encoding[0].group?.[0];
|
259
|
-
result.
|
260
|
-
values: advancedVSeed.dataset
|
261
|
-
};
|
336
|
+
result.padding = 0;
|
262
337
|
return result;
|
263
338
|
};
|
264
339
|
const initBar = (spec, context)=>{
|
@@ -269,9 +344,74 @@ const initBar = (spec, context)=>{
|
|
269
344
|
const { encoding } = advancedVSeed;
|
270
345
|
result.type = 'bar';
|
271
346
|
result.direction = 'horizontal';
|
272
|
-
result.yField = encoding[0].
|
273
|
-
result.xField = encoding[0].
|
347
|
+
result.yField = encoding[0].y?.[0];
|
348
|
+
result.xField = encoding[0].x?.[0];
|
349
|
+
result.seriesField = encoding[0].group?.[0];
|
350
|
+
result.padding = 0;
|
351
|
+
return result;
|
352
|
+
};
|
353
|
+
const initBarParallel = (spec, context)=>{
|
354
|
+
const result = {
|
355
|
+
...spec
|
356
|
+
};
|
357
|
+
const { advancedVSeed } = context;
|
358
|
+
const { encoding, datasetReshapeInfo } = advancedVSeed;
|
359
|
+
const { foldInfo } = datasetReshapeInfo;
|
360
|
+
result.type = 'bar';
|
361
|
+
result.direction = 'horizontal';
|
362
|
+
result.yField = [
|
363
|
+
encoding[0].y?.[0],
|
364
|
+
foldInfo?.measureName
|
365
|
+
];
|
366
|
+
result.xField = encoding[0].x?.[0];
|
274
367
|
result.seriesField = encoding[0].group?.[0];
|
368
|
+
result.padding = 0;
|
369
|
+
return result;
|
370
|
+
};
|
371
|
+
const initArea = (spec, context)=>{
|
372
|
+
const result = {
|
373
|
+
...spec
|
374
|
+
};
|
375
|
+
const { advancedVSeed } = context;
|
376
|
+
const { encoding } = advancedVSeed;
|
377
|
+
result.type = 'area';
|
378
|
+
result.direction = 'vertical';
|
379
|
+
result.xField = encoding[0].x?.[0];
|
380
|
+
result.yField = encoding[0].y?.[0];
|
381
|
+
result.seriesField = encoding[0].group?.[0];
|
382
|
+
result.padding = 0;
|
383
|
+
return result;
|
384
|
+
};
|
385
|
+
const initLine = (spec, context)=>{
|
386
|
+
const result = {
|
387
|
+
...spec
|
388
|
+
};
|
389
|
+
const { advancedVSeed } = context;
|
390
|
+
const { encoding } = advancedVSeed;
|
391
|
+
result.type = 'line';
|
392
|
+
result.direction = 'vertical';
|
393
|
+
result.xField = encoding[0].x?.[0];
|
394
|
+
result.yField = encoding[0].y?.[0];
|
395
|
+
result.seriesField = encoding[0].group?.[0];
|
396
|
+
result.padding = 0;
|
397
|
+
return result;
|
398
|
+
};
|
399
|
+
const initColumnParallel = (spec, context)=>{
|
400
|
+
const result = {
|
401
|
+
...spec
|
402
|
+
};
|
403
|
+
const { advancedVSeed } = context;
|
404
|
+
const { encoding, datasetReshapeInfo } = advancedVSeed;
|
405
|
+
const { foldInfo } = datasetReshapeInfo;
|
406
|
+
result.type = 'bar';
|
407
|
+
result.direction = 'vertical';
|
408
|
+
if (encoding[0].x?.[0]) result.xField = [
|
409
|
+
encoding[0].x[0],
|
410
|
+
foldInfo.measureName
|
411
|
+
];
|
412
|
+
result.yField = encoding[0].y?.[0];
|
413
|
+
result.seriesField = encoding[0].group?.[0];
|
414
|
+
result.padding = 0;
|
275
415
|
return result;
|
276
416
|
};
|
277
417
|
const xBand = (spec)=>{
|
@@ -334,18 +474,78 @@ const yLinear = (spec)=>{
|
|
334
474
|
];
|
335
475
|
return result;
|
336
476
|
};
|
477
|
+
const percent = (spec, context)=>{
|
478
|
+
const result = {
|
479
|
+
...spec
|
480
|
+
};
|
481
|
+
result.percent = true;
|
482
|
+
return result;
|
483
|
+
};
|
484
|
+
const stack = (spec, context)=>{
|
485
|
+
const result = {
|
486
|
+
...spec
|
487
|
+
};
|
488
|
+
result.stack = true;
|
489
|
+
return result;
|
490
|
+
};
|
491
|
+
const lineSpecPipeline = [
|
492
|
+
initLine,
|
493
|
+
dataset_dataset,
|
494
|
+
xBand,
|
495
|
+
yLinear
|
496
|
+
];
|
337
497
|
const columnSpecPipeline = [
|
338
498
|
initColumn,
|
339
499
|
dataset_dataset,
|
340
500
|
xBand,
|
341
501
|
yLinear
|
342
502
|
];
|
503
|
+
const columnParallelSpecPipeline = [
|
504
|
+
initColumnParallel,
|
505
|
+
dataset_dataset,
|
506
|
+
xBand,
|
507
|
+
yLinear
|
508
|
+
];
|
509
|
+
const columnPercentSpecPipeline = [
|
510
|
+
initColumn,
|
511
|
+
percent,
|
512
|
+
dataset_dataset,
|
513
|
+
xBand,
|
514
|
+
yLinear
|
515
|
+
];
|
343
516
|
const barSpecPipeline = [
|
344
517
|
initBar,
|
345
518
|
dataset_dataset,
|
346
519
|
xLinear,
|
347
520
|
yBand
|
348
521
|
];
|
522
|
+
const barParallelSpecPipeline = [
|
523
|
+
initBarParallel,
|
524
|
+
dataset_dataset,
|
525
|
+
xLinear,
|
526
|
+
yBand
|
527
|
+
];
|
528
|
+
const barPercentSpecPipeline = [
|
529
|
+
initBar,
|
530
|
+
percent,
|
531
|
+
dataset_dataset,
|
532
|
+
xLinear,
|
533
|
+
yBand
|
534
|
+
];
|
535
|
+
const areaSpecPipeline = [
|
536
|
+
initArea,
|
537
|
+
stack,
|
538
|
+
dataset_dataset,
|
539
|
+
xBand,
|
540
|
+
yLinear
|
541
|
+
];
|
542
|
+
const areaPercentSpecPipeline = [
|
543
|
+
initArea,
|
544
|
+
percent,
|
545
|
+
dataset_dataset,
|
546
|
+
xBand,
|
547
|
+
yLinear
|
548
|
+
];
|
349
549
|
const execPipeline = (pipeline, context, initialValue = {})=>{
|
350
550
|
const result = pipeline.reduce((prev, cur)=>cur(prev, context), initialValue);
|
351
551
|
return result;
|
@@ -418,8 +618,15 @@ class Builder {
|
|
418
618
|
}
|
419
619
|
}
|
420
620
|
const registerAll = ()=>{
|
621
|
+
registerLine();
|
421
622
|
registerColumn();
|
623
|
+
registerColumnParallel();
|
624
|
+
registerColumnPercent();
|
422
625
|
registerBar();
|
626
|
+
registerBarParallel();
|
627
|
+
registerBarPercent();
|
628
|
+
registerArea();
|
629
|
+
registerAreaPercent();
|
423
630
|
};
|
424
631
|
const registerColumn = ()=>{
|
425
632
|
Builder._advancedPipelineMap.column = columnAdvancedPipeline;
|
@@ -429,6 +636,34 @@ const registerBar = ()=>{
|
|
429
636
|
Builder._advancedPipelineMap.bar = barAdvancedPipeline;
|
430
637
|
Builder._specPipelineMap.bar = barSpecPipeline;
|
431
638
|
};
|
639
|
+
const registerLine = ()=>{
|
640
|
+
Builder._advancedPipelineMap.line = lineAdvancedPipeline;
|
641
|
+
Builder._specPipelineMap.line = lineSpecPipeline;
|
642
|
+
};
|
643
|
+
const registerArea = ()=>{
|
644
|
+
Builder._advancedPipelineMap.area = areaAdvancedPipeline;
|
645
|
+
Builder._specPipelineMap.area = areaSpecPipeline;
|
646
|
+
};
|
647
|
+
const registerAreaPercent = ()=>{
|
648
|
+
Builder._advancedPipelineMap.areaPercent = areaPercentAdvancedPipeline;
|
649
|
+
Builder._specPipelineMap.areaPercent = areaPercentSpecPipeline;
|
650
|
+
};
|
651
|
+
const registerBarPercent = ()=>{
|
652
|
+
Builder._advancedPipelineMap.barPercent = barPercentAdvancedPipeline;
|
653
|
+
Builder._specPipelineMap.barPercent = barPercentSpecPipeline;
|
654
|
+
};
|
655
|
+
const registerColumnPercent = ()=>{
|
656
|
+
Builder._advancedPipelineMap.columnPercent = columnPercentAdvancedPipeline;
|
657
|
+
Builder._specPipelineMap.columnPercent = columnPercentSpecPipeline;
|
658
|
+
};
|
659
|
+
const registerColumnParallel = ()=>{
|
660
|
+
Builder._advancedPipelineMap.columnParallel = columnParallelAdvancedPipeline;
|
661
|
+
Builder._specPipelineMap.columnParallel = columnParallelSpecPipeline;
|
662
|
+
};
|
663
|
+
const registerBarParallel = ()=>{
|
664
|
+
Builder._advancedPipelineMap.barParallel = barParallelAdvancedPipeline;
|
665
|
+
Builder._specPipelineMap.barParallel = barParallelSpecPipeline;
|
666
|
+
};
|
432
667
|
const zChartType = z["enum"]([
|
433
668
|
'table',
|
434
669
|
'pivotTable',
|
@@ -530,4 +765,4 @@ const zAdvancedVSeed = z.object({
|
|
530
765
|
measures: zMeasures,
|
531
766
|
encoding: zEncoding
|
532
767
|
});
|
533
|
-
export { Builder, VSeedJSONSchema, barAdvancedPipeline, barSpecPipeline, columnAdvancedPipeline, columnSpecPipeline, dataReshapeFor1D1M_dataReshapeFor1D1M as dataReshapeFor1D1M, dataReshapeFor2D1M, execPipeline, foldMeasures, registerAll, registerBar, registerColumn, unfoldDimensions, zAdvancedVSeed, zChartType, zDataset, zDatasetReshapeInfo, zDatum, zDimension, zDimensions, zEncoding, zFoldInfo, zMeasure, zMeasureGroup, zMeasures, zUnfoldInfo, zVSeed };
|
768
|
+
export { Builder, VSeedJSONSchema, areaAdvancedPipeline, areaPercentAdvancedPipeline, areaPercentSpecPipeline, areaSpecPipeline, barAdvancedPipeline, barParallelAdvancedPipeline, barParallelSpecPipeline, barPercentAdvancedPipeline, barPercentSpecPipeline, barSpecPipeline, columnAdvancedPipeline, columnParallelAdvancedPipeline, columnParallelSpecPipeline, columnPercentAdvancedPipeline, columnPercentSpecPipeline, columnSpecPipeline, dataReshapeFor1D1M_dataReshapeFor1D1M as dataReshapeFor1D1M, dataReshapeFor2D1M, execPipeline, foldMeasures, lineAdvancedPipeline, lineSpecPipeline, registerAll, registerBar, registerColumn, unfoldDimensions, zAdvancedVSeed, zChartType, zDataset, zDatasetReshapeInfo, zDatum, zDimension, zDimensions, zEncoding, zFoldInfo, zMeasure, zMeasureGroup, zMeasures, zUnfoldInfo, zVSeed };
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import type { AdvancedPipeline } from '
|
1
|
+
import type { AdvancedPipeline } from 'src/types';
|
2
2
|
export declare const barAdvancedPipeline: AdvancedPipeline;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import type { AdvancedPipeline } from '
|
1
|
+
import type { AdvancedPipeline } from 'src/types';
|
2
2
|
export declare const columnAdvancedPipeline: AdvancedPipeline;
|
@@ -1,2 +1,9 @@
|
|
1
|
+
export { lineAdvancedPipeline } from './line';
|
1
2
|
export { barAdvancedPipeline } from './bar';
|
3
|
+
export { barParallelAdvancedPipeline } from './barParallel';
|
4
|
+
export { barPercentAdvancedPipeline } from './barPercent';
|
2
5
|
export { columnAdvancedPipeline } from './column';
|
6
|
+
export { columnParallelAdvancedPipeline } from './columnParallel';
|
7
|
+
export { columnPercentAdvancedPipeline } from './columnPercent';
|
8
|
+
export { areaAdvancedPipeline } from './area';
|
9
|
+
export { areaPercentAdvancedPipeline } from './areaPercent';
|
@@ -1,2 +1,3 @@
|
|
1
|
-
import type { AdvancedPipe } from '
|
2
|
-
export declare const
|
1
|
+
import type { AdvancedPipe } from 'src/types';
|
2
|
+
export declare const encodingXY: AdvancedPipe;
|
3
|
+
export declare const encodingYX: AdvancedPipe;
|
@@ -1 +1 @@
|
|
1
|
-
export {
|
1
|
+
export { encodingXY, encodingYX } from './encodingCartesian';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { initAdvancedVSeed } from './initAdvancedVSeed';
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import type { SpecPipeline } from '
|
1
|
+
import type { SpecPipeline } from 'src/types';
|
2
2
|
export declare const barSpecPipeline: SpecPipeline;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import type { SpecPipeline } from '
|
1
|
+
import type { SpecPipeline } from 'src/types';
|
2
2
|
export declare const columnSpecPipeline: SpecPipeline;
|
@@ -1,2 +1,9 @@
|
|
1
|
+
export { lineSpecPipeline } from './line';
|
1
2
|
export { columnSpecPipeline } from './column';
|
3
|
+
export { columnParallelSpecPipeline } from './columnParallel';
|
4
|
+
export { columnPercentSpecPipeline } from './columnPercent';
|
2
5
|
export { barSpecPipeline } from './bar';
|
6
|
+
export { barParallelSpecPipeline } from './barParallel';
|
7
|
+
export { barPercentSpecPipeline } from './barPercent';
|
8
|
+
export { areaSpecPipeline } from './area';
|
9
|
+
export { areaPercentSpecPipeline } from './areaPercent';
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import type { SpecPipe } from '
|
1
|
+
import type { SpecPipe } from 'src/types';
|
2
2
|
export declare const xBand: SpecPipe;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import type { SpecPipe } from '
|
1
|
+
import type { SpecPipe } from 'src/types';
|
2
2
|
export declare const xLinear: SpecPipe;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import type { SpecPipe } from '
|
1
|
+
import type { SpecPipe } from 'src/types';
|
2
2
|
export declare const yBand: SpecPipe;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import type { SpecPipe } from '
|
1
|
+
import type { SpecPipe } from 'src/types';
|
2
2
|
export declare const yLinear: SpecPipe;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import type { SpecPipe } from '
|
1
|
+
import type { SpecPipe } from 'src/types';
|
2
2
|
export declare const dataset: SpecPipe;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import type { SpecPipe } from '
|
1
|
+
import type { SpecPipe } from 'src/types';
|
2
2
|
export declare const initBar: SpecPipe;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import type { SpecPipe } from '
|
1
|
+
import type { SpecPipe } from 'src/types';
|
2
2
|
export declare const initColumn: SpecPipe;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { percent } from './percent';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { stack } from './stack';
|