SaltieRL / DistributedReplays

👨‍💻 Rocket League Replay Collection and Analysis Server that powers calculated.gg

Home Page:https://calculated.gg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

1v1 stats are just lines. Should be all bar graphs

Sciguymjm opened this issue · comments

and pie charts probably

commented

PenguinTD here.

In https://github.com/SaltieRL/DistributedReplays/blob/master/webapp/src/Components/Shared/Charts/StatChart.tsx

add const numberOfPlayers = this.props.basicStat.chartDataPoints.length for type radar so it returns either ColoredPieChart or ColoredBarChart if numberOfPlayers is 2.

I don't have PC setup to do tests locally, so it's better for you guys to modify.