const annotation2 = {
type: 'line',
borderColor: 'rgba(102, 102, 102, 0.5)',
borderDash: [6, 6],
borderDashOffset: 0,
borderWidth: 3,
label: {
display: true,
backgroundColor: 'rgba(102, 102, 102, 0.5)',
borderWidth: 1,
borderColor: 'rgba(102, 102, 102, 0.5)',
callout: {
display: true,
borderColor: 'rgba(102, 102, 102, 0.5)',
borderDash: [6, 6],
borderWidth: 2,
margin: 0
},
color: 'black',
content: (ctx) => (average(ctx) + standardDeviation(ctx)).toFixed(2),
position: 'start',
xAdjust: 100,
yAdjust: -50
},
scaleID: 'y',
value: (ctx) => average(ctx) + standardDeviation(ctx)
};