@@ -77,24 +77,30 @@ const model = ref([
7777 { key: ' title.subtitle.color' , def: ' #1A1A1A' , type: ' color' },
7878 { key: ' title.subtitle.fontSize' , def: 14 , type: ' number' , min: 8 , max: 48 },
7979 { key: ' title.subtitle.bold' , def: false , type: ' checkbox' },
80+
8081 { key: ' thead.backgroundColor' , def: ' #FFFFFF' , type: ' color' },
8182 { key: ' thead.color' , def: ' #1A1A1A' , type: ' color' },
8283 { key: ' thead.fontSize' , def: 14 , type: ' number' , min: 8 , max: 24 },
83- { key: ' thead.outline' , def: ' solid ' , type: ' text' },
84+ { key: ' thead.outline' , def: ' none ' , type: ' text' },
8485 { key: ' thead.textAlign' , def: ' right' , type: ' select' , options: [' left' , ' center' , ' right' ]},
8586 { key: ' thead.bold' , def: false , type: ' checkbox' },
8687 { key: ' tbody.backgroundColor' , def: ' #BBBBBB' , type: ' color' },
8788 { key: ' tbody.color' , def: ' #1A1A1A' , type: ' color' },
8889 { key: ' tbody.fontSize' , def: 14 , type: ' number' , min: 8 , max: 24 },
89- { key: ' tbody.outline' , def: ' solid ' , type: ' text' },
90+ { key: ' tbody.outline' , def: ' none ' , type: ' text' },
9091 { key: ' tbody.textAlign' , def: ' right' , type: ' select' , options: [' left' , ' center' , ' right' ]},
9192 { key: ' tbody.bold' , def: false , type: ' checkbox' },
9293
9394 { key: ' tbody.selectedColor.useSerieColor' , def: true , type: ' checkbox' },
9495 { key: ' tbody.selectedColor.fallback' , def: ' #E1E5E840' , type: ' text' },
9596
9697 { key: ' sparkline.dimensions.width' , def: 150 , min: 100 , max: 300 , type: ' number' },
97- { key: ' sparkline.dimensions.heightRatio' , def: 1 , type: ' number' , min: 0.2 , max: 2 , step: 0.01 }
98+ { key: ' sparkline.dimensions.heightRatio' , def: 1 , type: ' number' , min: 0.2 , max: 2 , step: 0.01 },
99+
100+ { key: ' sortedSeriesName' , def: true , type: ' checkbox' },
101+ { key: ' sortedSum' , def: true , type: ' checkbox' },
102+ { key: ' sortedAverage' , def: true , type: ' checkbox' },
103+ { key: ' sortedMedian' , def: true , type: ' checkbox' },
98104])
99105
100106const themeOptions = ref ([
@@ -116,7 +122,8 @@ const config = computed(() => {
116122 // },
117123 theme: currentTheme .value ,
118124 customPalette: [' #6376DD' , " #DD3322" , " #66DDAA" ],
119- colNames: [' A' , ' B' , ' C' , ' D' , ' E' ]
125+ colNames: [' A' , ' B' , ' C' , ' D' , ' E' ],
126+ sortedDataColumnIndices: [0 , 1 , 2 ],
120127 }
121128})
122129
0 commit comments