I am working on a variant of a rectangular water chart of old d3v3 water oils.
This almost works, but I noticed that if the value exceeds 90, the entire wave block shunts / animates. I don’t know why, but I feel that this is a calculation problem with
waveGroup.attr('transform','translate('+waveGroupXPosition+','+waveRiseScale(fillPercent)+')');
fillPercent goes above 0.9 - it brings the load to life.
// current code - value 70 http://jsfiddle.net/xpb0hsey/3/
// current code - value 90 http://jsfiddle.net/xpb0hsey/1/
// current code - value 99 http://jsfiddle.net/xpb0hsey/3/
// old code http://jsfiddle.net/0ht35rpb/166
- and old calibration charts from v3
http://bl.ocks.org/brattonc/5e5ce9beee483220e2f6
- - , , - ... 99 - ?
:
Source: https://habr.com/ru/post/1684920/More articles:Convert int to char in C - cwatermark error d3.js - javascriptd3: - javascriptGetting NoSuchElementError on check to check if modal is open or not - javascriptКак решить: Ошибка: выполнение выполнено для задачи ': app: kaptDebugKotlin'? - javaКак можно блокировать структурированный атомный тип? - c++What is the leak of space? - memory-leaksd3.js - updating the timeline to v4 - error brushes - javascriptd3 errors in diagrams on diagrams - maneuvering height error - javascriptМедленная запись базы данных с использованием `mysqldump` - mysqlAll Articles