How can I achieve this kind of design in ChartJS? I already have a code but I'm missing the "glow" in the active point
This is my code
dataset._meta[metaIndex].data[index]._model.pointStyle = 'rectRot';
dataset._meta[metaIndex].data[index]._model.pointRadius = 7;
dataset._meta[metaIndex].data[index]._model.borderColor = '#007cff';
dataset._meta[metaIndex].data[index]._model.pointBackgroundColor = '#FFFFFF';
dataset._meta[metaIndex].data[index]._model.pointBorderWidth = 10;
dataset._meta[metaIndex].data[index]._model.pointBorderColor = 'rgba(1, 124, 251, 0.2)';
dataset._meta[metaIndex].data[index]._model.pointHoverRadius = 5;
UPDATE:
I was able to replicate it using these codes
dataset._meta[metaIndex].data[index]._model.pointStyle = 'rectRot';
dataset._meta[metaIndex].data[index]._model.radius = 7;
dataset._meta[metaIndex].data[index]._model.borderColor = '#007CFF';
dataset._meta[metaIndex].data[index]._model.backgroundColor = '#FFFFFF';
dataset._meta[metaIndex].data[index]._model.borderWidth = 3;
and in the options
const options = {
elements: {
point: {
hoverRadius: 5,
hoverBackgroundColor: '#FFFFFF',
hoverBorderColor: 'rgba(1, 124, 251, 0.2)',
hoverBorderWidth: 15,
radius: 4,
hitRadius: 5,
},
},
};

