Maths

Bar Chart

class BarChart(props)

Bar chart component using Chart.js

BarChart.componentDidMount()

Load data from react properties

BarChart.componentDidUpdate()

Re-apply data to chart on update

Pie Chart

class PieChart(props)

Pie chart component using Chart.js

PieChart.componentDidMount()

Load data from react properties

PieChart.componentDidUpdate()

Re-apply data to chart on update