Quick fix: don't show points in graph when > 100 bets
This commit is contained in:
parent
41b5dd2e38
commit
5944cada77
|
@ -83,7 +83,7 @@ export function ContractProbGraph(props: { contract: Contract; bets: Bet[] }) {
|
|||
format: (time) => formatTime(+time, lessThanAWeek),
|
||||
}}
|
||||
colors={{ datum: 'color' }}
|
||||
pointSize={10}
|
||||
pointSize={bets.length > 100 ? 0 : 10}
|
||||
pointBorderWidth={1}
|
||||
pointBorderColor="#fff"
|
||||
enableSlices="x"
|
||||
|
|
Loading…
Reference in New Issue
Block a user