creating a control chart with x̄ and r values using chart.js