File tree Expand file tree Collapse file tree 2 files changed +62
-2
lines changed Expand file tree Collapse file tree 2 files changed +62
-2
lines changed Original file line number Diff line number Diff line change @@ -2849,8 +2849,56 @@ export function useConfig() {
2849
2849
hover : {
2850
2850
hideLabelsUnderValue : 5 ,
2851
2851
} ,
2852
- zoom : {
2853
- hideLabelsUnderValue : 3 ,
2852
+ } ,
2853
+ dialog : {
2854
+ show : true ,
2855
+ backgroundColor : COLOR_WHITE ,
2856
+ color : COLOR_BLACK ,
2857
+ header : {
2858
+ backgroundColor : COLOR_WHITE ,
2859
+ color : COLOR_BLACK
2860
+ } ,
2861
+ donutChart : {
2862
+ ...vue_ui_donut ,
2863
+ responsive : true ,
2864
+ userOptions : {
2865
+ ...vue_ui_donut . userOptions ,
2866
+ buttons : {
2867
+ ...vue_ui_donut . userOptions . buttons ,
2868
+ pdf : false ,
2869
+ }
2870
+ } ,
2871
+ style : {
2872
+ ...vue_ui_donut . style ,
2873
+ chart : {
2874
+ ...vue_ui_donut . style . chart ,
2875
+ layout : {
2876
+ ...vue_ui_donut . style . chart . layout ,
2877
+ donut : {
2878
+ ...vue_ui_donut . style . chart . layout . donut ,
2879
+ strokeWidth : 64 ,
2880
+ } ,
2881
+ labels : {
2882
+ ...vue_ui_donut . style . chart . layout . labels ,
2883
+ percentage : {
2884
+ ...vue_ui_donut . style . chart . layout . labels . percentage ,
2885
+ fontSize : 16
2886
+ } ,
2887
+ name : {
2888
+ ...vue_ui_donut . style . chart . layout . labels . name ,
2889
+ fontSize : 12
2890
+ } ,
2891
+ hollow : {
2892
+ ...vue_ui_donut . style . chart . layout . labels . hollow ,
2893
+ average : {
2894
+ ...vue_ui_donut . style . chart . layout . labels . hollow . average ,
2895
+ show : false ,
2896
+ } ,
2897
+ }
2898
+ }
2899
+ }
2900
+ }
2901
+ }
2854
2902
}
2855
2903
} ,
2856
2904
layout : {
Original file line number Diff line number Diff line change @@ -1193,10 +1193,22 @@ declare module "vue-data-ui" {
1193
1193
hover ?: {
1194
1194
hideLabelsUnderValue ?: number ;
1195
1195
} ;
1196
+ /** Deprecated since v2.12.4. Use style.chart.dialog */
1196
1197
zoom ?: {
1198
+ /** Deprecated since v2.12.4. Use style.chart.dialog */
1197
1199
hideLabelsUnderValue ?: number ;
1198
1200
}
1199
1201
} ;
1202
+ dialog ?: {
1203
+ show ?: boolean ;
1204
+ backgroundColor ?: string ;
1205
+ color ?: string ;
1206
+ header ?: {
1207
+ backgroundColor ?: string ;
1208
+ color ?: string ;
1209
+ } ;
1210
+ donutChart ?: VueUiDonutConfig ;
1211
+ } ;
1200
1212
layout ?: {
1201
1213
height ?: number ;
1202
1214
width ?: number ;
You can’t perform that action at this time.
0 commit comments