feat: allow stroke color for yMarker

This commit is contained in:
Shivam Mishra 2020-10-26 12:25:58 +05:30
parent 73f1d9b1e3
commit e2d7ce8b21
2 changed files with 43 additions and 43 deletions

View File

@ -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) {