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;
|
prevX = x;
|
||||||
return {
|
return {
|
||||||
annotation,
|
annotation,
|
||||||
style: `transform:translate(${x}px,${y}px)`,
|
style: `transform:translate(${x}px,${y}px)`.htmlSafe(),
|
||||||
icon: iconFor[annotation.type],
|
icon: iconFor[annotation.type],
|
||||||
iconClass: iconClassFor[annotation.type],
|
iconClass: iconClassFor[annotation.type],
|
||||||
staggerClass: prevHigh ? 'is-staggered' : '',
|
staggerClass: prevHigh ? 'is-staggered' : '',
|
||||||
|
|
Loading…
Reference in New Issue