getDotProps={(dataPoint, index) => {
return {
r: "6",
strokeWidth: "2",
stroke:
chartData.indexOf(index) == -1
? rgba(0, 0, 0, 0)
// make it transparent
: 'red',
fill:
chartData.indexOf(index) == -1
? rgba(0, 0, 0, 0)
// make it transparent
: 'red',
};
}} can we pass or get anyother props from to control