Merge pull request #845 from MiguelMedeiros/add-dashed-line
Add mark line to mempool chart.
This commit is contained in:
		
						commit
						3006deae6e
					
				@ -133,7 +133,7 @@ export class IncomingTransactionsGraphComponent implements OnInit, OnChanges {
 | 
			
		||||
            symbol: 'none',
 | 
			
		||||
            lineStyle: {
 | 
			
		||||
              color: '#fff',
 | 
			
		||||
              opacity: 0.75,
 | 
			
		||||
              opacity: 1,
 | 
			
		||||
              width: 2,
 | 
			
		||||
            },
 | 
			
		||||
            data: [{
 | 
			
		||||
 | 
			
		||||
@ -129,6 +129,22 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
 | 
			
		||||
              opacity: 0.85,
 | 
			
		||||
            },
 | 
			
		||||
          },
 | 
			
		||||
          markLine: {
 | 
			
		||||
            silent: true,
 | 
			
		||||
            symbol: 'none',
 | 
			
		||||
            lineStyle: {
 | 
			
		||||
              color: '#fff',
 | 
			
		||||
              opacity: 1,
 | 
			
		||||
              width: this.inverted ? 2 : 0,
 | 
			
		||||
            },
 | 
			
		||||
            data: [{
 | 
			
		||||
              yAxis: '1000000',
 | 
			
		||||
              label: {
 | 
			
		||||
                show: false,
 | 
			
		||||
                color: '#ffffff',
 | 
			
		||||
              }
 | 
			
		||||
            }],
 | 
			
		||||
          },
 | 
			
		||||
          areaStyle: {
 | 
			
		||||
            color: chartColors[index],
 | 
			
		||||
            opacity: 1,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user