9c73d03332
Now chart primitives are partially applied by LineChart but the invocations are left to the caller.
17 lines
400 B
Handlebars
17 lines
400 B
Handlebars
<LineChart
|
|
@data={{@data}}
|
|
@xProp="timestamp"
|
|
@yProp="percent"
|
|
@chartClass={{@chartClass}}
|
|
@timeseries={{true}}
|
|
@title="Stats Time Series Chart"
|
|
@description={{this.description}}
|
|
@xScale={{this.xScale}}
|
|
@yScale={{this.yScale}}
|
|
@xFormat={{this.xFormat}}
|
|
@yFormat={{this.yFormat}}>
|
|
<:svg as |c|>
|
|
<c.Area @data={{@data}} @colorClass={{@chartClass}} />
|
|
</:svg>
|
|
</LineChart>
|