fix chart

This commit is contained in:
=
2020-06-17 09:53:40 +02:00
parent c249d7a9be
commit 8eed4ec2eb
@@ -1,6 +1,6 @@
<template>
<div class="chart">
<svg :viewBox="`${-2*step} ${-2*step} ${scaleX(maxX) *1.2 + step} ${scaleY(maxY) * 1.2}`">
<svg :viewBox="`${-2*step} ${-step} ${scaleX(maxX) *1.2 + step} ${scaleY(maxY) * 1.2}`">
<!-- posizione degli assi a 0,0 -->
<foreignObject x="-30" :y="scaleY(maxY)*1.06" width="30" height="30">
<label>0</label>