mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	fix chart rendering
This commit is contained in:
		
							parent
							
								
									ecd6fc1db8
								
							
						
					
					
						commit
						6a992b6982
					
				
					 2 changed files with 8 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -104,6 +104,10 @@ async function renderChart() {
 | 
			
		|||
					time: {
 | 
			
		||||
						stepSize: 1,
 | 
			
		||||
						unit: 'day',
 | 
			
		||||
						displayFormats: {
 | 
			
		||||
							day: 'M/d',
 | 
			
		||||
							month: 'Y/M',
 | 
			
		||||
						},
 | 
			
		||||
					},
 | 
			
		||||
					grid: {
 | 
			
		||||
						display: false,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -214,6 +214,10 @@ onMounted(async () => {
 | 
			
		|||
					time: {
 | 
			
		||||
						stepSize: 1,
 | 
			
		||||
						unit: 'day',
 | 
			
		||||
						displayFormats: {
 | 
			
		||||
							day: 'M/d',
 | 
			
		||||
							month: 'Y/M',
 | 
			
		||||
						},
 | 
			
		||||
					},
 | 
			
		||||
					grid: {
 | 
			
		||||
						display: false,
 | 
			
		||||
| 
						 | 
				
			
			@ -223,11 +227,6 @@ onMounted(async () => {
 | 
			
		|||
						maxRotation: 0,
 | 
			
		||||
						autoSkipPadding: 16,
 | 
			
		||||
					},
 | 
			
		||||
					adapters: {
 | 
			
		||||
						date: {
 | 
			
		||||
							locale: enUS,
 | 
			
		||||
						},
 | 
			
		||||
					},
 | 
			
		||||
					min: getDate(chartLimit).getTime(),
 | 
			
		||||
				},
 | 
			
		||||
				y: {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue