@@ -18,6 +18,7 @@ const dataset = ref([
1818 useArea: true ,
1919 dataLabels: true ,
2020 scaleSteps: 2 ,
21+ suffix: ' $'
2122 },
2223 {
2324 name: " Long name serie" ,
@@ -28,6 +29,7 @@ const dataset = ref([
2829 useArea: true ,
2930 dataLabels: true ,
3031 scaleSteps: 2 ,
32+ prefix: ' £'
3133 },
3234 {
3335 name: " S1" ,
@@ -161,7 +163,7 @@ const model = ref([
161163 { key: ' useCanvas' , def: false , type: ' checkbox' }, // DEPRECATED (removed)
162164 { key: ' useCssAnimation' , def: true , type: ' checkbox' , label: ' useCssAnimation' , category: ' general' },
163165 { key: ' chart.fontFamily' , def: ' inherit' , type: ' text' , label: ' fontFamily' , category: ' general' },
164- { key: ' chart.backgroundColor' , def: ' #FFFFFF00 ' , type: ' color' , label: ' backgroundColor' , category: ' general' },
166+ { key: ' chart.backgroundColor' , def: ' #FFFFFF ' , type: ' color' , label: ' backgroundColor' , category: ' general' },
165167 { key: ' chart.color' , def: ' #1A1A1A' , type: ' color' , label: ' textColor' , category: ' general' },
166168 { key: ' chart.height' , def: 600 , type: ' range' , min: 300 , max: 1000 , label: ' height' , category: ' general' },
167169 { key: ' chart.width' , def: 1000 , type: ' range' , min: 300 , max: 2000 , label: ' width' , category: ' general' },
@@ -325,6 +327,7 @@ const model = ref([
325327 { key: ' table.td.backgroundColor' , def: ' #FAFAFA' , type: ' color' , label: ' backgroundColorRow' , category: ' table' },
326328 { key: ' table.td.color' , def: ' #1A1A1A' , type: ' color' , label: ' textColorRow' , category: ' table' },
327329 { key: ' table.td.outline' , def: ' ' , type: ' text' , label: ' outlineRow' , category: ' table' },
330+ { key: ' table.showSum' , def: false , type: ' checkbox' },
328331
329332 { key: ' chart.comments.show' , def: true , type: ' checkbox' },
330333 { key: ' chart.comments.showInTooltip' , def: true , type: ' checkbox' },
@@ -379,28 +382,27 @@ const config = computed(() => {
379382 ... c .line ,
380383 labels: {
381384 ... c .line .labels ,
382- formatter : ({value, config}) => {
383- // console.log(config)
384- return ` f - ${ value} `
385- }
385+ // formatter: ({value, config}) => {
386+ // return `f - ${value}`
387+ // }
386388 }
387389 },
388390 plot: {
389391 ... c .plot ,
390392 labels: {
391393 ... c .plot .labels ,
392- formatter : ({value, config}) => {
393- return ` f - ${ value} `
394- }
394+ // formatter: ({value, config}) => {
395+ // return `f - ${value}`
396+ // }
395397 }
396398 },
397399 bar: {
398400 ... c .bar ,
399401 labels: {
400402 ... c .bar .labels ,
401- formatter : ({value, config}) => {
402- return ` f - ${ value} `
403- }
403+ // formatter: ({value, config}) => {
404+ // return `f - ${value}`
405+ // }
404406 }
405407 },
406408 chart: {
@@ -446,9 +448,9 @@ const config = computed(() => {
446448 ... c .chart .grid .labels ,
447449 yAxis: {
448450 ... c .chart .grid .labels .yAxis ,
449- formatter : ({value}) => {
450- return ` f - ${ value} `
451- }
451+ // formatter: ({value}) => {
452+ // return `f - ${value}`
453+ // }
452454 },
453455 xAxisLabels: {
454456 ... c .chart .grid .labels .xAxisLabels ,
0 commit comments