Updated interact methodology
Before, seeing exactly what number was on the chart required you to hover you mouse on the point exactly. Now, you can hover anywhere on the chart and it will tell you the the point closest to your mouse
This commit is contained in:
		
							parent
							
								
									dbb895c32c
								
							
						
					
					
						commit
						6b5419b657
					
				| @ -51,6 +51,10 @@ function populateChart() { | |||||||
|             }] |             }] | ||||||
|         }, |         }, | ||||||
|         options: { |         options: { | ||||||
|  |             interaction: { | ||||||
|  |                 intersect: false, | ||||||
|  |                 mode: "index" | ||||||
|  |             }, | ||||||
|             scales: { |             scales: { | ||||||
|                 x: { |                 x: { | ||||||
|                     type: 'time', |                     type: 'time', | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user