How can we define the bar range in the Bar Chart created using recharts. Is there a way using which we can do that?
For example I've two value startPos, endPos. Such that I want to create a Bar which should start from the point(startPos) and should end at(endPos)
It's a little bit difficult but still possible, recharts give you the ability to create custom shapes(property shape) but you have to implement it yourself.
Here is a code that i have made for this example the data Key is volume (and it can take an array with two values [startPos,endPos])
here is my component bar which is inside Barchart :