avva555 Report post Posted August 5, 2013 hi, i have some issue with node position in drag node chart provided in power chart XT XML used to prepare this chart also provided as attachment DIV i am used to show this chart size is 1000px X 1000px please tell me why chart is not displayed in center. XML.xml Share this post Link to post Share on other sites
Guest Rishab Report post Posted August 6, 2013 (edited) Hi, I suggest you that instead of using x=600, use x=50 to get the nodes in the centre. The below xml may help. For more information you can refer- http://docs.fusioncharts.com/powercharts/Contents/ChartSS/DragNode.htm Hope this helps! Data.xml Edited August 6, 2013 by Rishab Share this post Link to post Share on other sites
avva555 Report post Posted August 8, 2013 see that <div> width is 1000X1000 so i used 600 it's near to center but it's displaying near to end that to i am dynamically giving position of the nodes(X,Y) based on the no of nodes present at the level X=1000,Y=1000,divider=100(Space between two node in the same level) Suppose no of nodes at level -1 = 1 (A) no of nodes at level -2 = 2 (B,C) A(x,y)= ((1000)/(noofnodes+1)+divider, Y-(level*100)) A(600,900) B(x,y)= ((1000)/(noofnodes+1)+divider, Y-(level*100)) A(333,800) C(x,y)= ((1000)/(noofnodes+1)+divider, Y-(level*100)) A(666,900) this is the way we are preparing positions for node when xml contains proper position Drag Node Chart is not displaying i felt this is a bug . please confirm is this a defect in this chart ? or any changes that i need to follow in my xml Share this post Link to post Share on other sites
Guest Sashibhusan Report post Posted August 9, 2013 Hey, It seems you have set explicitly the X-Axis lower and upper limit to "0" and "100" resp. So, for the fixed X-Axis upper limit, the dynamically generated X-position for the nodes with value "600" will not adjust automatically. So, could you please try once by removing the "xAxisMinValue" and "xAxisMaxValue" attributes from the <chart> element of the XML data, to let the chart calculate the suitable X-Axis limiting values automatically for you (as you are providing the "x" values if <set> element dynamically)? For more information on "Drag-node Chart Specification Sheet", please visit the link: http://docs.fusioncharts.com/powercharts/Contents/?ChartSS/DragNode.htm Hope this helps! Looking forward to your valuable response. Share this post Link to post Share on other sites
avva555 Report post Posted August 12, 2013 Thanks , what an idea sirji ... it's working displaying in center . it really nice to have your support . Share this post Link to post Share on other sites
Guest Sashibhusan Report post Posted August 12, 2013 Glad to hear that your issue has been resolved. Share this post Link to post Share on other sites