Ghost/ghost/admin/app/components/dashboard/v5/chart-monthly-revenue.hbs

15 lines
489 B
Handlebars
Raw Normal View History

<div class="gh-dashboard5-number"
{{did-insert this.loadCharts}}
{{did-update this.loadCharts @days}}
>$32</div>
<small class="gh-dashboard5-info">Monthly revenue (MMR)</small>
{{#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}}