kaiwachter

Drag Node Chart Refresh Problem

Recommended Posts

Hi Guys,

i have the following Problem.

When i execute the following URL http://kaiwachter.dyndns.org:8000/sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=ZSCORDEVEL the first view is okay. Then i navigate inside the page e.g. click on the icon next of "mein test" then the layout of the dragnode chart is currupted:

in both cases the XML look like this:

<chart palette='2'  is3D='1' showFormBtn='0' viewMode='0'>

<dataset>

<set x='426' y='340' radius='40' height='85' name='Overall' link='' shape='polygon' numsides='6' id='8970ec7d337348b3880881eca6df9771' color='BBBB00'/>

<set x='277' y='255' radius='40' height='85' name='Zweite Perspektive' link='' shape='polygon' numsides='3' id='01bc265a18c74a088f65e7377a935fa7' color='FFFFFF'/>

<set x='555' y='255' radius='40' height='85' name='erste perspektive' link='' shape='polygon' numsides='3' id='4381fb01f7f44b8e866d6fb89e5a91c1' color='BBBB00'/>

<set x='203' y='170' width='40' height='85' name='Test Folder in neuer Pers' link='' shape='rectangle' numsides='' id='ab9793539db24d9a8e4d07599f6e4039' color='FFFFFF'/>

<set x='406' y='170' width='40' height='85' name='mein Folder' link='' shape='rectangle' numsides='' id='2c0f47d22c62410c83c558f5887abbe3' color='BBBB00'/>

<set x='609' y='170' radius='40' height='85' name='Thilo Test' link='' shape='circle' numsides='' id='b1d2d51939424b37bd9263b5f3cd19c0' color='BBBB00'/>

<set x='426' y='85' radius='40' height='85' name='mein Test' link='' shape='circle' numsides='' id='1073f6af475f49c2bb98510a0a2775e7' color='BBBB00'/>

</dataset>

<connectors>

<connector from='8970ec7d337348b3880881eca6df9771' to='01bc265a18c74a088f65e7377a935fa7' color='' arrowAtStart='0' arrowAtEnd='1'/>

<connector from='01bc265a18c74a088f65e7377a935fa7' to='ab9793539db24d9a8e4d07599f6e4039' color='' arrowAtStart='0' arrowAtEnd='1'/>

<connector from='8970ec7d337348b3880881eca6df9771' to='4381fb01f7f44b8e866d6fb89e5a91c1' color='' arrowAtStart='0' arrowAtEnd='1'/>

<connector from='4381fb01f7f44b8e866d6fb89e5a91c1' to='2c0f47d22c62410c83c558f5887abbe3' color='' arrowAtStart='0' arrowAtEnd='1'/>

<connector from='2c0f47d22c62410c83c558f5887abbe3' to='1073f6af475f49c2bb98510a0a2775e7' color='' arrowAtStart='0' arrowAtEnd='1'/>

<connector from='4381fb01f7f44b8e866d6fb89e5a91c1' to='b1d2d51939424b37bd9263b5f3cd19c0' color='' arrowAtStart='0' arrowAtEnd='1'/>

</connectors>

</chart>

I am using Javascript embedding:

<div id="divDRAGWEBITEM_1">IBS Solution Flash Chart  </div><script type="text/javascript">var chart1 = new FusionCharts("/sap/bw/mime/customer/ibs/charting/DragNode.swf", "DRAGWEBITEM_1", "892", "400 ", "0", "0");chart1.setDataXML("<chart palette='2'  is3D='1' showFormBtn='0' viewMode='0'><dataset><set x='426' y='340' radius='40' height='85' name='Overall' link='' shape='polygon' numsides='6' id='8970ec7d337348b3880881eca6df9771' color='BBBB00'/><set x='277' y='255' radius='40' height='85' name='Zweite Perspektive' link='' shape='polygon' numsides='3' id='01bc265a18c74a088f65e7377a935fa7' color='FFFFFF'/><set x='555' y='255' radius='40' height='85' name='erste perspektive' link='' shape='polygon' numsides='3' id='4381fb01f7f44b8e866d6fb89e5a91c1' color='BBBB00'/><set x='203' y='170' width='40' height='85' name='Test Folder in neuer Pers' link='' shape='rectangle' numsides='' id='ab9793539db24d9a8e4d07599f6e4039' color='FFFFFF'/><set x='406' y='170' width='40' height='85' name='mein Folder' link='' shape='rectangle' numsides='' id='2c0f47d22c62410c83c558f5887abbe3' color='BBBB00'/><set x='609' y='170' radius='40' height='85' name='Thilo Test' link='' shape='circle' numsides='' id='b1d2d51939424b37bd9263b5f3cd19c0' color='BBBB00'/><set x='426' y='85' radius='40' height='85' name='mein Test' link='' shape='circle' numsides='' id='1073f6af475f49c2bb98510a0a2775e7' color='BBBB00'/></dataset><connectors><connector from='8970ec7d337348b3880881eca6df9771' to='01bc265a18c74a088f65e7377a935fa7' color='' arrowAtStart='0' arrowAtEnd='1'/><connector from='01bc265a18c74a088f65e7377a935fa7' to='ab9793539db24d9a8e4d07599f6e4039' color='' arrowAtStart='0' arrowAtEnd='1'/><connector from='8970ec7d337348b3880881eca6df9771' to='4381fb01f7f44b8e866d6fb89e5a91c1' color='' arrowAtStart='0' arrowAtEnd='1'/><connector from='4381fb01f7f44b8e866d6fb89e5a91c1' to='2c0f47d22c62410c83c558f5887abbe3' color='' arrowAtStart='0' arrowAtEnd='1'/><connector from='2c0f47d22c62410c83c558f5887abbe3' to='1073f6af475f49c2bb98510a0a2775e7' color='' arrowAtStart='0' arrowAtEnd='1'/><connector from='4381fb01f7f44b8e866d6fb89e5a91c1' to='b1d2d51939424b37bd9263b5f3cd19c0' color='' arrowAtStart='0' arrowAtEnd='1'/></connectors></chart>");chart1.render("divDRAGWEBITEM_1");</script>

thanks for your help.

best regards

kai

Share this post


Link to post
Share on other sites

all nodes are in one line on top. the x/y values are ignored all nodes and connectors are present but you can't drag them belo mid of chart.

You will see if you execute.

i attached two screenshots

best regards

kai

post-254-128441565124_thumb.jpg

post-254-12844156514_thumb.jpg

Edited by Guest

Share this post


Link to post
Share on other sites

Kai,

 

 

 

As for first issue, it was the numeric x axis that you were not using.

 

 

 

For the second - we're still working on the same.

Share this post


Link to post
Share on other sites

Hi Pallav,

the second one looks like tough problem. If you do further navigation on the page it is renders sometimes good again but if you navigate one step further is breaks down again.

best regards,

Kai

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now