@@ -80,7 +80,11 @@ const model = ref([
8080 { key: ' style.chart.layout.markers.bold' , def: true , type: ' checkbox' },
8181 { key: ' style.chart.layout.markers.fontSizeRatio' , def: 1 , type: ' range' , min: 0 , max: 2 , step: 0.01 },
8282 { key: ' style.chart.layout.markers.offsetY' , def: 0 , type: ' number' , min: - 100 , max: 100 },
83- { key: ' style.chart.layout.markers.roundingVale' , def: 0 , type: ' number' , min: 0 , max: 12 },
83+ { key: ' style.chart.layout.markers.roundingValue' , def: 0 , type: ' number' , min: 0 , max: 12 },
84+ { key: ' style.chart.layout.markers.show' , def: true , type: ' checkbox' },
85+ { key: ' style.chart.layout.markers.prefix' , def: ' P' , type: ' text' },
86+ { key: ' style.chart.layout.markers.suffix' , def: ' S' , type: ' text' },
87+
8488 { key: ' style.chart.layout.pointer.type' , def: ' pointy' , type: ' select' , options: [' rounded' , ' pointy' ]},
8589 { key: ' style.chart.layout.pointer.size' , def: 1 , type: ' range' , min: 0.2 , max: 1.5 , step: 0.01 },
8690 { key: ' style.chart.layout.pointer.stroke' , def: ' #FFFFFF' , type: ' color' },
@@ -98,6 +102,8 @@ const model = ref([
98102 { key: ' style.chart.legend.showPlusSymbol' , def: true , type: ' checkbox' },
99103 { key: ' style.chart.legend.useRatingColor' , def: true , type: ' checkbox' },
100104 { key: ' style.chart.legend.color' , def: ' #1A1A1A' , type: ' color' },
105+ { key: ' style.chart.legend.show' , def: true , type: ' checkbox' },
106+
101107 { key: ' style.chart.title.text' , def: ' Lorem ipsum dolor amet' , type: ' text' },
102108 { key: ' style.chart.title.color' , def: ' #1A1A1A' , type: ' color' },
103109 { key: ' style.chart.title.fontSize' , def: 20 , type: ' range' , min: 8 , max: 48 },
@@ -127,6 +133,15 @@ const config = computed(() => {
127133 ... c .style ,
128134 chart: {
129135 ... c .style .chart ,
136+ layout: {
137+ ... c .style .chart .layout ,
138+ markers: {
139+ ... c .style .chart .layout .markers ,
140+ formatter : ({ value }) => {
141+ return ' V | ' + value
142+ }
143+ }
144+ },
130145 legend: {
131146 ... c .style .chart .legend ,
132147 formatter : ({value}) => {
0 commit comments