Support Board
Date/Time: Mon, 30 Jun 2025 23:46:21 +0000
Post From: GetChartBarWidth() API seems broken on v2565
[2023-11-29 00:01:20] |
User719512 - Posts: 316 |
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); |