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 85c983da3c
commit febecbb94e

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>