Ghost/ghost/admin/app/components/gh-members-chart.hbs

11 lines
366 B
Handlebars
Raw Normal View History

2021-02-19 18:17:49 +03:00
<div class="gh-dashboard-chart-box {{if this.isSmall "small"}}" {{did-insert (perform this.fetchStatsTask)}}>
2021-02-19 12:39:13 +03:00
{{#if (not this.stats)}}
<GhLoadingSpinner />
{{else}}
<EmberChart
@type={{this.type}}
2021-02-19 12:39:13 +03:00
@options={{this.chartOptions}}
@data={{this.chartData}}
@height={{300}} />
{{/if}}
</div>