Open Tusenka opened 2 years ago
Found the solution here https://github.com/rrag/react-stockcharts/blob/master/src/lib/scale/evaluator.js#L53 We can override data for clamp as a function. I've made closure for clamp so it can access additional tracking data.
@rrag , thank you for sharing the code) It is very delicious
@Tusenka, do you mind sharing a snippet of the code you used to implement setting the X Axis to a certain date? Thanks in advance!
For example I want to see data on jan 01, is it possible to programmatically set x axis to that data without moving cursor?