fix chart
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user