Chart Sample Problem |
Post Reply |
Author | |
shshin
Newbie Joined: 21 January 2022 Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 17 March 2022 at 9:59pm |
I'm running the ChartBrowser Sample(v20.2) and it hangs when selecting charts like Line Styles, Lines, Spline, etc. I checked and an infinite loop occurs in CXTPChartDiagram2DAxisView::CreateTickMarks. An overflow occurs here and it is changed to a negative value, resulting in an infinite loop. CXTPChartDiagram2DAxisView::CreateTickMarks( ... while (dMark < dAxisMaxValue + CXTPMathUtils::m_dEPS) { ... // Here it is changed to a negative value. dMark *= m_MarkCorrectionCoef; dMark = CXTPMathUtils::Round(dMark); dMark /= m_MarkCorrectionCoef; In this case, the values were: double dViewMaxValue is 40431.5999 m_MarkCorrectionCoef is 1000000 dMark is 2852.516352 => 2852516352 => -2147483648.0000000 => -2147.4836479999999 This value is repeated over and over again. And when changing the chart style, the following exception occurs.(multiple lines) Exception thrown at 0x00007FFFFEFC4F69 (KernelBase.dll) in ChartBrowser.exe: 0xE0000001 (parameters: 0xFFFFFFFF80004005). Exception thrown at 0x00007FFFFEFC4F69 (KernelBase.dll) in ChartBrowser.exe: 0xE0000001 (parameters: 0xFFFFFFFF80004005). Exception thrown at 0x00007FFFFEFC4F69 (KernelBase.dll) in ChartBrowser.exe: 0xE0000001 (parameters: 0xFFFFFFFF80004005). Exception thrown at 0x00007FFFFEFC4F69 (KernelBase.dll) in ChartBrowser.exe: 0xE0000001 (parameters: 0xFFFFFFFF80004005). |
|
astoyan
Admin Group Joined: 24 August 2013 Status: Offline Points: 304 |
Post Options
Thanks(0)
|
It's been a known issue and it had been fixed for the next maintenance update v20.3 which will be release soon.
Regards, Alexander
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |