Switch to a different color scheme

This commit is contained in:
Austin Chen 2022-08-25 22:31:03 -07:00 committed by mantikoros
parent 488b442f66
commit b2362769a5

View File

@ -105,7 +105,14 @@ export const AnswersGraph = memo(function AnswersGraph(props: {
tickValues: numXTickValues, tickValues: numXTickValues,
format: (time) => formatTime(+time, multiYear, lessThanAWeek, false), 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} pointSize={0}
curve="stepAfter" curve="stepAfter"
enableSlices="x" enableSlices="x"