Pass the LineChart named blocks through to callers of StatsTimeSeries

This commit is contained in:
Michael Lange 2021-03-15 11:52:28 -07:00
parent 46223e190e
commit 45ce4368c5
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@
@yFormat={{this.yFormat}}>
<:svg as |c|>
<c.Area @data={{@data}} @colorClass={{@chartClass}} />
{{yield c to="svg"}}
</:svg>
<:after as |c|>
<c.Tooltip class="is-snappy" as |series datum|>
@ -20,5 +21,6 @@
<span class="value">{{datum.formattedY}}</span>
</li>
</c.Tooltip>
{{yield c to="after"}}
</:after>
</LineChart>