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',
 | 
					            symbol: 'none',
 | 
				
			||||||
            lineStyle: {
 | 
					            lineStyle: {
 | 
				
			||||||
              color: '#fff',
 | 
					              color: '#fff',
 | 
				
			||||||
              opacity: 0.75,
 | 
					              opacity: 1,
 | 
				
			||||||
              width: 2,
 | 
					              width: 2,
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            data: [{
 | 
					            data: [{
 | 
				
			||||||
 | 
				
			|||||||
@ -129,6 +129,22 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
 | 
				
			|||||||
              opacity: 0.85,
 | 
					              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: {
 | 
					          areaStyle: {
 | 
				
			||||||
            color: chartColors[index],
 | 
					            color: chartColors[index],
 | 
				
			||||||
            opacity: 1,
 | 
					            opacity: 1,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user