Support Board
Date/Time: Tue, 26 Nov 2024 13:49:50 +0000
GetChartBarWidth() API seems broken on v2565
View Count: 703
[2023-11-29 00:01:20] |
User719512 - Posts: 264 |
Hi Sierra Engineering, Installed v2565 and added a call to GetChartBarWidth() in my code and it's causing Sierra to crash. Crashing with: barWidth = sc.GetChartBarWidth(sc.ChartNumber); comment that line out, and my study works with old/existing behavior. int x0 = sc.BarIndexToXPixelCoordinate(barOutline.endIndex - 1); int x1 = sc.BarIndexToXPixelCoordinate(barOutline.endIndex); int barWidth = x1 - x0; //barWidth = sc.GetChartBarWidth(sc.ChartNumber); |
[2023-11-29 00:16:16] |
Sierra_Chart Engineering - Posts: 17179 |
Yes we know. This will be resolved in the next release.
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2023-11-29 00:17:48] |
User719512 - Posts: 264 |
FWIW, I did search the site to see if this was reported already and did not find anything.
|
[2023-12-01 01:13:19] |
User719512 - Posts: 264 |
This is fixed in v2566 pre-release and works as expected.
|
To post a message in this thread, you need to log in with your Sierra Chart account: