@@ -39,7 +39,7 @@ const canvas = ref<Svg>(SVG.SVG());
39
39
const viewbox = ref (1400 );
40
40
const querschnittGroup = ref (canvas .value .group ());
41
41
const fontfamily = " Roboto, Arial, Helvetica, sans-serif" ;
42
- const defaultFontSize = 24 ;
42
+ const defaultFontSize = 20 ;
43
43
const sheetId = " belastungsplan-messquerschnitt" ;
44
44
45
45
const farben = new Map <string , string >([
@@ -258,21 +258,21 @@ function drawStreetName() {
258
258
SVG .SVG ()
259
259
.text (` ${getStreetnameOrDefalutIfEmpty ()} ` )
260
260
.move (startX .value , startY .value + 425 )
261
- .font ({ anchor: " middle" , size: defaultFontSize })
261
+ .font ({ anchor: " middle" , size: 20 })
262
262
.rotate (270 , startX .value , startY .value + 425 )
263
263
);
264
264
}
265
265
266
266
function getStreetnameOrDefalutIfEmpty() {
267
267
return props .belastungsplanData .strassenname
268
268
? props .belastungsplanData .strassenname
269
- : " nicht vorhanden " ;
269
+ : " unbekannt " ;
270
270
}
271
271
272
272
function drawTotal() {
273
273
addTextNorthSide (
274
274
startX .value ,
275
- startY .value - 20 ,
275
+ startY .value - 10 ,
276
276
props .belastungsplanData .totalKfz ,
277
277
props .belastungsplanData .totalGv ,
278
278
props .belastungsplanData .totalSv ,
@@ -283,7 +283,7 @@ function drawTotal() {
283
283
);
284
284
addTextSouthSide (
285
285
startX .value ,
286
- startY .value + 923 ,
286
+ startY .value + 910 ,
287
287
props .belastungsplanData .totalKfz ,
288
288
props .belastungsplanData .totalGv ,
289
289
props .belastungsplanData .totalSv ,
@@ -331,7 +331,7 @@ function drawArrowsPointingNorth(
331
331
);
332
332
addTextSouthSide (
333
333
startX .value ,
334
- startY .value + 923 ,
334
+ startY .value + 910 ,
335
335
mq .sumKfz ,
336
336
mq .sumGv ,
337
337
mq .sumSv ,
@@ -384,7 +384,7 @@ function addSumNorthIfNecessary(
384
384
);
385
385
addTextSouthSide (
386
386
startX .value - 20 ,
387
- startY .value + 923 ,
387
+ startY .value + 910 ,
388
388
sumMqKfz ,
389
389
sumMqGv ,
390
390
sumMqSv ,
@@ -735,8 +735,8 @@ function drawLinienStaerke() {
735
735
anchor: " middle" ,
736
736
});
737
737
})
738
- .x (1020 )
739
- .dy (startY .value + 1045 );
738
+ .x (1030 )
739
+ .dy (startY .value + 1040 );
740
740
const text2 = SVG .SVG ()
741
741
.text ((add ) => {
742
742
add .tspan (` ${high } ` ).font ({
@@ -745,8 +745,8 @@ function drawLinienStaerke() {
745
745
anchor: " middle" ,
746
746
});
747
747
})
748
- .x (1100 )
749
- .dy (startY .value + 1045 );
748
+ .x (1095 )
749
+ .dy (startY .value + 1040 );
750
750
751
751
canvas .value .add (groupPath ).add (text1 ).add (text2 );
752
752
}
@@ -757,7 +757,7 @@ const getZeitauswahlText = computed(() => {
757
757
758
758
const getZeitblockText = computed (() => {
759
759
if (chosenOptionsCopy .value .zeitauswahl == Zeitauswahl .TAGESWERT ) {
760
- return " 0 - 24 Uhr" ;
760
+ return " 0- 24 Uhr" ;
761
761
} else if (chosenOptionsCopy .value .zeitauswahl == Zeitauswahl .BLOCK ) {
762
762
return zeitblockInfo .get (chosenOptionsCopy .value .zeitblock )?.title ;
763
763
} else if (chosenOptionsCopy .value .zeitauswahl == Zeitauswahl .STUNDE ) {
0 commit comments