@@ -9,9 +9,9 @@ const source = ref({
99 base: 100 ,
1010 value: 25 ,
1111 series: [
12- { from: - 100 , to: 0 },
13- { from: 0 , to: 50 },
14- { from: 50 , to: 100 }
12+ { from: - 100 , to: 0 , name : ' series 1 is kinda long ' },
13+ { from: 0 , to: 50 , name : ' series 2 ' },
14+ { from: 50 , to: 100 , name : ' series 3 ' }
1515 ]
1616})
1717
@@ -112,7 +112,15 @@ const model = ref([
112112 { key: ' style.chart.title.subtitle.color' , def: ' #CCCCCC' , type: ' color' },
113113 { key: ' style.chart.title.subtitle.fontSize' , def: 16 , type: ' range' , min: 8 , max: 48 },
114114 { key: ' style.chart.title.subtitle.bold' , def: false , type: ' checkbox' },
115- { key: ' translations.base' , def: ' Base population' }
115+ { key: ' translations.base' , def: ' Base population' },
116+
117+ { key: ' style.chart.layout.segmentNames.show' , def: true , type: ' checkbox' },
118+ { key: ' style.chart.layout.segmentNames.curved' , def: true , type: ' checkbox' },
119+ { key: ' style.chart.layout.segmentNames.offsetRatio' , def: 1.1 , type: ' range' , min: 0.5 , max: 1.3 , step: 0.01 },
120+ { key: ' style.chart.layout.segmentNames.fontSize' , def: 16 , type: ' number' , min: 8 , max: 42 },
121+ { key: ' style.chart.layout.segmentNames.useSerieColor' , def: true , type: ' checkbox' },
122+ { key: ' style.chart.layout.segmentNames.color' , def: ' #1A1A1A' , type: ' color' },
123+ { key: ' style.chart.layout.segmentNames.bold' , def: false , type: ' checkbox' }
116124])
117125
118126const themeOptions = ref ([
0 commit comments