gabrielgiussi / cappio

1 stars 0 forks source link

Move x axis only when is needed #109

Open gabrielgiussi opened 4 years ago

gabrielgiussi commented 4 years ago

The number 12 is the number of steps that enter in a screen (from open the app and count 🤦‍♂).

It should be calculated based on the round width and the width of the div svg-diagram

document.getElementById("svg-diagram").offsetWidth