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:

  1. if initial zoom 75% , zoom out or zoom in lines appear
  2. but when zoom again equal or 75% or 25% lines disappear

jsbin link

images reference: enter image description here
, 1 issue: enter image description here

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

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -