We are using: Teechart activeX pro 2018 and Visual studio 2017
We are getting an issue where TCHART goes into not responding state when we try to plot high precision double values which we read from a file.
We have noticed that this issue arises when the values have very little difference after 10 decimal places.
We managed to run our application by using float types instead of double but this is not desired since accuracy is very important for our application and using float types rounds off the decimal part.
Please look into it and guide us how to handle this problem.
The sample code is given below.
Code: Select all
m_TChart.AddSeries(scLine); double Y = 939.06965494521967; double Y1 = 939.06965494521955; m_TChart.Series(0).AddXY(0, Y, _T(""), RGB(255, 0, 255)); m_TChart.Series(0).AddXY(1, Y1, _T(""), RGB(255, 0, 255));