Support Board
Date/Time: Tue, 04 Nov 2025 03:21:59 +0000
Post From: GetChartBarWidth() API seems broken on v2565
|   [2023-11-29 00:01:20]     |  
| User719512 - Posts: 329 | 
| 
                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);  | 
        
