You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/09/10 08:38:03 UTC

[GitHub] [echarts] Ovilia removed a comment on issue #12614: svg方式渲染折线图时,当数据源的所有数据值相同时,阴影失效,且影响了线条的展示

Ovilia removed a comment on issue #12614:
URL: https://github.com/apache/echarts/issues/12614#issuecomment-916720180


   It seems to be a bug with SVG rendering in some Browsers. Tested with Chrome (failed), Firefox (failed), and Safari (OK) under Mac.
   Reported at https://bugs.chromium.org/p/chromium/issues/detail?id=1247310#c2
   
   Minimal SVG to reproduce:
   
   ```xml
   <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="800" height="400">
       <path
           d="M 100 100 L 500 100"
           fill="none"
           stroke="red"
           stroke-width="3"
           style="filter: url('#f');"
       ></path>
       <defs>
           <filter id="f">
               <feDropShadow dx="20" dy="20" flood-opacity="1" stdDeviation="10 10"></feDropShadow>
           </filter>
       </defs>
   </svg>
   ``` 
   
   The above code renders nothing but if we change the `d` to be `d="M 100 100 L 100 200"`, it renders the line along with the shadow.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org