Switch to a different color scheme
This commit is contained in:
		
							parent
							
								
									6f2e2a3bbb
								
							
						
					
					
						commit
						26a2eb2391
					
				|  | @ -105,7 +105,14 @@ export const AnswersGraph = memo(function AnswersGraph(props: { | |||
|           tickValues: numXTickValues, | ||||
|           format: (time) => formatTime(+time, multiYear, lessThanAWeek, false), | ||||
|         }} | ||||
|         colors={{ scheme: 'pastel1' }} | ||||
|         colors={[ | ||||
|           '#fca5a5', // red-300
 | ||||
|           '#93c5fd', // blue-300
 | ||||
|           '#86efac', // green-300
 | ||||
|           '#f9a8d4', // pink-300
 | ||||
|           '#a5b4fc', // indigo-300
 | ||||
|           '#fcd34d', // amber-300
 | ||||
|         ]} | ||||
|         pointSize={0} | ||||
|         curve="stepAfter" | ||||
|         enableSlices="x" | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user