@ecan-bi/datav 1.3.3 → 1.3.5

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.
@@ -255,6 +255,22 @@ export declare const EcanPie: import("../../utils/withInstall").SFCWithInstall<i
255
255
  type?: import("vue").PropType<string>;
256
256
  default?: string;
257
257
  };
258
+ legendWidth: {
259
+ type?: import("vue").PropType<number>;
260
+ default?: number;
261
+ };
262
+ legendHeight: {
263
+ type?: import("vue").PropType<number>;
264
+ default?: number;
265
+ };
266
+ legendTextWidth: {
267
+ type?: import("vue").PropType<number>;
268
+ default?: number;
269
+ };
270
+ legendScroll: {
271
+ type?: import("vue").PropType<boolean>;
272
+ default?: boolean;
273
+ };
258
274
  id: {
259
275
  type?: import("vue").PropType<string>;
260
276
  default?: string;
@@ -700,6 +716,22 @@ export declare const EcanPie: import("../../utils/withInstall").SFCWithInstall<i
700
716
  type?: import("vue").PropType<string>;
701
717
  default?: string;
702
718
  };
719
+ legendWidth: {
720
+ type?: import("vue").PropType<number>;
721
+ default?: number;
722
+ };
723
+ legendHeight: {
724
+ type?: import("vue").PropType<number>;
725
+ default?: number;
726
+ };
727
+ legendTextWidth: {
728
+ type?: import("vue").PropType<number>;
729
+ default?: number;
730
+ };
731
+ legendScroll: {
732
+ type?: import("vue").PropType<boolean>;
733
+ default?: boolean;
734
+ };
703
735
  id: {
704
736
  type?: import("vue").PropType<string>;
705
737
  default?: string;
@@ -65,6 +65,10 @@ export interface PieProps extends Props {
65
65
  legendFormatter: string;
66
66
  legendFontSize: string;
67
67
  graphicType: string;
68
+ legendWidth: number | null;
69
+ legendHeight: number | null;
70
+ legendTextWidth: number | null;
71
+ legendScroll: boolean;
68
72
  }
69
73
  export declare const pieProps: PieProps;
70
74
  export declare const pieComponentProps: {
@@ -324,6 +328,22 @@ export declare const pieComponentProps: {
324
328
  type?: import("vue").PropType<string>;
325
329
  default?: string;
326
330
  };
331
+ legendWidth: {
332
+ type?: import("vue").PropType<number>;
333
+ default?: number;
334
+ };
335
+ legendHeight: {
336
+ type?: import("vue").PropType<number>;
337
+ default?: number;
338
+ };
339
+ legendTextWidth: {
340
+ type?: import("vue").PropType<number>;
341
+ default?: number;
342
+ };
343
+ legendScroll: {
344
+ type?: import("vue").PropType<boolean>;
345
+ default?: boolean;
346
+ };
327
347
  id: {
328
348
  type?: import("vue").PropType<string>;
329
349
  default?: string;
@@ -249,6 +249,26 @@ declare const _sfc_main: import("vue").DefineComponent<{
249
249
  type?: import("vue").PropType<string>;
250
250
  default?: string;
251
251
  };
252
+ legendFormatter: {
253
+ type?: import("vue").PropType<string>;
254
+ default?: string;
255
+ };
256
+ legendWidth: {
257
+ type?: import("vue").PropType<any>;
258
+ default?: any;
259
+ };
260
+ legendHeight: {
261
+ type?: import("vue").PropType<any>;
262
+ default?: any;
263
+ };
264
+ legendTextWidth: {
265
+ type?: import("vue").PropType<any>;
266
+ default?: any;
267
+ };
268
+ legendScroll: {
269
+ type?: import("vue").PropType<boolean>;
270
+ default?: boolean;
271
+ };
252
272
  position: {
253
273
  type?: import("vue").PropType<string>;
254
274
  default?: string;
@@ -361,13 +381,22 @@ declare const _sfc_main: import("vue").DefineComponent<{
361
381
  };
362
382
  };
363
383
  legend: {
384
+ type: string;
385
+ width: any;
386
+ height: any;
364
387
  show: boolean;
365
388
  orient: string;
366
389
  top: string;
367
390
  left: string;
368
391
  textStyle: {
369
- color: string;
370
- fontSize: string | number;
392
+ lineHeight: number;
393
+ rich: {
394
+ text: {
395
+ width: any;
396
+ color: string;
397
+ fontSize: string | number;
398
+ };
399
+ };
371
400
  };
372
401
  itemHeight: number;
373
402
  itemWidth: number;
@@ -376,6 +405,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
376
405
  name: any;
377
406
  icon: string;
378
407
  }[];
408
+ formatter: (name: string) => string;
379
409
  };
380
410
  series: any[];
381
411
  }>;
@@ -636,6 +666,26 @@ declare const _sfc_main: import("vue").DefineComponent<{
636
666
  type?: import("vue").PropType<string>;
637
667
  default?: string;
638
668
  };
669
+ legendFormatter: {
670
+ type?: import("vue").PropType<string>;
671
+ default?: string;
672
+ };
673
+ legendWidth: {
674
+ type?: import("vue").PropType<any>;
675
+ default?: any;
676
+ };
677
+ legendHeight: {
678
+ type?: import("vue").PropType<any>;
679
+ default?: any;
680
+ };
681
+ legendTextWidth: {
682
+ type?: import("vue").PropType<any>;
683
+ default?: any;
684
+ };
685
+ legendScroll: {
686
+ type?: import("vue").PropType<boolean>;
687
+ default?: boolean;
688
+ };
639
689
  position: {
640
690
  type?: import("vue").PropType<string>;
641
691
  default?: string;
@@ -249,6 +249,26 @@ export declare const EcanRadar: import("../../utils/withInstall").SFCWithInstall
249
249
  type?: import("vue").PropType<string>;
250
250
  default?: string;
251
251
  };
252
+ legendFormatter: {
253
+ type?: import("vue").PropType<string>;
254
+ default?: string;
255
+ };
256
+ legendWidth: {
257
+ type?: import("vue").PropType<any>;
258
+ default?: any;
259
+ };
260
+ legendHeight: {
261
+ type?: import("vue").PropType<any>;
262
+ default?: any;
263
+ };
264
+ legendTextWidth: {
265
+ type?: import("vue").PropType<any>;
266
+ default?: any;
267
+ };
268
+ legendScroll: {
269
+ type?: import("vue").PropType<boolean>;
270
+ default?: boolean;
271
+ };
252
272
  position: {
253
273
  type?: import("vue").PropType<string>;
254
274
  default?: string;
@@ -361,13 +381,22 @@ export declare const EcanRadar: import("../../utils/withInstall").SFCWithInstall
361
381
  };
362
382
  };
363
383
  legend: {
384
+ type: string;
385
+ width: any;
386
+ height: any;
364
387
  show: boolean;
365
388
  orient: string;
366
389
  top: string;
367
390
  left: string;
368
391
  textStyle: {
369
- color: string;
370
- fontSize: string | number;
392
+ lineHeight: number;
393
+ rich: {
394
+ text: {
395
+ width: any;
396
+ color: string;
397
+ fontSize: string | number;
398
+ };
399
+ };
371
400
  };
372
401
  itemHeight: number;
373
402
  itemWidth: number;
@@ -376,6 +405,7 @@ export declare const EcanRadar: import("../../utils/withInstall").SFCWithInstall
376
405
  name: any;
377
406
  icon: string;
378
407
  }[];
408
+ formatter: (name: string) => string;
379
409
  };
380
410
  series: any[];
381
411
  }>;
@@ -636,6 +666,26 @@ export declare const EcanRadar: import("../../utils/withInstall").SFCWithInstall
636
666
  type?: import("vue").PropType<string>;
637
667
  default?: string;
638
668
  };
669
+ legendFormatter: {
670
+ type?: import("vue").PropType<string>;
671
+ default?: string;
672
+ };
673
+ legendWidth: {
674
+ type?: import("vue").PropType<any>;
675
+ default?: any;
676
+ };
677
+ legendHeight: {
678
+ type?: import("vue").PropType<any>;
679
+ default?: any;
680
+ };
681
+ legendTextWidth: {
682
+ type?: import("vue").PropType<any>;
683
+ default?: any;
684
+ };
685
+ legendScroll: {
686
+ type?: import("vue").PropType<boolean>;
687
+ default?: boolean;
688
+ };
639
689
  position: {
640
690
  type?: import("vue").PropType<string>;
641
691
  default?: string;
@@ -50,6 +50,11 @@ export interface RadarProps extends Props {
50
50
  };
51
51
  graphicType: string;
52
52
  tooltipPosition: string;
53
+ legendFormatter: string;
54
+ legendWidth: number | null;
55
+ legendHeight: number | null;
56
+ legendTextWidth: number | null;
57
+ legendScroll: boolean;
53
58
  }
54
59
  export declare const radarProps: {
55
60
  id: string;
@@ -120,6 +125,11 @@ export declare const radarProps: {
120
125
  graphicConfig: {};
121
126
  graphicType: string;
122
127
  tooltipPosition: string;
128
+ legendFormatter: string;
129
+ legendWidth: any;
130
+ legendHeight: any;
131
+ legendTextWidth: any;
132
+ legendScroll: boolean;
123
133
  position: string;
124
134
  zIndex: number;
125
135
  isShow: boolean;
@@ -387,6 +397,26 @@ export declare const radarComponentProps: {
387
397
  type?: import("vue").PropType<string>;
388
398
  default?: string;
389
399
  };
400
+ legendFormatter: {
401
+ type?: import("vue").PropType<string>;
402
+ default?: string;
403
+ };
404
+ legendWidth: {
405
+ type?: import("vue").PropType<any>;
406
+ default?: any;
407
+ };
408
+ legendHeight: {
409
+ type?: import("vue").PropType<any>;
410
+ default?: any;
411
+ };
412
+ legendTextWidth: {
413
+ type?: import("vue").PropType<any>;
414
+ default?: any;
415
+ };
416
+ legendScroll: {
417
+ type?: import("vue").PropType<boolean>;
418
+ default?: boolean;
419
+ };
390
420
  position: {
391
421
  type?: import("vue").PropType<string>;
392
422
  default?: string;
@@ -61,3 +61,10 @@ export declare const getFixedValueDatas: (graphicConfig: any) => {
61
61
  * @returns
62
62
  */
63
63
  export declare const canRequestIndicator: (graphicConfig: any, loadedData: any) => boolean;
64
+ /**
65
+ * 图表的图例格式化
66
+ * @param format 表达式
67
+ * @param textData 传入参数
68
+ * @returns 显示的图例文本
69
+ */
70
+ export declare const getLegendFormat: (format: string, textData: any) => string;