New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subchart sync based on timestamp index #147
Comments
Hey @c-harish, This has been requested quite a few times, however I have been unable to create a consistent and smooth implementation. Despite this, I do believe it is possible, so I'll leave this issue open so others are aware it is being worked on! Louis |
@louisnw01 Thanks for the amazing library. I understand that syncing visually when the candlestick and the indicators are of different timeframe is not a trivial problem. A suggestion: Can we measure the right axis/label length of the main chart and all the indicators and set the maximum value of all the margin/axis to the main chart and all indicators? If this is a simple implementable solution, we can have it as an intermediate solution while we work on the final solution. If this is not a simple solution, please don’t bother. |
Hey @neodawn, Originally this was not possible, however I believe in the latest update of Lightweight Charts there is an option to set a minimum width for price scales, which whilst it is not exactly the same functionality you are looking for I think it would serve the same purpose. If you think this would be good then if you could open an issue in relation to it that would be great! Louis |
Description
sync
feature in subcharts works well when the main and sub chart have the same timeframe and index.Can we have
sync
crosshair tracking based on the available timestamps in charts where sub-chart pans and moves automagically based on where we are in main chart irrespective of timeframes or available timestamp indexes?Code example
No response
Method of implementation
No response
The text was updated successfully, but these errors were encountered: