Safestr the annotation style property
This commit is contained in:
parent
ebdb0c4101
commit
033618c46e
|
@ -306,7 +306,7 @@ export default class LineChart extends Component.extend(WindowResizable) {
|
|||
prevX = x;
|
||||
return {
|
||||
annotation,
|
||||
style: `transform:translate(${x}px,${y}px)`,
|
||||
style: `transform:translate(${x}px,${y}px)`.htmlSafe(),
|
||||
icon: iconFor[annotation.type],
|
||||
iconClass: iconClassFor[annotation.type],
|
||||
staggerClass: prevHigh ? 'is-staggered' : '',
|
||||
|
|
Loading…
Reference in a new issue