Components

SwimDashboard

<SwimDashboard swimmerData swimEvent tableData clubName season />

Swim Dashboard converts the data fetched from the route 'swimmer', to a usable format to be used by the components (Linegraph,Analytics, Swimmertable/React Table).

Constructor

# <SwimDashboard swimmerData swimEvent tableData clubName season />

PropTypes:
Name Type Required Description Default
swimmerData arrayOf No Standardized JSON File structure Converted from Swimmer Component. It is an Array[Workbooks[Events[Swimmers[]]]]
swimEvent string Yes The name of the event
tableData arrayOf No Standardized JSON File structure Converted from Swimmer Component.
clubName string Yes The name of the club that is being graphed
season string No The season that data is being graphed from

View Source controllers/swimmerDashboard/swimmerDashboard.js, line 17