feat: allow stroke color for yMarker
This commit is contained in:
parent
73f1d9b1e3
commit
e2d7ce8b21
@ -185,7 +185,7 @@ let componentConfigs = {
|
|||||||
makeElements(data) {
|
makeElements(data) {
|
||||||
return data.map(m =>
|
return data.map(m =>
|
||||||
yMarker(m.position, m.label, this.constants.width,
|
yMarker(m.position, m.label, this.constants.width,
|
||||||
{labelPos: m.options.labelPos, mode: 'span', lineType: 'dashed'})
|
{ labelPos: m.options.labelPos, stroke: m.options.stroke, mode: 'span', lineType: 'dashed' })
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
animateElements(newData) {
|
animateElements(newData) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user