javascript - Svg horizontal line does not appear in chrome with particular zoom level -
i have created bar graph using svg. there few horiztonal rulers svg line black stroke. issue below
- the horizontal rulers disappear when zoom 75% or 25%.
- the horizontal rulers dont disappear in other browsers
- the horizontal rulers dont disappear when rotated , made vertical.
observations:
- if initial zoom 75% , zoom out or zoom in lines appear
- but when zoom again equal or 75% or 25% lines disappear
images reference:
, 1 issue:
what's reason apply external schema? if replace horizontal line declaration following code survives zoom out
<line x1="0" y1="0" x2="100%" y2="0" class="black-line"></line> <line x1="0" y1="20%" x2="100%" y2="20%" class="black-line"></line> <line x1="0" y1="40%" x2="100%" y2="40%" class="black-line"></line> <line x1="0" y1="60%" x2="100%" y2="60%" class="black-line"></line> <line x1="0" y1="80%" x2="100%" y2="80%" class="black-line"></line> <line x1="0" y1="100%" x2="100%" y2="100%" class="black-line"></line>
Comments
Post a Comment