@visactor/vseed 0.1.39 → 0.1.41

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.
Files changed (110) hide show
  1. package/dist/cjs/index.cjs +3 -3
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/esm/builder/builder/builder.d.ts +3028 -286
  4. package/dist/esm/pipeline/advanced/chart/pipeline/column.js +3 -2
  5. package/dist/esm/pipeline/advanced/chart/pipeline/column.js.map +1 -1
  6. package/dist/esm/pipeline/advanced/chart/pipeline/scatter.js +3 -2
  7. package/dist/esm/pipeline/advanced/chart/pipeline/scatter.js.map +1 -1
  8. package/dist/esm/pipeline/advanced/chart/pipes/regressionLine/regressionLine.js +28 -1
  9. package/dist/esm/pipeline/advanced/chart/pipes/regressionLine/regressionLine.js.map +1 -1
  10. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js +0 -1
  11. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js.map +1 -1
  12. package/dist/esm/pipeline/spec/chart/pipeline/column.js +5 -3
  13. package/dist/esm/pipeline/spec/chart/pipeline/column.js.map +1 -1
  14. package/dist/esm/pipeline/spec/chart/pipeline/histogram.js +5 -3
  15. package/dist/esm/pipeline/spec/chart/pipeline/histogram.js.map +1 -1
  16. package/dist/esm/pipeline/spec/chart/pipeline/scatter.js +9 -3
  17. package/dist/esm/pipeline/spec/chart/pipeline/scatter.js.map +1 -1
  18. package/dist/esm/pipeline/spec/chart/pipes/init/pivot.js +7 -2
  19. package/dist/esm/pipeline/spec/chart/pipes/init/pivot.js.map +1 -1
  20. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js +3 -0
  21. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js.map +1 -1
  22. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.d.ts +2 -0
  23. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js +150 -0
  24. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js.map +1 -0
  25. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.d.ts +4 -0
  26. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.js +21 -0
  27. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.js.map +1 -0
  28. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.d.ts +2 -0
  29. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js +98 -0
  30. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js.map +1 -0
  31. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/index.d.ts +4 -1
  32. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/index.js +4 -1
  33. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.d.ts +2 -0
  34. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js +98 -0
  35. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js.map +1 -0
  36. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.d.ts +16 -0
  37. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js +159 -0
  38. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js.map +1 -0
  39. package/dist/esm/theme/common/regressionLine.d.ts +8 -4
  40. package/dist/esm/theme/common/regressionLine.js +60 -8
  41. package/dist/esm/theme/common/regressionLine.js.map +1 -1
  42. package/dist/esm/theme/dark/dark.js +6 -4
  43. package/dist/esm/theme/dark/dark.js.map +1 -1
  44. package/dist/esm/theme/light/light.js +6 -4
  45. package/dist/esm/theme/light/light.js.map +1 -1
  46. package/dist/esm/types/advancedVSeed.d.ts +988 -37
  47. package/dist/esm/types/advancedVSeed.js +2 -2
  48. package/dist/esm/types/advancedVSeed.js.map +1 -1
  49. package/dist/esm/types/chartType/column/column.d.ts +6 -1
  50. package/dist/esm/types/chartType/column/zColumn.d.ts +25 -0
  51. package/dist/esm/types/chartType/column/zColumn.js +2 -1
  52. package/dist/esm/types/chartType/column/zColumn.js.map +1 -1
  53. package/dist/esm/types/chartType/histogram/histogram.d.ts +7 -3
  54. package/dist/esm/types/chartType/histogram/zHistogram.d.ts +19 -4
  55. package/dist/esm/types/chartType/histogram/zHistogram.js +3 -2
  56. package/dist/esm/types/chartType/histogram/zHistogram.js.map +1 -1
  57. package/dist/esm/types/chartType/scatter/scatter.d.ts +21 -1
  58. package/dist/esm/types/chartType/scatter/zScatter.d.ts +94 -0
  59. package/dist/esm/types/chartType/scatter/zScatter.js +5 -1
  60. package/dist/esm/types/chartType/scatter/zScatter.js.map +1 -1
  61. package/dist/esm/types/properties/config/area.d.ts +4 -0
  62. package/dist/esm/types/properties/config/bar.d.ts +6 -0
  63. package/dist/esm/types/properties/config/boxplot.d.ts +2 -0
  64. package/dist/esm/types/properties/config/column.d.ts +138 -2
  65. package/dist/esm/types/properties/config/column.js +6 -3
  66. package/dist/esm/types/properties/config/column.js.map +1 -1
  67. package/dist/esm/types/properties/config/config.d.ts +429 -9
  68. package/dist/esm/types/properties/config/dualAxis.d.ts +2 -0
  69. package/dist/esm/types/properties/config/funnel.d.ts +2 -0
  70. package/dist/esm/types/properties/config/heatmap.d.ts +2 -0
  71. package/dist/esm/types/properties/config/histogram.d.ts +131 -9
  72. package/dist/esm/types/properties/config/histogram.js +2 -2
  73. package/dist/esm/types/properties/config/histogram.js.map +1 -1
  74. package/dist/esm/types/properties/config/line.d.ts +2 -0
  75. package/dist/esm/types/properties/config/pie.d.ts +6 -0
  76. package/dist/esm/types/properties/config/pivotGrid/pivotGrid.d.ts +2 -0
  77. package/dist/esm/types/properties/config/pivotGrid/pivotGrid.js +3 -1
  78. package/dist/esm/types/properties/config/pivotGrid/pivotGrid.js.map +1 -1
  79. package/dist/esm/types/properties/config/rose.d.ts +4 -0
  80. package/dist/esm/types/properties/config/scatter.d.ts +132 -0
  81. package/dist/esm/types/properties/config/scatter.js +3 -1
  82. package/dist/esm/types/properties/config/scatter.js.map +1 -1
  83. package/dist/esm/types/properties/regressionLine/{histogramRegressionLine.d.ts → ecdfRegressionLine.d.ts} +2 -7
  84. package/dist/esm/types/properties/regressionLine/index.d.ts +7 -2
  85. package/dist/esm/types/properties/regressionLine/index.js +1 -1
  86. package/dist/esm/types/properties/regressionLine/kdeRegressionLine.d.ts +40 -0
  87. package/dist/esm/types/properties/regressionLine/kdeRegressionLine.js +0 -0
  88. package/dist/esm/types/properties/regressionLine/linearRegressionLine.d.ts +53 -0
  89. package/dist/esm/types/properties/regressionLine/linearRegressionLine.js +0 -0
  90. package/dist/esm/types/properties/regressionLine/logisticRegressionLine.d.ts +53 -0
  91. package/dist/esm/types/properties/regressionLine/logisticRegressionLine.js +0 -0
  92. package/dist/esm/types/properties/regressionLine/lowessRegressionLine.d.ts +53 -0
  93. package/dist/esm/types/properties/regressionLine/lowessRegressionLine.js +0 -0
  94. package/dist/esm/types/properties/regressionLine/polynomialRegressionLine.d.ts +57 -0
  95. package/dist/esm/types/properties/regressionLine/polynomialRegressionLine.js +0 -0
  96. package/dist/esm/types/properties/regressionLine/zRegressionLine.d.ts +199 -0
  97. package/dist/esm/types/properties/regressionLine/zRegressionLine.js +32 -0
  98. package/dist/esm/types/properties/regressionLine/zRegressionLine.js.map +1 -0
  99. package/dist/esm/types/properties/theme/customTheme.d.ts +858 -18
  100. package/dist/esm/types/zVseed.d.ts +138 -4
  101. package/dist/umd/index.js +1156 -134
  102. package/dist/umd/index.js.map +1 -1
  103. package/package.json +1 -1
  104. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/histogramRegressionLine.d.ts +0 -2
  105. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/histogramRegressionLine.js +0 -126
  106. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/histogramRegressionLine.js.map +0 -1
  107. package/dist/esm/types/properties/regressionLine/zHistogramRegressionLine.d.ts +0 -11
  108. package/dist/esm/types/properties/regressionLine/zHistogramRegressionLine.js +0 -17
  109. package/dist/esm/types/properties/regressionLine/zHistogramRegressionLine.js.map +0 -1
  110. /package/dist/esm/types/properties/regressionLine/{histogramRegressionLine.js → ecdfRegressionLine.js} +0 -0
@@ -236,6 +236,8 @@ export declare const zHistogramConfig: z.ZodObject<{
236
236
  hoverHeaderInlineBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
237
237
  outlineBorderLineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
238
238
  frameCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
239
+ minChartWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
240
+ minChartHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
239
241
  }, z.core.$strip>>>;
240
242
  annotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
241
243
  annotationPoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -325,15 +327,135 @@ export declare const zHistogramConfig: z.ZodObject<{
325
327
  binCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
326
328
  binStep: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
327
329
  binValueType: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"count">, z.ZodLiteral<"percentage">]>>>;
328
- histogramRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodObject<{
329
- type: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"kde">, z.ZodLiteral<"ecdf">]>>>;
330
- color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
331
- lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
332
- lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
333
- text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
334
- textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
335
- textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
336
- textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
330
+ regressionLine: z.ZodOptional<z.ZodNullable<z.ZodObject<{
331
+ ecdfRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
332
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
333
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
334
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
335
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
336
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
337
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
338
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
339
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
340
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
341
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
342
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
343
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
344
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
345
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
346
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
347
+ }, z.core.$strip>>]>>>;
348
+ kdeRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
349
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
350
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
351
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
352
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
353
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
354
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
355
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
356
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
357
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
358
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
359
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
360
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
361
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
362
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
363
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
364
+ }, z.core.$strip>>]>>>;
365
+ linearRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
366
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
367
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
368
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
369
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
370
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
371
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
372
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
373
+ confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
374
+ confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
375
+ confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
376
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
377
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
378
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
379
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
380
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
381
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
382
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
383
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
384
+ confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
385
+ confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
386
+ confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
387
+ }, z.core.$strip>>]>>>;
388
+ lowessRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
389
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
390
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
391
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
392
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
393
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
394
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
395
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
396
+ confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
397
+ confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
398
+ confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
399
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
400
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
401
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
402
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
403
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
404
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
405
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
406
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
407
+ confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
408
+ confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
409
+ confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
410
+ }, z.core.$strip>>]>>>;
411
+ polynomialRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
412
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
413
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
414
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
415
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
416
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
417
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
418
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
419
+ confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
420
+ confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
421
+ confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
422
+ degree: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
423
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
424
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
425
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
426
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
427
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
428
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
429
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
430
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
431
+ confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
432
+ confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
433
+ confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
434
+ degree: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
435
+ }, z.core.$strip>>]>>>;
436
+ logisticRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
437
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
438
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
439
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
440
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
441
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
442
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
443
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
444
+ confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
445
+ confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
446
+ confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
447
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
448
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
449
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
450
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
451
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
452
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
453
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
454
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
455
+ confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
456
+ confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
457
+ confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
458
+ }, z.core.$strip>>]>>>;
337
459
  }, z.core.$strip>>>;
338
460
  }, z.core.$strip>;
339
461
  export type HistogramConfig = z.infer<typeof zHistogramConfig>;
@@ -9,7 +9,7 @@ import { zLegend } from "./legend/legend.js";
9
9
  import { zTooltip } from "./tooltip/tooltip.js";
10
10
  import { zAnnotationConfig } from "./annotation/zAnnotaion.js";
11
11
  import { zPivotChartGridConfig } from "./pivotGrid/index.js";
12
- import { zHistogramRegressionLine } from "../regressionLine/index.js";
12
+ import { zRegressionLine } from "../regressionLine/index.js";
13
13
  const zHistogramConfig = z.object({
14
14
  backgroundColor: zBackgroundColor.nullish(),
15
15
  label: zLabel.nullish(),
@@ -25,7 +25,7 @@ const zHistogramConfig = z.object({
25
25
  binCount: z.number().positive().nullish(),
26
26
  binStep: z.number().positive().nullish(),
27
27
  binValueType: z.literal('count').or(z.literal('percentage')).nullish(),
28
- histogramRegressionLine: zHistogramRegressionLine.nullish()
28
+ regressionLine: zRegressionLine.nullish()
29
29
  });
30
30
  export { zHistogramConfig };
31
31
 
@@ -1 +1 @@
1
- {"version":3,"file":"types/properties/config/histogram.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/histogram.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zXBandAxis, zYLinearAxis } from './axes'\nimport { zCrosshairRect } from './crosshair'\nimport { zStackCornerRadius } from './stackCornerRadius/stackCornerRadius'\nimport { zBackgroundColor } from './backgroundColor/backgroundColor'\nimport { zColor } from './color/color'\nimport { zLabel } from './label'\nimport { zLegend } from './legend/legend'\nimport { zTooltip } from './tooltip/tooltip'\nimport { zAnnotationConfig } from './annotation/zAnnotaion'\nimport { zPivotChartGridConfig } from './pivotGrid'\nimport { zHistogramRegressionLine } from '../regressionLine'\n\nexport const zHistogramConfig = z.object({\n backgroundColor: zBackgroundColor.nullish(),\n label: zLabel.nullish(),\n color: zColor.nullish(),\n tooltip: zTooltip.nullish(),\n legend: zLegend.nullish(),\n\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n pivotGrid: zPivotChartGridConfig.nullish(),\n annotation: zAnnotationConfig.nullish(),\n binCount: z.number().positive().nullish(),\n binStep: z.number().positive().nullish(),\n binValueType: z.literal('count').or(z.literal('percentage')).nullish(),\n histogramRegressionLine: zHistogramRegressionLine.nullish(),\n})\n\nexport type HistogramConfig = z.infer<typeof zHistogramConfig>\n"],"names":["zHistogramConfig","z","zBackgroundColor","zLabel","zColor","zTooltip","zLegend","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zPivotChartGridConfig","zAnnotationConfig","zHistogramRegressionLine"],"mappings":";;;;;;;;;;;;AAaO,MAAMA,mBAAmBC,EAAE,MAAM,CAAC;IACvC,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,SAASC,SAAS,OAAO;IACzB,QAAQC,QAAQ,OAAO;IAEvB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,WAAWC,sBAAsB,OAAO;IACxC,YAAYC,kBAAkB,OAAO;IACrC,UAAUX,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO;IACvC,SAASA,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO;IACtC,cAAcA,EAAE,OAAO,CAAC,SAAS,EAAE,CAACA,EAAE,OAAO,CAAC,eAAe,OAAO;IACpE,yBAAyBY,yBAAyB,OAAO;AAC3D"}
1
+ {"version":3,"file":"types/properties/config/histogram.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/histogram.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zXBandAxis, zYLinearAxis } from './axes'\nimport { zCrosshairRect } from './crosshair'\nimport { zStackCornerRadius } from './stackCornerRadius/stackCornerRadius'\nimport { zBackgroundColor } from './backgroundColor/backgroundColor'\nimport { zColor } from './color/color'\nimport { zLabel } from './label'\nimport { zLegend } from './legend/legend'\nimport { zTooltip } from './tooltip/tooltip'\nimport { zAnnotationConfig } from './annotation/zAnnotaion'\nimport { zPivotChartGridConfig } from './pivotGrid'\nimport { zRegressionLine } from '../regressionLine'\n\nexport const zHistogramConfig = z.object({\n backgroundColor: zBackgroundColor.nullish(),\n label: zLabel.nullish(),\n color: zColor.nullish(),\n tooltip: zTooltip.nullish(),\n legend: zLegend.nullish(),\n\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n pivotGrid: zPivotChartGridConfig.nullish(),\n annotation: zAnnotationConfig.nullish(),\n binCount: z.number().positive().nullish(),\n binStep: z.number().positive().nullish(),\n binValueType: z.literal('count').or(z.literal('percentage')).nullish(),\n regressionLine: zRegressionLine.nullish(),\n})\n\nexport type HistogramConfig = z.infer<typeof zHistogramConfig>\n"],"names":["zHistogramConfig","z","zBackgroundColor","zLabel","zColor","zTooltip","zLegend","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zPivotChartGridConfig","zAnnotationConfig","zRegressionLine"],"mappings":";;;;;;;;;;;;AAaO,MAAMA,mBAAmBC,EAAE,MAAM,CAAC;IACvC,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,SAASC,SAAS,OAAO;IACzB,QAAQC,QAAQ,OAAO;IAEvB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,WAAWC,sBAAsB,OAAO;IACxC,YAAYC,kBAAkB,OAAO;IACrC,UAAUX,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO;IACvC,SAASA,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO;IACtC,cAAcA,EAAE,OAAO,CAAC,SAAS,EAAE,CAACA,EAAE,OAAO,CAAC,eAAe,OAAO;IACpE,gBAAgBY,gBAAgB,OAAO;AACzC"}
@@ -236,6 +236,8 @@ export declare const zLineConfig: z.ZodObject<{
236
236
  hoverHeaderInlineBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
237
237
  outlineBorderLineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
238
238
  frameCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
239
+ minChartWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
240
+ minChartHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
239
241
  }, z.core.$strip>>>;
240
242
  annotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
241
243
  annotationPoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -118,6 +118,8 @@ export declare const zPieConfig: z.ZodObject<{
118
118
  hoverHeaderInlineBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
119
119
  outlineBorderLineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
120
120
  frameCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
121
+ minChartWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
122
+ minChartHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
121
123
  }, z.core.$strip>>>;
122
124
  cornerRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
123
125
  }, z.core.$strip>;
@@ -240,6 +242,8 @@ export declare const zDonutConfig: z.ZodObject<{
240
242
  hoverHeaderInlineBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
241
243
  outlineBorderLineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
242
244
  frameCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
245
+ minChartWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
246
+ minChartHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
243
247
  }, z.core.$strip>>>;
244
248
  cornerRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
245
249
  }, z.core.$strip>;
@@ -362,6 +366,8 @@ export declare const zRadarConfig: z.ZodObject<{
362
366
  hoverHeaderInlineBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
363
367
  outlineBorderLineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
364
368
  frameCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
369
+ minChartWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
370
+ minChartHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
365
371
  }, z.core.$strip>>>;
366
372
  cornerRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
367
373
  }, z.core.$strip>;
@@ -8,5 +8,7 @@ export declare const zPivotChartGridConfig: z.ZodObject<{
8
8
  hoverHeaderInlineBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  outlineBorderLineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
10
  frameCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ minChartWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ minChartHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
13
  }, z.core.$strip>;
12
14
  export type PivotChartGridConfig = z.infer<typeof zPivotChartGridConfig>;
@@ -7,7 +7,9 @@ const zPivotChartGridConfig = z.object({
7
7
  hoverHeaderBackgroundColor: z.string().nullish(),
8
8
  hoverHeaderInlineBackgroundColor: z.string().nullish(),
9
9
  outlineBorderLineWidth: z.number().nullish(),
10
- frameCornerRadius: z.number().nullish()
10
+ frameCornerRadius: z.number().nullish(),
11
+ minChartWidth: z.number().nullish(),
12
+ minChartHeight: z.number().nullish()
11
13
  });
12
14
  export { zPivotChartGridConfig };
13
15
 
@@ -1 +1 @@
1
- {"version":3,"file":"types/properties/config/pivotGrid/pivotGrid.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/pivotGrid/pivotGrid.ts"],"sourcesContent":["import { z } from 'zod'\n\nexport const zPivotChartGridConfig = z.object({\n borderColor: z.string().nullish(),\n bodyFontColor: z.string().nullish(),\n headerFontColor: z.string().nullish(),\n headerBackgroundColor: z.string().nullish(),\n hoverHeaderBackgroundColor: z.string().nullish(),\n hoverHeaderInlineBackgroundColor: z.string().nullish(),\n outlineBorderLineWidth: z.number().nullish(),\n frameCornerRadius: z.number().nullish(),\n})\n\nexport type PivotChartGridConfig = z.infer<typeof zPivotChartGridConfig>\n"],"names":["zPivotChartGridConfig","z"],"mappings":";AAEO,MAAMA,wBAAwBC,EAAE,MAAM,CAAC;IAC5C,aAAaA,EAAE,MAAM,GAAG,OAAO;IAC/B,eAAeA,EAAE,MAAM,GAAG,OAAO;IACjC,iBAAiBA,EAAE,MAAM,GAAG,OAAO;IACnC,uBAAuBA,EAAE,MAAM,GAAG,OAAO;IACzC,4BAA4BA,EAAE,MAAM,GAAG,OAAO;IAC9C,kCAAkCA,EAAE,MAAM,GAAG,OAAO;IACpD,wBAAwBA,EAAE,MAAM,GAAG,OAAO;IAC1C,mBAAmBA,EAAE,MAAM,GAAG,OAAO;AACvC"}
1
+ {"version":3,"file":"types/properties/config/pivotGrid/pivotGrid.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/pivotGrid/pivotGrid.ts"],"sourcesContent":["import { z } from 'zod'\n\nexport const zPivotChartGridConfig = z.object({\n borderColor: z.string().nullish(),\n bodyFontColor: z.string().nullish(),\n headerFontColor: z.string().nullish(),\n headerBackgroundColor: z.string().nullish(),\n hoverHeaderBackgroundColor: z.string().nullish(),\n hoverHeaderInlineBackgroundColor: z.string().nullish(),\n outlineBorderLineWidth: z.number().nullish(),\n frameCornerRadius: z.number().nullish(),\n minChartWidth: z.number().nullish(),\n minChartHeight: z.number().nullish(),\n})\n\nexport type PivotChartGridConfig = z.infer<typeof zPivotChartGridConfig>\n"],"names":["zPivotChartGridConfig","z"],"mappings":";AAEO,MAAMA,wBAAwBC,EAAE,MAAM,CAAC;IAC5C,aAAaA,EAAE,MAAM,GAAG,OAAO;IAC/B,eAAeA,EAAE,MAAM,GAAG,OAAO;IACjC,iBAAiBA,EAAE,MAAM,GAAG,OAAO;IACnC,uBAAuBA,EAAE,MAAM,GAAG,OAAO;IACzC,4BAA4BA,EAAE,MAAM,GAAG,OAAO;IAC9C,kCAAkCA,EAAE,MAAM,GAAG,OAAO;IACpD,wBAAwBA,EAAE,MAAM,GAAG,OAAO;IAC1C,mBAAmBA,EAAE,MAAM,GAAG,OAAO;IACrC,eAAeA,EAAE,MAAM,GAAG,OAAO;IACjC,gBAAgBA,EAAE,MAAM,GAAG,OAAO;AACpC"}
@@ -118,6 +118,8 @@ export declare const zRoseConfig: z.ZodObject<{
118
118
  hoverHeaderInlineBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
119
119
  outlineBorderLineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
120
120
  frameCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
121
+ minChartWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
122
+ minChartHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
121
123
  }, z.core.$strip>>>;
122
124
  }, z.core.$strip>;
123
125
  export declare const zRoseParallelConfig: z.ZodObject<{
@@ -239,6 +241,8 @@ export declare const zRoseParallelConfig: z.ZodObject<{
239
241
  hoverHeaderInlineBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
240
242
  outlineBorderLineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
241
243
  frameCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
244
+ minChartWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
245
+ minChartHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
242
246
  }, z.core.$strip>>>;
243
247
  }, z.core.$strip>;
244
248
  export type RoseConfig = z.infer<typeof zRoseConfig>;
@@ -269,6 +269,8 @@ export declare const zScatterConfig: z.ZodObject<{
269
269
  hoverHeaderInlineBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
270
270
  outlineBorderLineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
271
271
  frameCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
272
+ minChartWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
273
+ minChartHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
272
274
  }, z.core.$strip>>>;
273
275
  annotation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
274
276
  annotationPoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -355,5 +357,135 @@ export declare const zScatterConfig: z.ZodObject<{
355
357
  outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
356
358
  }, z.core.$strip>>>;
357
359
  }, z.core.$strip>>>;
360
+ regressionLine: z.ZodOptional<z.ZodNullable<z.ZodObject<{
361
+ ecdfRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
362
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
363
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
364
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
365
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
366
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
367
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
368
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
369
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
370
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
371
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
372
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
373
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
374
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
375
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
376
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
377
+ }, z.core.$strip>>]>>>;
378
+ kdeRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
379
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
380
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
381
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
382
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
383
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
384
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
385
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
386
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
387
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
388
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
389
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
390
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
391
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
392
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
393
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
394
+ }, z.core.$strip>>]>>>;
395
+ linearRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
396
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
397
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
398
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
399
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
400
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
401
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
402
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
403
+ confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
404
+ confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
405
+ confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
406
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
407
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
408
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
409
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
410
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
411
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
412
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
413
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
414
+ confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
415
+ confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
416
+ confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
417
+ }, z.core.$strip>>]>>>;
418
+ lowessRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
419
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
420
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
421
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
422
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
423
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
424
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
425
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
426
+ confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
427
+ confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
428
+ confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
429
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
430
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
431
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
432
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
433
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
434
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
435
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
436
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
437
+ confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
438
+ confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
439
+ confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
440
+ }, z.core.$strip>>]>>>;
441
+ polynomialRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
442
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
443
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
444
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
445
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
446
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
447
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
448
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
449
+ confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
450
+ confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
451
+ confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
452
+ degree: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
453
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
454
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
455
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
456
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
457
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
458
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
459
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
460
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
461
+ confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
462
+ confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
463
+ confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
464
+ degree: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
465
+ }, z.core.$strip>>]>>>;
466
+ logisticRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
467
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
468
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
469
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
470
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
471
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
472
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
473
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
474
+ confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
475
+ confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
476
+ confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
477
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
478
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
479
+ lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
480
+ lineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
481
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
482
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
483
+ textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
484
+ textFontWeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
485
+ confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
486
+ confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
487
+ confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
488
+ }, z.core.$strip>>]>>>;
489
+ }, z.core.$strip>>>;
358
490
  }, z.core.$strip>;
359
491
  export type ScatterConfig = z.infer<typeof zScatterConfig>;
@@ -8,6 +8,7 @@ import { zLegend } from "./legend/legend.js";
8
8
  import { zTooltip } from "./tooltip/tooltip.js";
9
9
  import { zAnnotationConfig } from "./annotation/zAnnotaion.js";
10
10
  import { zPivotChartGridConfig } from "./pivotGrid/index.js";
11
+ import { zRegressionLine } from "../regressionLine/zRegressionLine.js";
11
12
  const zScatterConfig = z.object({
12
13
  backgroundColor: zBackgroundColor.nullish(),
13
14
  label: zLabel.nullish(),
@@ -20,7 +21,8 @@ const zScatterConfig = z.object({
20
21
  size: z.number().or(z.array(z.number())).nullish(),
21
22
  sizeRange: z.number().or(z.array(z.number())).nullish(),
22
23
  pivotGrid: zPivotChartGridConfig.nullish(),
23
- annotation: zAnnotationConfig.nullish()
24
+ annotation: zAnnotationConfig.nullish(),
25
+ regressionLine: zRegressionLine.nullish()
24
26
  });
25
27
  export { zScatterConfig };
26
28
 
@@ -1 +1 @@
1
- {"version":3,"file":"types/properties/config/scatter.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/scatter.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zXLinearAxis, zYLinearAxis } from './axes'\nimport { zCrosshairLine } from './crosshair'\nimport { zBackgroundColor } from './backgroundColor/backgroundColor'\nimport { zColor } from './color/color'\nimport { zLabel } from './label'\nimport { zLegend } from './legend/legend'\nimport { zTooltip } from './tooltip/tooltip'\nimport { zAnnotationConfig } from './annotation/zAnnotaion'\nimport { zPivotChartGridConfig } from './pivotGrid'\n\nexport const zScatterConfig = z.object({\n backgroundColor: zBackgroundColor.nullish(),\n label: zLabel.nullish(),\n color: zColor.nullish(),\n tooltip: zTooltip.nullish(),\n legend: zLegend.nullish(),\n\n xAxis: zXLinearAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairLine: zCrosshairLine.nullish(),\n size: z.number().or(z.array(z.number())).nullish(),\n sizeRange: z.number().or(z.array(z.number())).nullish(),\n pivotGrid: zPivotChartGridConfig.nullish(),\n annotation: zAnnotationConfig.nullish(),\n})\n\nexport type ScatterConfig = z.infer<typeof zScatterConfig>\n"],"names":["zScatterConfig","z","zBackgroundColor","zLabel","zColor","zTooltip","zLegend","zXLinearAxis","zYLinearAxis","zCrosshairLine","zPivotChartGridConfig","zAnnotationConfig"],"mappings":";;;;;;;;;;AAWO,MAAMA,iBAAiBC,EAAE,MAAM,CAAC;IACrC,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,SAASC,SAAS,OAAO;IACzB,QAAQC,QAAQ,OAAO;IAEvB,OAAOC,aAAa,OAAO;IAC3B,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,MAAMR,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IAChD,WAAWA,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IACrD,WAAWS,sBAAsB,OAAO;IACxC,YAAYC,kBAAkB,OAAO;AACvC"}
1
+ {"version":3,"file":"types/properties/config/scatter.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/scatter.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zXLinearAxis, zYLinearAxis } from './axes'\nimport { zCrosshairLine } from './crosshair'\nimport { zBackgroundColor } from './backgroundColor/backgroundColor'\nimport { zColor } from './color/color'\nimport { zLabel } from './label'\nimport { zLegend } from './legend/legend'\nimport { zTooltip } from './tooltip/tooltip'\nimport { zAnnotationConfig } from './annotation/zAnnotaion'\nimport { zPivotChartGridConfig } from './pivotGrid'\nimport { zRegressionLine } from '../regressionLine/zRegressionLine'\n\nexport const zScatterConfig = z.object({\n backgroundColor: zBackgroundColor.nullish(),\n label: zLabel.nullish(),\n color: zColor.nullish(),\n tooltip: zTooltip.nullish(),\n legend: zLegend.nullish(),\n\n xAxis: zXLinearAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairLine: zCrosshairLine.nullish(),\n size: z.number().or(z.array(z.number())).nullish(),\n sizeRange: z.number().or(z.array(z.number())).nullish(),\n pivotGrid: zPivotChartGridConfig.nullish(),\n annotation: zAnnotationConfig.nullish(),\n regressionLine: zRegressionLine.nullish(),\n})\n\nexport type ScatterConfig = z.infer<typeof zScatterConfig>\n"],"names":["zScatterConfig","z","zBackgroundColor","zLabel","zColor","zTooltip","zLegend","zXLinearAxis","zYLinearAxis","zCrosshairLine","zPivotChartGridConfig","zAnnotationConfig","zRegressionLine"],"mappings":";;;;;;;;;;;AAYO,MAAMA,iBAAiBC,EAAE,MAAM,CAAC;IACrC,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,SAASC,SAAS,OAAO;IACzB,QAAQC,QAAQ,OAAO;IAEvB,OAAOC,aAAa,OAAO;IAC3B,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,MAAMR,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IAChD,WAAWA,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IACrD,WAAWS,sBAAsB,OAAO;IACxC,YAAYC,kBAAkB,OAAO;IACrC,gBAAgBC,gBAAgB,OAAO;AACzC"}
@@ -1,12 +1,7 @@
1
1
  /**
2
- * @description 直方图回归线配置项
2
+ * @description 经验累积分布函数回归线配置项
3
3
  */
4
- export interface HistogramRegressionLine {
5
- /**
6
- * @description 回归线类型
7
- * 'kde'表示核密度估计回归线,'ecdf'表示经验累积分布函数回归线
8
- */
9
- type: 'kde' | 'ecdf';
4
+ export interface EcdfRegressionLine {
10
5
  /**
11
6
  * @description 回归线颜色
12
7
  * 用于设置回归线的颜色,如果不设置,默认使用图表的主颜色
@@ -1,2 +1,7 @@
1
- export * from './zHistogramRegressionLine';
2
- export type * from './histogramRegressionLine';
1
+ export type * from './kdeRegressionLine';
2
+ export type * from './ecdfRegressionLine';
3
+ export type * from './lowessRegressionLine';
4
+ export type * from './polynomialRegressionLine';
5
+ export type * from './logisticRegressionLine';
6
+ export type * from './linearRegressionLine';
7
+ export * from './zRegressionLine';
@@ -1 +1 @@
1
- export * from "./zHistogramRegressionLine.js";
1
+ export * from "./zRegressionLine.js";
@@ -0,0 +1,40 @@
1
+ /**
2
+ * @description 核密度估计回归线配置项
3
+ */
4
+ export interface KdeRegressionLine {
5
+ /**
6
+ * @description 回归线颜色
7
+ * 用于设置回归线的颜色,如果不设置,默认使用图表的主颜色
8
+ */
9
+ color?: string;
10
+ /**
11
+ * @description 回归线宽度
12
+ * 用于设置回归线的宽度,单位为像素,默认值为1
13
+ */
14
+ lineWidth?: number;
15
+ /**
16
+ * @description 回归线样式
17
+ * 用于设置回归线的样式,例如实线、虚线等,默认值为实线
18
+ */
19
+ lineDash?: number[];
20
+ /**
21
+ * @description 回归线标签文本
22
+ * 用于设置回归线的标签文本,空字符串表示不显示标签
23
+ */
24
+ text?: string;
25
+ /**
26
+ * @description 文本颜色
27
+ * @example 'red'
28
+ */
29
+ textColor?: string;
30
+ /**
31
+ * @description 文本字体大小
32
+ * @example 12
33
+ */
34
+ textFontSize?: number;
35
+ /**
36
+ * @description 文本字体重量
37
+ * @example 400
38
+ */
39
+ textFontWeight?: number;
40
+ }
@@ -0,0 +1,53 @@
1
+ /**
2
+ * @description 线性回归线配置项
3
+ */
4
+ export interface LinearRegressionLine {
5
+ /**
6
+ * @description 回归线颜色
7
+ * 用于设置回归线的颜色,如果不设置,默认使用图表的主颜色
8
+ */
9
+ color?: string;
10
+ /**
11
+ * @description 回归线宽度
12
+ * 用于设置回归线的宽度,单位为像素,默认值为1
13
+ */
14
+ lineWidth?: number;
15
+ /**
16
+ * @description 回归线样式
17
+ * 用于设置回归线的样式,例如实线、虚线等,默认值为实线
18
+ */
19
+ lineDash?: number[];
20
+ /**
21
+ * @description 回归线标签文本
22
+ * 用于设置回归线的标签文本,空字符串表示不显示标签
23
+ */
24
+ text?: string;
25
+ /**
26
+ * @description 文本颜色
27
+ * @example 'red'
28
+ */
29
+ textColor?: string;
30
+ /**
31
+ * @description 文本字体大小
32
+ * @example 12
33
+ */
34
+ textFontSize?: number;
35
+ /**
36
+ * @description 文本字体重量
37
+ * @example 400
38
+ */
39
+ textFontWeight?: number;
40
+ /**
41
+ * @description 是否显示置信区间
42
+ */
43
+ confidenceIntervalVisible?: boolean;
44
+ /**
45
+ * @description 置信区间颜色
46
+ */
47
+ confidenceIntervalColor?: string;
48
+ /**
49
+ * @description 置信区间透明度
50
+ * @example 0.5
51
+ */
52
+ confidenceIntervalOpacity?: number;
53
+ }
@@ -0,0 +1,53 @@
1
+ /**
2
+ * @description Logistic回归线配置项
3
+ */
4
+ export interface LogisticRegressionLine {
5
+ /**
6
+ * @description 回归线颜色
7
+ * 用于设置回归线的颜色,如果不设置,默认使用图表的主颜色
8
+ */
9
+ color?: string;
10
+ /**
11
+ * @description 回归线宽度
12
+ * 用于设置回归线的宽度,单位为像素,默认值为1
13
+ */
14
+ lineWidth?: number;
15
+ /**
16
+ * @description 回归线样式
17
+ * 用于设置回归线的样式,例如实线、虚线等,默认值为实线
18
+ */
19
+ lineDash?: number[];
20
+ /**
21
+ * @description 回归线标签文本
22
+ * 用于设置回归线的标签文本,空字符串表示不显示标签
23
+ */
24
+ text?: string;
25
+ /**
26
+ * @description 文本颜色
27
+ * @example 'red'
28
+ */
29
+ textColor?: string;
30
+ /**
31
+ * @description 文本字体大小
32
+ * @example 12
33
+ */
34
+ textFontSize?: number;
35
+ /**
36
+ * @description 文本字体重量
37
+ * @example 400
38
+ */
39
+ textFontWeight?: number;
40
+ /**
41
+ * @description 是否显示置信区间
42
+ */
43
+ confidenceIntervalVisible?: boolean;
44
+ /**
45
+ * @description 置信区间颜色
46
+ */
47
+ confidenceIntervalColor?: string;
48
+ /**
49
+ * @description 置信区间透明度
50
+ * @example 0.5
51
+ */
52
+ confidenceIntervalOpacity?: number;
53
+ }