Closed ckalas closed 6 years ago
Can you put the example on a jsfiddle
here is an example from someone else, by adding stroke: 'black'
to line 32 of the js and or removing the css colours for the data-arc
classes you can see the issue.
That works fine and turns it black, as long as the overriding class in the css is removed.
when I remove the class from the attribute and add a stroke, I don't see anything drawn.
You need to put a fiddle up showing the exact problem.
it worked now when I did attrs = { style: "stroke: xxxxx"} instead of attrs = {stroke: xxxx}
I am trying to set the stroke colour of a path like so:
But this does nothing. If I set the class and use a css style it colours the stroke, but I can't use this method to colour the path an arbitrary colour at run time.