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() {
28492849 hover : {
28502850 hideLabelsUnderValue : 5 ,
28512851 } ,
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+ }
28542902 }
28552903 } ,
28562904 layout : {
Original file line number Diff line number Diff line change @@ -1193,10 +1193,22 @@ declare module "vue-data-ui" {
11931193 hover ?: {
11941194 hideLabelsUnderValue ?: number ;
11951195 } ;
1196+ /** Deprecated since v2.12.4. Use style.chart.dialog */
11961197 zoom ?: {
1198+ /** Deprecated since v2.12.4. Use style.chart.dialog */
11971199 hideLabelsUnderValue ?: number ;
11981200 }
11991201 } ;
1202+ dialog ?: {
1203+ show ?: boolean ;
1204+ backgroundColor ?: string ;
1205+ color ?: string ;
1206+ header ?: {
1207+ backgroundColor ?: string ;
1208+ color ?: string ;
1209+ } ;
1210+ donutChart ?: VueUiDonutConfig ;
1211+ } ;
12001212 layout ?: {
12011213 height ?: number ;
12021214 width ?: number ;
You can’t perform that action at this time.
0 commit comments