Created attachment 106102 [details] screenshot BarHistory is recorded data updating each time, bar corresponding to the value. four values of BarHistory on top right corner are the same. I trace the source code, and found that the same nId and nVal will be repeatedly update 3 or 5 times from following code: maBarMap.insert(std::pair<sal_uInt32, BarInformation>(nId, BarInformation(glm::vec3(nXPos, nYPos, float(nVal/nMaxVal)), nVal, nIndex, nSeriesIndex))); This will cause the chart doesn't change after 3 or 5 times refreshing. The source code is in create3dshapes function of gl3dbarchart class.
Comment on attachment 106102 [details] screenshot Fixing mime type.
Created attachment 106716 [details] OutPut
(In reply to comment #2) > Created attachment 106716 [details] > OutPut Thanks for the output. But I did ask for your *code change*, not an output. About the output, where do I need to see in this output in order to see the problem with the BarHistory?
I've merged all your changes to master and looking through the latest version of your code. I still don't see any traces of History_0, History_1, History_2 and History_3 in the code.
Never mind, I think I got what you mean.
This commit http://cgit.freedesktop.org/libreoffice/core/commit/?id=b067ead2ee8f162374c81b35190b0201a306ae04 in conjunction with the change in the macro code as I suggested privately should fix this problem.