@visactor/vseed 0.1.13 → 0.1.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 +3372 -108
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/{encodingAdapter.d.ts → adapter/encodingAdapter.d.ts} +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/{encodingAdapter.js → adapter/encodingAdapter.js} +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/adapter/encodingAdapter.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/adapter/index.d.ts +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/adapter/index.js +2 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/bar.js +4 -6
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/bar.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/color/addColorToEncoding.d.ts +8 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/color/addColorToEncoding.js +13 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/color/addColorToEncoding.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/color/index.d.ts +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/color/index.js +2 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/column.js +4 -6
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/column.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/dualAxis.js +4 -6
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/dualAxis.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/funnel.js +4 -6
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/funnel.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/heatmap.js +4 -6
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/heatmap.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/index.d.ts +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/index.js +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/line.js +4 -6
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/line.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/pie.js +4 -6
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/pie.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/radar.js +4 -6
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/radar.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/rose.js +4 -6
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/rose.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/scatter.js +2 -4
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/scatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js +1 -3
- package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/scatter.js +3 -3
- package/dist/esm/pipeline/spec/chart/pipeline/scatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/angle.js +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/axes/angle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/radius.js +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/axes/radius.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/xLinear.js +9 -3
- package/dist/esm/pipeline/spec/chart/pipes/axes/xLinear.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinear.js +9 -3
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinear.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearPrimary.js +8 -3
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearPrimary.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearSecondary.js +8 -3
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearSecondary.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/index.d.ts +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/index.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/label/label.d.ts +5 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/label.js +59 -38
- package/dist/esm/pipeline/spec/chart/pipes/label/label.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/labelDualAxis.js +15 -52
- package/dist/esm/pipeline/spec/chart/pipes/label/labelDualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/{labelColorInversion.d.ts → labelScatter.d.ts} +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/labelScatter.js +19 -0
- package/dist/esm/pipeline/spec/chart/pipes/label/labelScatter.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/legend/colorLegend.js +3 -3
- package/dist/esm/pipeline/spec/chart/pipes/legend/colorLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/discreteLegend.js +4 -4
- package/dist/esm/pipeline/spec/chart/pipes/legend/discreteLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/pivotColorLegend.js +3 -3
- package/dist/esm/pipeline/spec/chart/pipes/legend/pivotColorLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/pivotDiscreteLegend.js +4 -4
- package/dist/esm/pipeline/spec/chart/pipes/legend/pivotDiscreteLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/series/series.js +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/series/series.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltip.d.ts +3 -3
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltip.js +13 -30
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltip.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js +6 -6
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHeatmap.js +6 -18
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHeatmap.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipScatter.js +6 -18
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipScatter.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/columns/measuresToColumns.js +8 -11
- package/dist/esm/pipeline/spec/table/pipes/columns/measuresToColumns.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/indicators/pivotIndicators.js +8 -13
- package/dist/esm/pipeline/spec/table/pipes/indicators/pivotIndicators.js.map +1 -1
- package/dist/esm/pipeline/utils/constant.d.ts +1 -0
- package/dist/esm/pipeline/utils/constant.js +2 -1
- package/dist/esm/pipeline/utils/constant.js.map +1 -1
- package/dist/esm/pipeline/utils/format/createFormatter.d.ts +1 -1
- package/dist/esm/pipeline/utils/format/createFormatter.js +3 -2
- package/dist/esm/pipeline/utils/format/createFormatter.js.map +1 -1
- package/dist/esm/pipeline/utils/format/createFormatterByMeasure.d.ts +2 -0
- package/dist/esm/pipeline/utils/format/createFormatterByMeasure.js +13 -0
- package/dist/esm/pipeline/utils/format/createFormatterByMeasure.js.map +1 -0
- package/dist/esm/pipeline/utils/format/createNumFormatter.d.ts +1 -1
- package/dist/esm/pipeline/utils/format/createNumFormatter.js.map +1 -1
- package/dist/esm/pipeline/utils/format/index.d.ts +1 -0
- package/dist/esm/pipeline/utils/format/index.js +1 -0
- package/dist/esm/theme/dark.js +9 -3
- package/dist/esm/theme/dark.js.map +1 -1
- package/dist/esm/theme/light.js +27 -6
- package/dist/esm/theme/light.js.map +1 -1
- package/dist/esm/types/advancedVSeed.d.ts +2334 -36
- package/dist/esm/types/chartType/area/zArea.d.ts +99 -1
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.d.ts +99 -1
- package/dist/esm/types/chartType/bar/zBar.d.ts +99 -1
- package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +99 -1
- package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +99 -1
- package/dist/esm/types/chartType/column/zColumn.d.ts +99 -1
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +99 -1
- package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +99 -1
- package/dist/esm/types/chartType/donut/zDonut.d.ts +69 -1
- package/dist/esm/types/chartType/dualAxis/zDualAxis.d.ts +309 -1
- package/dist/esm/types/chartType/funnel/zFunnel.d.ts +68 -0
- package/dist/esm/types/chartType/heatmap/zHeatmap.d.ts +68 -0
- package/dist/esm/types/chartType/line/zLine.d.ts +99 -1
- package/dist/esm/types/chartType/pie/zPie.d.ts +69 -1
- package/dist/esm/types/chartType/pivotTable/zPivotTable.d.ts +30 -0
- package/dist/esm/types/chartType/radar/zRadar.d.ts +69 -1
- package/dist/esm/types/chartType/rose/zRose.d.ts +69 -1
- package/dist/esm/types/chartType/roseParallel/zRoseParallel.d.ts +69 -1
- package/dist/esm/types/chartType/scatter/zScatter.d.ts +249 -1
- package/dist/esm/types/chartType/table/zTable.d.ts +30 -0
- package/dist/esm/types/properties/config/axes/bandAxis.d.ts +146 -82
- package/dist/esm/types/properties/config/axes/bandAxis.js +0 -48
- package/dist/esm/types/properties/config/axes/index.d.ts +4 -3
- package/dist/esm/types/properties/config/axes/index.js +2 -3
- package/dist/esm/types/properties/config/axes/linearAxis.d.ts +149 -84
- package/dist/esm/types/properties/config/axes/linearAxis.js +0 -45
- package/dist/esm/types/properties/config/axes/zBandAxis.d.ts +79 -0
- package/dist/esm/types/properties/config/axes/{axis.js → zBandAxis.js} +5 -11
- package/dist/esm/types/properties/config/axes/zBandAxis.js.map +1 -0
- package/dist/esm/types/properties/config/axes/zLinearAxis.d.ts +141 -0
- package/dist/esm/types/properties/config/axes/zLinearAxis.js +47 -0
- package/dist/esm/types/properties/config/axes/zLinearAxis.js.map +1 -0
- package/dist/esm/types/properties/config/config.d.ts +2304 -37
- package/dist/esm/types/properties/config/config.js +1 -2
- package/dist/esm/types/properties/config/config.js.map +1 -1
- package/dist/esm/types/properties/config/label/label.d.ts +37 -0
- package/dist/esm/types/properties/config/label/zLabel.d.ts +38 -0
- package/dist/esm/types/properties/config/label/zLabel.js +11 -1
- package/dist/esm/types/properties/config/label/zLabel.js.map +1 -1
- package/dist/esm/types/properties/config/legend/legend.d.ts +6 -2
- package/dist/esm/types/properties/config/legend/legend.js +1 -1
- package/dist/esm/types/properties/config/legend/legend.js.map +1 -1
- package/dist/esm/types/properties/format/numFormat.js.map +1 -0
- package/dist/esm/types/properties/index.d.ts +1 -0
- package/dist/esm/types/properties/index.js +1 -0
- package/dist/esm/types/properties/measures/index.d.ts +0 -1
- package/dist/esm/types/properties/measures/index.js +0 -1
- package/dist/esm/types/properties/measures/measures.d.ts +6 -2
- package/dist/esm/types/properties/measures/zDualMeasures.d.ts +240 -0
- package/dist/esm/types/properties/measures/zMeasures.d.ts +90 -0
- package/dist/esm/types/properties/measures/zMeasures.js +2 -1
- package/dist/esm/types/properties/measures/zMeasures.js.map +1 -1
- package/dist/esm/types/properties/measures/zScatterMeasures.d.ts +240 -0
- package/dist/esm/types/properties/theme/customTheme.d.ts +2304 -36
- package/dist/esm/types/zVseed.d.ts +2090 -116
- package/dist/umd/index.js +270 -335
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/encodingAdapter.js.map +0 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/labelColorInversion.js +0 -13
- package/dist/esm/pipeline/spec/chart/pipes/label/labelColorInversion.js.map +0 -1
- package/dist/esm/types/properties/config/axes/axis.d.ts +0 -255
- package/dist/esm/types/properties/config/axes/axis.js.map +0 -1
- package/dist/esm/types/properties/config/axes/bandAxis.js.map +0 -1
- package/dist/esm/types/properties/config/axes/linearAxis.js.map +0 -1
- package/dist/esm/types/properties/measures/format/numFormat.js.map +0 -1
- /package/dist/esm/types/properties/{measures/format → format}/formatter.d.ts +0 -0
- /package/dist/esm/types/properties/{measures/format → format}/formatter.js +0 -0
- /package/dist/esm/types/properties/{measures/format → format}/index.d.ts +0 -0
- /package/dist/esm/types/properties/{measures/format → format}/index.js +0 -0
- /package/dist/esm/types/properties/{measures/format → format}/numFormat.d.ts +0 -0
- /package/dist/esm/types/properties/{measures/format → format}/numFormat.js +0 -0
|
@@ -35,6 +35,36 @@ export declare const zScatter: z.ZodObject<{
|
|
|
35
35
|
id: z.ZodString;
|
|
36
36
|
alias: z.ZodOptional<z.ZodString>;
|
|
37
37
|
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
|
38
|
+
numFormat: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
39
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
40
|
+
number: "number";
|
|
41
|
+
percent: "percent";
|
|
42
|
+
permille: "permille";
|
|
43
|
+
scientific: "scientific";
|
|
44
|
+
}>>>;
|
|
45
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
46
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
47
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
48
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
49
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
50
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
51
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
52
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
53
|
+
morePrecision: "morePrecision";
|
|
54
|
+
lessPrecision: "lessPrecision";
|
|
55
|
+
}>>>;
|
|
56
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
57
|
+
floor: "floor";
|
|
58
|
+
ceil: "ceil";
|
|
59
|
+
expand: "expand";
|
|
60
|
+
trunc: "trunc";
|
|
61
|
+
halfCeil: "halfCeil";
|
|
62
|
+
halfFloor: "halfFloor";
|
|
63
|
+
halfExpand: "halfExpand";
|
|
64
|
+
halfTrunc: "halfTrunc";
|
|
65
|
+
halfEven: "halfEven";
|
|
66
|
+
}>>>;
|
|
67
|
+
}, z.core.$strip>>>;
|
|
38
68
|
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
39
69
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
40
70
|
number: "number";
|
|
@@ -87,6 +117,36 @@ export declare const zScatter: z.ZodObject<{
|
|
|
87
117
|
id: z.ZodString;
|
|
88
118
|
alias: z.ZodOptional<z.ZodString>;
|
|
89
119
|
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
|
120
|
+
numFormat: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
121
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
122
|
+
number: "number";
|
|
123
|
+
percent: "percent";
|
|
124
|
+
permille: "permille";
|
|
125
|
+
scientific: "scientific";
|
|
126
|
+
}>>>;
|
|
127
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
128
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
129
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
130
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
131
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
132
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
133
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
134
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
135
|
+
morePrecision: "morePrecision";
|
|
136
|
+
lessPrecision: "lessPrecision";
|
|
137
|
+
}>>>;
|
|
138
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
139
|
+
floor: "floor";
|
|
140
|
+
ceil: "ceil";
|
|
141
|
+
expand: "expand";
|
|
142
|
+
trunc: "trunc";
|
|
143
|
+
halfCeil: "halfCeil";
|
|
144
|
+
halfFloor: "halfFloor";
|
|
145
|
+
halfExpand: "halfExpand";
|
|
146
|
+
halfTrunc: "halfTrunc";
|
|
147
|
+
halfEven: "halfEven";
|
|
148
|
+
}>>>;
|
|
149
|
+
}, z.core.$strip>>>;
|
|
90
150
|
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
91
151
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
92
152
|
number: "number";
|
|
@@ -136,6 +196,36 @@ export declare const zScatter: z.ZodObject<{
|
|
|
136
196
|
id: z.ZodString;
|
|
137
197
|
alias: z.ZodOptional<z.ZodString>;
|
|
138
198
|
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
|
199
|
+
numFormat: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
200
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
201
|
+
number: "number";
|
|
202
|
+
percent: "percent";
|
|
203
|
+
permille: "permille";
|
|
204
|
+
scientific: "scientific";
|
|
205
|
+
}>>>;
|
|
206
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
207
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
208
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
209
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
210
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
211
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
212
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
213
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
214
|
+
morePrecision: "morePrecision";
|
|
215
|
+
lessPrecision: "lessPrecision";
|
|
216
|
+
}>>>;
|
|
217
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
218
|
+
floor: "floor";
|
|
219
|
+
ceil: "ceil";
|
|
220
|
+
expand: "expand";
|
|
221
|
+
trunc: "trunc";
|
|
222
|
+
halfCeil: "halfCeil";
|
|
223
|
+
halfFloor: "halfFloor";
|
|
224
|
+
halfExpand: "halfExpand";
|
|
225
|
+
halfTrunc: "halfTrunc";
|
|
226
|
+
halfEven: "halfEven";
|
|
227
|
+
}>>>;
|
|
228
|
+
}, z.core.$strip>>>;
|
|
139
229
|
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
140
230
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
141
231
|
number: "number";
|
|
@@ -186,6 +276,36 @@ export declare const zScatter: z.ZodObject<{
|
|
|
186
276
|
id: z.ZodString;
|
|
187
277
|
alias: z.ZodOptional<z.ZodString>;
|
|
188
278
|
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
|
279
|
+
numFormat: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
280
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
281
|
+
number: "number";
|
|
282
|
+
percent: "percent";
|
|
283
|
+
permille: "permille";
|
|
284
|
+
scientific: "scientific";
|
|
285
|
+
}>>>;
|
|
286
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
287
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
288
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
289
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
290
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
291
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
292
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
293
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
294
|
+
morePrecision: "morePrecision";
|
|
295
|
+
lessPrecision: "lessPrecision";
|
|
296
|
+
}>>>;
|
|
297
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
298
|
+
floor: "floor";
|
|
299
|
+
ceil: "ceil";
|
|
300
|
+
expand: "expand";
|
|
301
|
+
trunc: "trunc";
|
|
302
|
+
halfCeil: "halfCeil";
|
|
303
|
+
halfFloor: "halfFloor";
|
|
304
|
+
halfExpand: "halfExpand";
|
|
305
|
+
halfTrunc: "halfTrunc";
|
|
306
|
+
halfEven: "halfEven";
|
|
307
|
+
}>>>;
|
|
308
|
+
}, z.core.$strip>>>;
|
|
189
309
|
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
190
310
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
191
311
|
number: "number";
|
|
@@ -235,6 +355,36 @@ export declare const zScatter: z.ZodObject<{
|
|
|
235
355
|
id: z.ZodString;
|
|
236
356
|
alias: z.ZodOptional<z.ZodString>;
|
|
237
357
|
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
|
358
|
+
numFormat: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
359
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
360
|
+
number: "number";
|
|
361
|
+
percent: "percent";
|
|
362
|
+
permille: "permille";
|
|
363
|
+
scientific: "scientific";
|
|
364
|
+
}>>>;
|
|
365
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
366
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
367
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
368
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
369
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
370
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
371
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
372
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
373
|
+
morePrecision: "morePrecision";
|
|
374
|
+
lessPrecision: "lessPrecision";
|
|
375
|
+
}>>>;
|
|
376
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
377
|
+
floor: "floor";
|
|
378
|
+
ceil: "ceil";
|
|
379
|
+
expand: "expand";
|
|
380
|
+
trunc: "trunc";
|
|
381
|
+
halfCeil: "halfCeil";
|
|
382
|
+
halfFloor: "halfFloor";
|
|
383
|
+
halfExpand: "halfExpand";
|
|
384
|
+
halfTrunc: "halfTrunc";
|
|
385
|
+
halfEven: "halfEven";
|
|
386
|
+
}>>>;
|
|
387
|
+
}, z.core.$strip>>>;
|
|
238
388
|
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
239
389
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
240
390
|
number: "number";
|
|
@@ -293,6 +443,44 @@ export declare const zScatter: z.ZodObject<{
|
|
|
293
443
|
wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
294
444
|
showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
295
445
|
showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
446
|
+
autoFormat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
447
|
+
numFormat: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
448
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
449
|
+
number: "number";
|
|
450
|
+
percent: "percent";
|
|
451
|
+
permille: "permille";
|
|
452
|
+
scientific: "scientific";
|
|
453
|
+
}>>>;
|
|
454
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
455
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
456
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
457
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
458
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
459
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
460
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
461
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
462
|
+
morePrecision: "morePrecision";
|
|
463
|
+
lessPrecision: "lessPrecision";
|
|
464
|
+
}>>>;
|
|
465
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
466
|
+
floor: "floor";
|
|
467
|
+
ceil: "ceil";
|
|
468
|
+
expand: "expand";
|
|
469
|
+
trunc: "trunc";
|
|
470
|
+
halfCeil: "halfCeil";
|
|
471
|
+
halfFloor: "halfFloor";
|
|
472
|
+
halfExpand: "halfExpand";
|
|
473
|
+
halfTrunc: "halfTrunc";
|
|
474
|
+
halfEven: "halfEven";
|
|
475
|
+
}>>>;
|
|
476
|
+
}, z.core.$strip>>>>;
|
|
477
|
+
labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
478
|
+
labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
479
|
+
labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
480
|
+
labelColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
481
|
+
labelColorSmartInvert: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
482
|
+
labelPosition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
483
|
+
labelOverlap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
296
484
|
}, z.core.$strip>>>;
|
|
297
485
|
legend: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
298
486
|
enable: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
@@ -344,8 +532,8 @@ export declare const zScatter: z.ZodObject<{
|
|
|
344
532
|
bl: "bl";
|
|
345
533
|
br: "br";
|
|
346
534
|
}>>>>;
|
|
535
|
+
labelColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
347
536
|
labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
348
|
-
labelFontColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
349
537
|
labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>>;
|
|
350
538
|
}, z.core.$strip>>>;
|
|
351
539
|
tooltip: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -360,6 +548,36 @@ export declare const zScatter: z.ZodObject<{
|
|
|
360
548
|
log: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
361
549
|
logBase: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
362
550
|
inverse: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
551
|
+
numFormat: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
552
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
553
|
+
number: "number";
|
|
554
|
+
percent: "percent";
|
|
555
|
+
permille: "permille";
|
|
556
|
+
scientific: "scientific";
|
|
557
|
+
}>>>;
|
|
558
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
559
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
560
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
561
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
562
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
563
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
564
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
565
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
566
|
+
morePrecision: "morePrecision";
|
|
567
|
+
lessPrecision: "lessPrecision";
|
|
568
|
+
}>>>;
|
|
569
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
570
|
+
floor: "floor";
|
|
571
|
+
ceil: "ceil";
|
|
572
|
+
expand: "expand";
|
|
573
|
+
trunc: "trunc";
|
|
574
|
+
halfCeil: "halfCeil";
|
|
575
|
+
halfFloor: "halfFloor";
|
|
576
|
+
halfExpand: "halfExpand";
|
|
577
|
+
halfTrunc: "halfTrunc";
|
|
578
|
+
halfEven: "halfEven";
|
|
579
|
+
}>>>;
|
|
580
|
+
}, z.core.$strip>>>>;
|
|
363
581
|
label: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
364
582
|
visible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
365
583
|
labelColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
@@ -400,6 +618,36 @@ export declare const zScatter: z.ZodObject<{
|
|
|
400
618
|
log: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
401
619
|
logBase: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
402
620
|
inverse: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
621
|
+
numFormat: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
622
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
623
|
+
number: "number";
|
|
624
|
+
percent: "percent";
|
|
625
|
+
permille: "permille";
|
|
626
|
+
scientific: "scientific";
|
|
627
|
+
}>>>;
|
|
628
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
629
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
630
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
631
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
632
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
633
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
634
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
635
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
636
|
+
morePrecision: "morePrecision";
|
|
637
|
+
lessPrecision: "lessPrecision";
|
|
638
|
+
}>>>;
|
|
639
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
640
|
+
floor: "floor";
|
|
641
|
+
ceil: "ceil";
|
|
642
|
+
expand: "expand";
|
|
643
|
+
trunc: "trunc";
|
|
644
|
+
halfCeil: "halfCeil";
|
|
645
|
+
halfFloor: "halfFloor";
|
|
646
|
+
halfExpand: "halfExpand";
|
|
647
|
+
halfTrunc: "halfTrunc";
|
|
648
|
+
halfEven: "halfEven";
|
|
649
|
+
}>>>;
|
|
650
|
+
}, z.core.$strip>>>>;
|
|
403
651
|
label: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
404
652
|
visible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
405
653
|
labelColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
@@ -21,6 +21,36 @@ export declare const zTable: z.ZodObject<{
|
|
|
21
21
|
id: z.ZodString;
|
|
22
22
|
alias: z.ZodOptional<z.ZodString>;
|
|
23
23
|
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
|
24
|
+
numFormat: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
25
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
26
|
+
number: "number";
|
|
27
|
+
percent: "percent";
|
|
28
|
+
permille: "permille";
|
|
29
|
+
scientific: "scientific";
|
|
30
|
+
}>>>;
|
|
31
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
32
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
33
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
34
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
35
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
36
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
37
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
38
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
39
|
+
morePrecision: "morePrecision";
|
|
40
|
+
lessPrecision: "lessPrecision";
|
|
41
|
+
}>>>;
|
|
42
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
43
|
+
floor: "floor";
|
|
44
|
+
ceil: "ceil";
|
|
45
|
+
expand: "expand";
|
|
46
|
+
trunc: "trunc";
|
|
47
|
+
halfCeil: "halfCeil";
|
|
48
|
+
halfFloor: "halfFloor";
|
|
49
|
+
halfExpand: "halfExpand";
|
|
50
|
+
halfTrunc: "halfTrunc";
|
|
51
|
+
halfEven: "halfEven";
|
|
52
|
+
}>>>;
|
|
53
|
+
}, z.core.$strip>>>;
|
|
24
54
|
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
25
55
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
26
56
|
number: "number";
|
|
@@ -1,82 +1,146 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
labelFontSize
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
|
|
1
|
+
export type XBandAxis = {
|
|
2
|
+
/**
|
|
3
|
+
* @description 轴是否可见
|
|
4
|
+
*/
|
|
5
|
+
visible?: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* @description 轴是否反向展示, 仅对数值轴生效
|
|
8
|
+
*/
|
|
9
|
+
inverse?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* @description 是否在坐标轴上强制显示 0 值, 当配置了 min 和 max, 该配置项失效, 仅对数值轴生效
|
|
12
|
+
*/
|
|
13
|
+
zero?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* @description 轴标签, 自动隐藏, 2个标签若重叠(间隔小于autoHideGap), 则自动隐藏导致重叠的标签. 仅对类目轴生效.
|
|
16
|
+
*/
|
|
17
|
+
labelAutoHide?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* @description 轴标签, 自动隐藏间隔, 若2个文本标签的间隔小于autoHideGap, 则自动隐藏导致重叠的标签. 仅对类目轴生效.
|
|
20
|
+
* autoHide开启时, 使用autoHide, 设置在autoHideSeparation上
|
|
21
|
+
* autoHide关闭时, 使用sampling采样, 设置在minGap上
|
|
22
|
+
*/
|
|
23
|
+
labelAutoHideGap?: number;
|
|
24
|
+
/**
|
|
25
|
+
* @description 轴标签, 自动旋转, 当标签宽度超过轴长度时, 自动旋转标签. 仅对类目轴生效.
|
|
26
|
+
*/
|
|
27
|
+
labelAutoRotate?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* @description 轴标签, 自动旋转角度范围, 当自动旋转开启时, 标签旋转角度范围. 仅对类目轴生效.
|
|
30
|
+
*/
|
|
31
|
+
labelAutoRotateAngleRange?: number[];
|
|
32
|
+
/**
|
|
33
|
+
* @description 轴标签, 自动限制长度, 当标签宽度超过轴长度时, 超出部分省略号表示, 鼠标悬浮后可见标签, 自动限制标签宽度. 仅对类目轴生效.
|
|
34
|
+
*/
|
|
35
|
+
labelAutoLimit?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* @description 轴标签, 自动限制长度的最大长度, 当标签文本长度超过最大长度时, 超出部分省略号表示, 鼠标悬浮后可见标签. 仅对类目轴生效.
|
|
38
|
+
*/
|
|
39
|
+
labelAutoLimitLength?: number;
|
|
40
|
+
/**
|
|
41
|
+
* @description X轴刻度标签
|
|
42
|
+
*/
|
|
43
|
+
label?: {
|
|
44
|
+
/**
|
|
45
|
+
* @description 标签是否可见
|
|
46
|
+
*/
|
|
47
|
+
visible?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* @description 标签颜色
|
|
50
|
+
*/
|
|
51
|
+
labelColor?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @description 标签字体大小
|
|
54
|
+
*/
|
|
55
|
+
labelFontSize?: number;
|
|
56
|
+
/**
|
|
57
|
+
* @description 标签字体粗细
|
|
58
|
+
*/
|
|
59
|
+
labelFontWeight?: number;
|
|
60
|
+
/**
|
|
61
|
+
* @description 标签旋转角度
|
|
62
|
+
*/
|
|
63
|
+
labelAngle?: number;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* @description X轴线
|
|
67
|
+
*/
|
|
68
|
+
line?: {
|
|
69
|
+
/**
|
|
70
|
+
* @description 轴线是否可见
|
|
71
|
+
*/
|
|
72
|
+
visible?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* @description 轴线颜色
|
|
75
|
+
*/
|
|
76
|
+
lineColor?: string;
|
|
77
|
+
/**
|
|
78
|
+
* @description 轴线宽度
|
|
79
|
+
*/
|
|
80
|
+
lineWidth?: number;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* @description X轴刻度
|
|
84
|
+
*/
|
|
85
|
+
tick?: {
|
|
86
|
+
/**
|
|
87
|
+
* 刻度是否可见
|
|
88
|
+
* @default true
|
|
89
|
+
*/
|
|
90
|
+
visible?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* 刻度是否朝内
|
|
93
|
+
* @default false
|
|
94
|
+
*/
|
|
95
|
+
tickInside?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* 刻度颜色
|
|
98
|
+
*/
|
|
99
|
+
tickColor?: string;
|
|
100
|
+
/**
|
|
101
|
+
* 刻度尺寸
|
|
102
|
+
*/
|
|
103
|
+
tickSize?: number;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* @description X轴标题
|
|
107
|
+
*/
|
|
108
|
+
title?: {
|
|
109
|
+
/**
|
|
110
|
+
* 标题是否可见
|
|
111
|
+
* @default false
|
|
112
|
+
*/
|
|
113
|
+
visible?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* 标题文本, 默认跟随字段配置
|
|
116
|
+
*/
|
|
117
|
+
titleText?: string;
|
|
118
|
+
/**
|
|
119
|
+
* 标题颜色
|
|
120
|
+
*/
|
|
121
|
+
titleColor?: string;
|
|
122
|
+
/**
|
|
123
|
+
* 标题字体大小
|
|
124
|
+
*/
|
|
125
|
+
titleFontSize?: number;
|
|
126
|
+
/**
|
|
127
|
+
* 标题字体粗细
|
|
128
|
+
*/
|
|
129
|
+
titleFontWeight?: number;
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* @description X轴网格线
|
|
133
|
+
*/
|
|
134
|
+
grid?: {
|
|
135
|
+
visible?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* 网格线颜色
|
|
138
|
+
*/
|
|
139
|
+
gridColor?: string;
|
|
140
|
+
/**
|
|
141
|
+
* 网格线宽度
|
|
142
|
+
*/
|
|
143
|
+
gridWidth?: number;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
export type YBandAxis = XBandAxis;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
const zXBandAxis = z.object({
|
|
3
|
-
visible: z.boolean().default(true).nullish(),
|
|
4
|
-
labelAutoHide: z.boolean().default(true).nullish(),
|
|
5
|
-
labelAutoHideGap: z.number().default(0).nullish(),
|
|
6
|
-
labelAutoRotate: z.boolean().default(true).nullish(),
|
|
7
|
-
labelAutoRotateAngleRange: z.array(z.number()).default([
|
|
8
|
-
0,
|
|
9
|
-
-45,
|
|
10
|
-
-90
|
|
11
|
-
]).nullish(),
|
|
12
|
-
labelAutoLimit: z.boolean().default(true).nullish(),
|
|
13
|
-
labelAutoLimitLength: z.number().default(100).nullish(),
|
|
14
|
-
label: z.object({
|
|
15
|
-
visible: z.boolean().default(true).nullish(),
|
|
16
|
-
labelColor: z.string().default('#797B85').nullish(),
|
|
17
|
-
labelFontSize: z.number().default(12).nullish(),
|
|
18
|
-
labelFontWeight: z.number().default(400).nullish(),
|
|
19
|
-
labelAngle: z.number().default(0).nullish()
|
|
20
|
-
}).nullish(),
|
|
21
|
-
line: z.object({
|
|
22
|
-
visible: z.boolean().default(true).nullish(),
|
|
23
|
-
lineColor: z.string().default('rgba(54, 65, 89, 0.30)').nullish(),
|
|
24
|
-
lineWidth: z.number().default(1).nullish()
|
|
25
|
-
}).nullish(),
|
|
26
|
-
tick: z.object({
|
|
27
|
-
visible: z.boolean().default(true).nullish(),
|
|
28
|
-
tickInside: z.boolean().default(false).nullish(),
|
|
29
|
-
tickColor: z.string().default('rgba(54, 65, 89, 0.30)').nullish(),
|
|
30
|
-
tickSize: z.number().default(4).nullish()
|
|
31
|
-
}).nullish(),
|
|
32
|
-
title: z.object({
|
|
33
|
-
visible: z.boolean().default(false).nullish(),
|
|
34
|
-
titleText: z.string().default('').nullish(),
|
|
35
|
-
titleColor: z.string().default('#646A73').nullish(),
|
|
36
|
-
titleFontSize: z.number().default(12).nullish(),
|
|
37
|
-
titleFontWeight: z.number().default(400).nullish()
|
|
38
|
-
}).nullish(),
|
|
39
|
-
grid: z.object({
|
|
40
|
-
visible: z.boolean().default(false).nullish(),
|
|
41
|
-
gridColor: z.string().default('rgba(54, 65, 89, 0.15)').nullish(),
|
|
42
|
-
gridWidth: z.number().default(0.5).nullish()
|
|
43
|
-
}).nullish()
|
|
44
|
-
});
|
|
45
|
-
const zYBandAxis = zXBandAxis;
|
|
46
|
-
export { zXBandAxis, zYBandAxis };
|
|
47
|
-
|
|
48
|
-
//# sourceMappingURL=bandAxis.js.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
1
|
+
export type * from './bandAxis';
|
|
2
|
+
export type * from './linearAxis';
|
|
3
|
+
export * from './zLinearAxis';
|
|
4
|
+
export * from './zBandAxis';
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./linearAxis.js";
|
|
1
|
+
export * from "./zLinearAxis.js";
|
|
2
|
+
export * from "./zBandAxis.js";
|