The path has a certain stroke
color which may change programatically. Can the marker's fill
also be the exact same as the path's stroke color? (I'll use javascript for this if I have to.)
相关问题
- Convert svg to geojson fails with ogr2ogr
- How to get coordinates of an svg?
- Changing color of SVG which was embedded using <
- Understanding svg's viewbox attribute
- Convert an inline SVG into a SVG file
相关文章
- Make marker-end same color as path?
- How to display unicode in SVG?
- Converting svg to png with inkscape command line f
- How to create an SVG Matrix without an SVG element
- rect collision detection d3js
- My background image get cut off at the bottom
- Unwanted namespaces on SVG markup when using XMLSe
- D3 grouped bar chart: How to rotate the text of x
Markers are independent from the paths they are applied to and don't inherit colours. Nor is there a way to automatically have their colours match the path.
You will have to set their colour explicitly.
IE and Firefox render markers color inherited from path, but Chrome does not.
I think it's a chrome bug.