Support Board
Date/Time: Tue, 26 Nov 2024 13:22:53 +0000
Post From: GetChartBarWidth() API seems broken on v2565
[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); |