Ghost/ghost/admin/app/components/dashboard/v5/chart-total-paid.hbs

17 lines
450 B
Handlebars
Raw Normal View History

<h4
class="gh-dashboard5-metric is-main"
{{did-insert this.loadCharts}}
{{did-update this.loadCharts @days}}
>
Total paid
</h4>
{{#if this.loading}}
2022-03-24 17:02:13 +03:00
<div class="gh-dashboard5-loading" style={{html-safe (concat "height: " this.chartHeight "px;")}}/>
{{else}}
<EmberChart
@type={{this.chartType}}
@data={{this.chartData}}
@options={{this.chartOptions}}
@height={{this.chartHeight}} />
{{/if}}