import { Component } from '@angular/core';
import { G2CardModule } from '@delon/chart/card';
import { TrendModule } from '@delon/chart/trend';
import { NzToolTipModule } from 'ng-zorro-antd/tooltip';
@Component({
selector: 'chart-card-style1',
template: `
<g2-card
[title]="'销售额'"
[bordered]="true"
[total]="'¥ 126,560.00'"
footer="日访问量 12,423"
contentHeight="46"
[action]="action"
>
<ng-template #action>
<i nz-tooltip nzTooltipTitle="指标说明" nz-icon nzType="info-circle"></i>
</ng-template>
周同比
<trend flag="up" style="margin: 0 16px 0 8px; color: rgba(0,0,0,.85)">12%</trend>
日环比
<trend flag="down" style="margin: 0 0 0 8px; color: rgba(0,0,0,.85)">11%</trend>
</g2-card>
`,
standalone: true,
imports: [G2CardModule, NzToolTipModule, TrendModule]
})
export class ChartCardStyle1Component {}