2022-03-29 18:53:50 +03:00
|
|
|
<div class="gh-dashboard5-number"
|
2022-03-24 17:32:34 +03:00
|
|
|
{{did-insert this.loadCharts}}
|
|
|
|
{{did-update this.loadCharts @days}}
|
2022-03-29 18:53:50 +03:00
|
|
|
>$32</div>
|
|
|
|
<small class="gh-dashboard5-info">Monthly revenue (MMR)</small>
|
|
|
|
|
2022-03-23 18:38:16 +03:00
|
|
|
{{#if this.loading}}
|
2022-03-24 17:02:13 +03:00
|
|
|
<div class="gh-dashboard5-loading" style={{html-safe (concat "height: " this.chartHeight "px;")}}/>
|
2022-03-23 18:38:16 +03:00
|
|
|
{{else}}
|
2022-03-24 17:32:34 +03:00
|
|
|
<EmberChart
|
2022-03-23 18:38:16 +03:00
|
|
|
@type={{this.chartType}}
|
|
|
|
@data={{this.chartData}}
|
|
|
|
@options={{this.chartOptions}}
|
|
|
|
@height={{this.chartHeight}} />
|
|
|
|
{{/if}}
|