mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +03:00
8fe18d7e30
* Basic work to combine the three line graphs for the new dashboard refs: https://github.com/TryGhost/Team/issues/1467 - combined three line graphs into one main one at the top - still working on this, so some code is a little rough * Tidying up a few bits of consolidated graph in new dashboard refs: https://github.com/TryGhost/Team/issues/1467 * Updated chart anchor component for removed member counts no issue * Updated chart paid members to not reload on days change no refs * Moved did-insert to top element in chart-anchor * Fixed chart anchor to use filled member data * Replaced chart anchor divs with buttons * Tweaking up the paid graphs below anchor to improve visuals refs: https://github.com/TryGhost/Team/issues/1467 * Fixed missing type attributes on buttons in chart anchor * Updated MMR to MRR for the new consolidated graph refs: https://github.com/TryGhost/Team/issues/1467 * Added real MRR to chart anchor * Added open rate percentage data to chart email Co-authored-by: Simon Backx <simon@ghost.org>
17 lines
463 B
Handlebars
17 lines
463 B
Handlebars
<small
|
|
class="gh-dashboard5-info is-solo"
|
|
{{did-insert this.loadCharts}}
|
|
>Paid members</small>
|
|
|
|
{{#if this.loading}}
|
|
<div class="gh-dashboard5-loading" style={{html-safe (concat "height: " this.chartHeight "px;")}}/>
|
|
{{else}}
|
|
<div class="gh-dashboard5-chart">
|
|
<EmberChart
|
|
@type={{this.chartType}}
|
|
@data={{this.chartData}}
|
|
@options={{this.chartOptions}}
|
|
@height={{150}} />
|
|
</div>
|
|
{{/if}}
|