2021-02-13 03:41:14 +00:00
|
|
|
<div data-test-annotations class="line-chart-annotations" style={{this.chartAnnotationsStyle}} ...attributes>
|
|
|
|
{{#each this.processed key=@key as |annotation|}}
|
2021-02-26 01:50:35 +00:00
|
|
|
<div data-test-annotation class="chart-vertical-annotation {{annotation.iconClass}} {{annotation.staggerClass}}" style={{annotation.style}}>
|
2021-02-13 03:41:14 +00:00
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
title={{annotation.label}}
|
2021-03-10 00:46:49 +00:00
|
|
|
class="indicator {{if annotation.isActive "is-active"}}"
|
2021-02-13 03:41:14 +00:00
|
|
|
{{on "click" (fn this.selectAnnotation annotation.annotation)}}>
|
|
|
|
{{x-icon annotation.icon}}
|
|
|
|
</button>
|
|
|
|
<div class="line" />
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|