charting-library-tutorial icon indicating copy to clipboard operation
charting-library-tutorial copied to clipboard

getBars Always Receives '1D' Resolution Despite Changing Timeframe

Open BlackBear69420 opened this issue 1 year ago • 1 comments

I'm using a custom data feed, and while selecting different resolutions in the chart widget (e.g., 1m, 5m, 1h), the getBars method always receives '1D' as the resolution. The UI updates correctly, but the resolution passed to getBars doesn’t change.

Can someone help me understand exactly where the resolution is being set or how getBars is being called? I want to make sure it's receiving the correct resolution based on the selected timeframe.

Thanks in advance!

BlackBear69420 avatar Feb 25 '25 04:02 BlackBear69420

Share the code of widget creating to help us understanding the issue

You can see some sample code here too

https://github.com/arshadshaheen/chart-project

arshadshaheen avatar Sep 18 '25 16:09 arshadshaheen