【发布时间】:2017-10-18 10:48:48
【问题描述】:
我有一个用 dimpleJS 制作的矩形,需要用虚线而不是纯色填充框。这可能使用 svg、css 和/或 jquery 吗?矩形在下方。
<rect id="dimple-not-working-on-an-associate-s-degree-2008-not-working-on-an-associate-s-degree---" class="dimple-series-0 dimple-bar dimple-not-working-on-an-associate-s-degree dimple-2008 dimple-not-working-on-an-associate-s-degree dimple-custom-series-bar dimple-custom-format-1" x="183.5" y="128.4" width="18" height="141.6" opacity="0.8" style="fill: rgb(92, 186, 230); stroke: rgb(77, 156, 192);" fill="#5cbae6" stroke="rgb(77, 156, 192)"></rect>
【问题讨论】:
-
用图案填充它。在图案中画出你想要的任何虚线。
-
如何用图案填充它?那是svg还是css?非常感谢