holger
05-31-2004, 07:02 AM
Hi all
ive got a little problem here and i would be happy if anyone could tell me whats wrong.
i create a simple barchart via asp.everything works fine.so i have this dropshadow filter.
which works nearly perfect.if i try to apply the filter to rectangles of a certain height,the
rect will not render !?!?!?!?!?!?!?!?!?
here is a simplified example: the first rect renders correctly,the second does not render at all.
<svg>
<defs>
<filter id="Gaussian_Blur2" width="200" height="200">
<feGaussianBlur in="SourceAlpha" result="abc" stdDeviation="4" />
<feOffset dx="3" dy="2" result="def" in="abc"/>
</filter>
</defs>
<g transform="translate(100,100)">
<g transform="translate(0,200) scale(1,-1)">
<rect rx="18" ry="18" stroke="black" stroke-width="2" opacity="0.6" filter="url(#Gaussian_Blur2)" fill="goldenrod" x="89" y="0" width="36" height="201"/>
</g>
<text font-size="12" font-weight="900" fill="blue" x="107" y="-5" text-anchor="middle" >22</text>
<g transform="translate(0,200) scale(1,-1)">
<rect rx="18" ry="18" stroke="black" stroke-width="2" opacity="0.6" filter="url(#Gaussian_Blur2)" fill="goldenrod" x="160" y="0" width="36" height="165"/>
</g>
<text font-size="12" font-weight="900" fill="blue" x="178" y="31" text-anchor="middle" >18</text>
</g>
</svg>
but here comes the fun of it... just change the height of the second rect from 165 to 166 and everything works perfect again.
could someone please try to explain,im realy going mad about this one...
please help
thanks
Holger
ive got a little problem here and i would be happy if anyone could tell me whats wrong.
i create a simple barchart via asp.everything works fine.so i have this dropshadow filter.
which works nearly perfect.if i try to apply the filter to rectangles of a certain height,the
rect will not render !?!?!?!?!?!?!?!?!?
here is a simplified example: the first rect renders correctly,the second does not render at all.
<svg>
<defs>
<filter id="Gaussian_Blur2" width="200" height="200">
<feGaussianBlur in="SourceAlpha" result="abc" stdDeviation="4" />
<feOffset dx="3" dy="2" result="def" in="abc"/>
</filter>
</defs>
<g transform="translate(100,100)">
<g transform="translate(0,200) scale(1,-1)">
<rect rx="18" ry="18" stroke="black" stroke-width="2" opacity="0.6" filter="url(#Gaussian_Blur2)" fill="goldenrod" x="89" y="0" width="36" height="201"/>
</g>
<text font-size="12" font-weight="900" fill="blue" x="107" y="-5" text-anchor="middle" >22</text>
<g transform="translate(0,200) scale(1,-1)">
<rect rx="18" ry="18" stroke="black" stroke-width="2" opacity="0.6" filter="url(#Gaussian_Blur2)" fill="goldenrod" x="160" y="0" width="36" height="165"/>
</g>
<text font-size="12" font-weight="900" fill="blue" x="178" y="31" text-anchor="middle" >18</text>
</g>
</svg>
but here comes the fun of it... just change the height of the second rect from 165 to 166 and everything works perfect again.
could someone please try to explain,im realy going mad about this one...
please help
thanks
Holger