Dear all,
I have an Analysis Application that works perfectly without Background Processing of the Data Sources.
After having applied Background Processing, when executing the Analysis Application on the BIP, the chart is rendered multiple times : exactly as many times as I have steps in my Background Processing.
It results in a "flickering" of the chart : the chart is built-up and displayed multiple times.
This is a screenshot of the Analysis Application :
This is the code of the Background Processing :
if (gv_LOADING == 0){
DS_3.loadDataSource();
DS_4.loadDataSource();
DS_5.loadDataSource();
}
if (gv_LOADING == 1){
DS_ZMM_M002_FG_SEL01.loadDataSource();
DS_ZMM_M002_FG_SEL03.loadDataSource();
DS_ZMM_M002_FG_SEL04.loadDataSource();
DS_ZMM_M002_FG_SEL05.loadDataSource();
DS_ZMM_M002_FG_SEL06.loadDataSource();
}
gv_LOADING = gv_LOADING + 1;
if (gv_LOADING < 2){
APPLICATION.doBackgroundProcessing();
}
So there are 2 steps in this Background Processing, the chart is rendered 2 times.
(Initially I had 6 steps, which resulted in a flickering behaviour of 6 times building-up the chart)
The structure of the Analysis Application is like this :
This structure is the result of multiple iterations during the development, and proved to be working fine when there was no Background Processing of the Data Sources.
Thanks for sharing your ideas.
Hans