Reputation: 18918
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.)
Upvotes: 12
Views: 3690
Reputation: 25399
IE and Firefox render markers color inherited from path, but Chrome does not.
I think it's a chrome bug.
Upvotes: 2
Reputation: 101868
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.
Upvotes: 6