Print Page | Close Window

Endless loop in CalculateGridSpacing

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Chart Control
Forum Description: Topics Related to Codejock Chart Control
URL: http://forum.codejock.com/forum_posts.asp?TID=18085
Printed Date: 24 November 2024 at 2:05am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Endless loop in CalculateGridSpacing
Posted By: cpede
Subject: Endless loop in CalculateGridSpacing
Date Posted: 21 March 2011 at 9:02am
It seems that it is possible to end up in an endless loop in the method CXTPChartAxisView::CalculateGridSpacing.
 
In the second for loop I have a situation where newResult is 0.000 and deltaCoef is negative ?
It comes from a negative nAxisRangeDelta value?
 
-cpede


-------------
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



Replies:
Posted By: cpede
Date Posted: 21 March 2011 at 9:21am
Just saw that this is already posted in:
 
http://forum.codejock.com/forum_posts.asp?TID=17889&PID=62675&title=looping-in-chart#62675 - http://forum.codejock.com/forum_posts.asp?TID=17889&PID=62675&title=looping-in-chart#62675
 
-cpede


-------------
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net