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 class="fee-distribution-chart" *ngIf="mempoolVsizeFeesOptions; else loadingFees">
 | 
				
			||||||
  <div echarts [options]="mempoolVsizeFeesOptions"></div>
 | 
					  <div echarts [initOpts]="mempoolVsizeFeesInitOptions" [options]="mempoolVsizeFeesOptions"></div>
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<ng-template #loadingFees>
 | 
					<ng-template #loadingFees>
 | 
				
			||||||
 | 
				
			|||||||
@ -14,6 +14,9 @@ export class FeeDistributionGraphComponent implements OnInit, OnChanges {
 | 
				
			|||||||
  @Input() left: number | string = 30;
 | 
					  @Input() left: number | string = 30;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  mempoolVsizeFeesOptions: any;
 | 
					  mempoolVsizeFeesOptions: any;
 | 
				
			||||||
 | 
					  mempoolVsizeFeesInitOptions = {
 | 
				
			||||||
 | 
					    renderer: 'svg'
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  constructor() { }
 | 
					  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';
 | 
					  @Input() template: ('widget' | 'advanced') = 'widget';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  mempoolStatsChartOption: EChartsOption = {};
 | 
					  mempoolStatsChartOption: EChartsOption = {};
 | 
				
			||||||
 | 
					  mempoolStatsChartInitOption = {
 | 
				
			||||||
 | 
					    renderer: 'svg'
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
  windowPreference: string;
 | 
					  windowPreference: string;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  constructor(
 | 
					  constructor(
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user