i have a problem with x coords:
<script type="text/javascript">
var chart1 = new FusionCharts("/sap/bw/mime/customer/ibs/charting/DragNode.swf", "DRAGWEBITEM_1", "995", "400 ", "0", "0");
chart1.setDataXML("
<chart palette='2' is3D='1' showFormBtn='0' enableLink='1' viewMode='0'>
<dataset>
<set x='265' y='380' width='60' height='30' name='2006' link='/sap/bw/BEx?SAP-LANGUAGE%3dE%26PAGENO%3d1%26%26ITEM%3dWEBITEM_1%26PCMD%3dSWITCH_TIME_VAL%26TIME%3d2006' shape='rectangle' id='2006' color=''/>
<set x='200' y='380' width='60' height='30' name='2005' link='/sap/bw/BEx?SAP-LANGUAGE%3dE%26PAGENO%3d1%26%26ITEM%3dWEBITEM_1%26PCMD%3dSWITCH_TIME_VAL%26TIME%3d2005' shape='rectangle' id='2005' color=''/>
<set x='135' y='380' width='60' height='30' name='2004' link='/sap/bw/BEx?SAP-LANGUAGE%3dE%26PAGENO%3d1%26%26ITEM%3dWEBITEM_1%26PCMD%3dSWITCH_TIME_VAL%26TIME%3d2004' shape='rectangle' id='2004' color=''/>
<set x='70' y='380' width='60' height='30' name='2003' link='/sap/bw/BEx?SAP-LANGUAGE%3dE%26PAGENO%3d1%26%26ITEM%3dWEBITEM_1%26PCMD%3dSWITCH_TIME_VAL%26TIME%3d2003' shape='rectangle' id='2003' color=''/>
<set x='478' y='297' radius='40' height='65' name='Overall' link='' shape='polygon' id='8970ec7d337348b3880881eca6df9771' color='F87C7C'/>
<set x='623' y='212' radius='40' height='65' name='erste perspektive' link='' shape='polygon' id='4381fb01f7f44b8e866d6fb89e5a91c1' color='FFBBBB'/>
<set x='312' y='212' radius='40' height='65' name='Zweite Perspektive' link='' shape='polygon' id='01bc265a18c74a088f65e7377a935fa7' color='FF3333'/>
<set x='686' y='127' radius='30' height='65' name='Thilo Test' link='/sap/bw/BEx?SAP-LANGUAGE%3dE%26PAGENO%3d1%26%26ITEM%3dWEBITEM_1%26PCMD%3dSHOW_KPI%26KPI_ID%3db1d2d51939424b37bd9263b5f3cd19c0'
shape='circle' id='b1d2d51939424b37bd9263b5f3cd19c0' color='FFBBBB'/>
<set x='458' y='127' width='40' height='65' name='mein Folder' link='' shape='rectangle' id='2c0f47d22c62410c83c558f5887abbe3' color='FFBBBB'/>
<set x='229' y='127' width='40' height='65' name='Test Folder in neuer Pers' link='' shape='rectangle' id='ab9793539db24d9a8e4d07599f6e4039' color='FF3333'/>
<set x='623' y='42' radius='30' height='65' name='mein Test' link='/sap/bw/BEx?SAP-LANGUAGE%3dE%26PAGENO%3d1%26%26ITEM%3dWEBITEM_1%26PCMD%3dSHOW_KPI%26KPI_ID%3d1073f6af475f49c2bb98510a0a2775e7'
shape='circle' id='1073f6af475f49c2bb98510a0a2775e7' color='FFBBBB'/>
<set x='312' y='42' radius='30' height='65' name='dadfasfadf' link='/sap/bw/BEx?SAP-LANGUAGE%3dE%26PAGENO%3d1%26%26ITEM%3dWEBITEM_1%26PCMD%3dSHOW_KPI%26KPI_ID%3d78b673c026474f66b4a91a542549d723'
shape='circle' id='78b673c026474f66b4a91a542549d723' color='FF3333'/>
</dataset>
<connectors>
<connector from='8970ec7d337348b3880881eca6df9771' to='01bc265a18c74a088f65e7377a935fa7' color='' arrowAtStart='0' arrowAtEnd='1'/>
<connector from='01bc265a18c74a088f65e7377a935fa7' to='ab9793539db24d9a8e4d07599f6e4039' color='' arrowAtStart='0' arrowAtEnd='1'/>
<connector from='ab9793539db24d9a8e4d07599f6e4039' to='78b673c026474f66b4a91a542549d723' 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>
All the nodes change the xCoords.
<set x='478' y='297' radius='40' height='65' name='Overall' link='' shape='polygon' id='8970ec7d337348b3880881eca6df9771' color='F87C7C'/>
the chart is 995px wide i set the x coord to 478px. so i would expect that it looks more or less in the mid of the chart. but when executing it is on the right side. If i measure with ruler i can see that is rendered on approx 660px. Y coords are correct.
Can you help me to find the root cause?
best regards
Kai


Back to top
MultiQuote