Merge branch 'linechart-auto-height' of git://github.com/martinlindhe/termui into martinlindhe-linechart-auto-height
This commit is contained in:
		
						commit
						4a1616ff65
					
				@ -225,6 +225,9 @@ func (lc *LineChart) calcLayout() {
 | 
			
		||||
	lc.minY = lc.Data[0]
 | 
			
		||||
	lc.maxY = lc.Data[0]
 | 
			
		||||
 | 
			
		||||
	lc.bottomValue = lc.minY
 | 
			
		||||
	lc.topValue = lc.maxY
 | 
			
		||||
 | 
			
		||||
	// valid visible range
 | 
			
		||||
	vrange := lc.innerArea.Dx()
 | 
			
		||||
	if lc.Mode == "braille" {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user