Safestr the annotation style property

This commit is contained in:
Michael Lange
2020-08-04 23:01:56 -07:00
parent eb7a4f2fe3
commit fe115dbc41

View File

@@ -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' : '',