mirror of
https://github.com/mempool/mempool.git
synced 2025-01-19 05:34:03 +01:00
Change renderer to svg.
This commit is contained in:
parent
9020c618f0
commit
34695146ee
@ -1,5 +1,5 @@
|
||||
<div class="fee-distribution-chart" *ngIf="mempoolVsizeFeesOptions; else loadingFees">
|
||||
<div echarts [options]="mempoolVsizeFeesOptions"></div>
|
||||
<div echarts [initOpts]="mempoolVsizeFeesInitOptions" [options]="mempoolVsizeFeesOptions"></div>
|
||||
</div>
|
||||
|
||||
<ng-template #loadingFees>
|
||||
|
@ -14,6 +14,9 @@ export class FeeDistributionGraphComponent implements OnInit, OnChanges {
|
||||
@Input() left: number | string = 30;
|
||||
|
||||
mempoolVsizeFeesOptions: any;
|
||||
mempoolVsizeFeesInitOptions = {
|
||||
renderer: 'svg'
|
||||
};
|
||||
|
||||
constructor() { }
|
||||
|
||||
|
@ -1 +1 @@
|
||||
<div class="echarts" echarts [options]="mempoolStatsChartOption"></div>
|
||||
<div class="echarts" echarts [initOpts]="mempoolStatsChartInitOption" [options]="mempoolStatsChartOption"></div>
|
||||
|
@ -19,6 +19,9 @@ export class IncomingTransactionsGraphComponent implements OnInit, OnChanges {
|
||||
@Input() template: ('widget' | 'advanced') = 'widget';
|
||||
|
||||
mempoolStatsChartOption: EChartsOption = {};
|
||||
mempoolStatsChartInitOption = {
|
||||
renderer: 'svg'
|
||||
};
|
||||
windowPreference: string;
|
||||
|
||||
constructor(
|
||||
|
Loading…
Reference in New Issue
Block a user