Skip to content

Releases: rrag/react-stockcharts

Defect fix for #6

13 Aug 12:13
Compare
Choose a tag to compare

Fix for #6

EventCapture has a required property mainChart. The xScale of that chart is used to determine where the mouse pointer is and by how much a zoom or pan has occured.

In this example EventCapture is not present and so mainChart is undefined leading to this issue. This fix takes the first Chart as the mainChart if EventCapture is not defined