bubble
This commit is contained in:
		
							parent
							
								
									1dec787062
								
							
						
					
					
						commit
						557afc348f
					
				| @ -280,7 +280,7 @@ | |||||||
|   </div> |   </div> | ||||||
|    |    | ||||||
|   <!-- Chart container --> |   <!-- Chart container --> | ||||||
|   <div style="position: relative; height: calc(100% - 50px); width: 100%;"> |   <div style="position: relative; height: calc(100% - 80px); width: 100%; padding: 0 10px 30px 10px;"> | ||||||
|     <!-- Loading indicator --> |     <!-- Loading indicator --> | ||||||
|     <div *ngIf="!dataLoaded" style="text-align: center; padding: 20px; color: #666; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; width: 100%;"> |     <div *ngIf="!dataLoaded" style="text-align: center; padding: 20px; color: #666; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; width: 100%;"> | ||||||
|       Loading data... |       Loading data... | ||||||
| @ -303,7 +303,8 @@ | |||||||
|     [style.top]="'0'" |     [style.top]="'0'" | ||||||
|     [style.left]="'0'" |     [style.left]="'0'" | ||||||
|     [style.height]="'100%'" |     [style.height]="'100%'" | ||||||
|     [style.width]="'100%'"> |     [style.width]="'100%'" | ||||||
|  |     [style.padding]="'0 10px 20px 10px'"> | ||||||
|   </canvas> |   </canvas> | ||||||
|   </div> |   </div> | ||||||
| </div> | </div> | ||||||
| @ -45,6 +45,11 @@ export class BubbleChartComponent implements OnInit, OnChanges { | |||||||
|         title: { |         title: { | ||||||
|           display: true, |           display: true, | ||||||
|           text: 'X Axis' |           text: 'X Axis' | ||||||
|  |         }, | ||||||
|  |         ticks: { | ||||||
|  |           autoSkip: false, | ||||||
|  |           maxRotation: 45, | ||||||
|  |           minRotation: 45 | ||||||
|         } |         } | ||||||
|       }, |       }, | ||||||
|       y: { |       y: { | ||||||
| @ -89,6 +94,15 @@ export class BubbleChartComponent implements OnInit, OnChanges { | |||||||
|         hoverRadius: 12, |         hoverRadius: 12, | ||||||
|         hoverBorderWidth: 3 |         hoverBorderWidth: 3 | ||||||
|       } |       } | ||||||
|  |     }, | ||||||
|  |     // Add padding to ensure x-axis labels are visible
 | ||||||
|  |     layout: { | ||||||
|  |       padding: { | ||||||
|  |         left: 10, | ||||||
|  |         right: 10, | ||||||
|  |         top: 10, | ||||||
|  |         bottom: 30 | ||||||
|  |       } | ||||||
|     } |     } | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user