I am using react-chart js
in my graph I am drawing a multi-vertical line using annotation
this my sample code i had used to draw line
const testValue = ['0.019', '0.033', '0.305', '0.428', '0.582', '0.826'];
const splitArrayPopup = map(testValue, el => ({
type: 'line',
mode: 'vertical',
scaleID: 'x-axis-0',
value: parseFloat(el),
borderColor: '#e0e2e2',
borderWidth: 1,
borderDash: [3, 3],
label: {
content: parseFloat(el),
position: 'bottom',
enabled: true,
backgroundColor: 'transparent',
fontColor: '#e0e2e2',
fontStyle: 'normal',
yPadding: 0,
yAdjust: -10,
},
}));
i need to show my label text at bottom of the graph i mean outside the graph, right now for me going inside the graph.