任一存 hai 1 ano
pai
achega
2fac28243d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/App.vue

+ 1 - 1
src/App.vue

@@ -608,7 +608,7 @@ export default {
         gNode.selectAll('text').data(idTextList).enter().append('text')
           .attr('x', (d) => d[0])
           .attr('y', (d) => d[1])
-          .attr('font-size', d => pointDistance * pxPerUnitLength / d.length)
+          .attr('font-size', d => pointDistance * pxPerUnitLength / d.length * 1.3)
           .attr("text-anchor", "middle")
           .attr("dominant-baseline", "middle")
           .attr("fill", "white")