bharathi.rajendran

Drag Nodes Link Is Not Working

Recommended Posts

Hi,

 

I provided link for set & connector elements .when i click on submit,

nodes link in the updated xml file is erased..But for connector ,

the link is available..

 

Here is my xml file...

 

<chart formMethod='POST' formTarget='_self' formAction='DataHandler.jsp' palette='2' xAxisMinValue='0' xAxisMaxValue='100' yAxisMinValue='0' yAxisMaxValue='100' formBtnTitle='Update WorkFlow Design' formBtnWidth='150' enableLinks='1' is3D='1' showFormBtn='1' viewMode='0'>

<dataset seriesName='DS1'>

<set id='1' x='50' y='78' name='popup1' height='50' width='70' shape='RECTANGLE' toolText='popup1' link='j-show_popup-sample,Test' color='FE3233' />

<set id='2' x='50' y='30' name='popup2' height='70' width='65' shape='polygon' radius='45' toolText='popup2' link='j-show_popup-sample,Test' color='FE9191' numSides='5' />

<set id='3' x='20' y='20' name='popup3' height='60' width='30' shape='circle' radius='35' toolText='popup3' link='j-show_popup-sample,Test' color='62D0FE' />

<set id='4' x='20' y='50' name='popup4' height='40' width='80' shape='polygon' radius='40' toolText='popup4' link='j-show_popup-sample,Test' color='62D332' numSides='4' />

</dataset>

<connectors stdThickness='4'>

<connector from='1' to='2' label='1,2' strength='1.2' arrowAtStart='0' arrowAtEnd='1' color='BBBB00' link='j-show_popup-sample,20,Test'/>

<connector from='1' to='3' label='1,3' strength='0.6' arrowAtStart='1' arrowAtEnd='1' color='BBBB00' link='j-show_popup-sample,20,Test'/>

<connector from='2' to='3' label='2,3' strength='0.2' arrowAtStart='0' arrowAtEnd='1' color='BBBB00' link='j-show_popup-sample,20,Test'/>

<connector from='1' to='4' label='1,4' strength='0.8' arrowAtStart='0' arrowAtEnd='1' color='BBBB00' link='j-show_popup-sample,20,Test'/>

</connectors>

</chart>

 

After updating ,i got the xml file as,

 

<chart formmethod='POST' formtarget='_self' formaction='DataHandler.jsp' palette='2' xaxisminvalue='0' xaxismaxvalue='100' yaxisminvalue='0' yaxismaxvalue='100' formbtntitle='Update WorkFlow Design' formbtnwidth='150' enablelinks='1' is3d='1' showformbtn='1' viewmode='0' >

<dataset seriesname='DS1' >

<set id='1' x='50' y='78' name='popup1' height='50' width='70' shape='RECTANGLE' toolText='popup1' color='FE3233'/>

<set id='2' x='77.7664155005382' y='48.876404494382' name='popup2' numSides='5' radius='45' shape='POLYGON' toolText='popup2' color='FE9191'/>

<set id='3' x='54.0096878363832' y='38.4269662921348' name='popup3' radius='35' shape='CIRCLE' toolText='popup3' color='62D0FE'/>

<set id='4' x='20' y='50' name='popup4' numSides='4' radius='40' shape='POLYGON' toolText='popup4' color='62D332'/>

</dataset>

<connectors stdthickness='4' >

<connector from='1' to='2' color='BBBB00' strength='1.2' alpha='100' arrowAtStart='0' arrowAtEnd='1' link='j-show_popup-sample,20,Test' label='1,2' />

<connector from='1' to='3' color='BBBB00' strength='0.6' alpha='100' arrowAtStart='1' arrowAtEnd='1' link='j-show_popup-sample,20,Test' label='1,3' />

<connector from='2' to='3' color='BBBB00' strength='0.2' alpha='100' arrowAtStart='0' arrowAtEnd='1' link='j-show_popup-sample,20,Test' label='2,3' />

<connector from='1' to='4' color='BBBB00' strength='0.8' alpha='100' arrowAtStart='0' arrowAtEnd='1' link='j-show_popup-sample,20,Test' label='1,4' />

</connectors>

</chart>

 

Thanks in advance,

bharathi

 

Hi,

 

After updating the position of nodes, links are not working in drag node charts..

can anyone help me...

 

regards,

bharathi

Share this post


Link to post
Share on other sites
Guest Bindhu

can anyone help me?

 

---

bharathi

 

Hi Bharathi,

 

Thank you for the post.

 

Can you please elaborate a bit more on this ?

 

When you click on submit button 'DataHandler.jsp' is being called, can you please check the code in the JSP ?

 

Please provide us the live URL to test it.

 

Awaiting your response !

 

Share this post


Link to post
Share on other sites

Hi Bharathi,

 

Thank you for the post.

 

Can you please elaborate a bit more on this ?

 

When you click on submit button 'DataHandler.jsp' is being called, can you please check the code in the JSP ?

 

Please provide us the live URL to test it.

 

Awaiting your response !

 

 

Hi Bindhu,

 

Thanks for you reply..

 

Here is my Xml file...

 

<chart formAction='DataHandler.jsp' formMethod='POST' formTarget='_self' palette='2' xAxisMinValue='0' xAxisMaxValue='100' yAxisMinValue='0' yAxisMaxValue='100' formBtnTitle='Update WorkFlow Design' formBtnWidth='150' enableLinks='1' is3D='1' showFormBtn='1' viewMode='0' unescapeLinks='0'>

<dataset seriesName='DS1' showFormBtn='1' enableLinks='1'>

<set id='1' x='50' y='78' name='popup1' shape='circle' radius='35' toolText='popup1' link='n-http://www.google.com' color='FE3233' />

<set id='2' x='50' y='30' name='popup2' shape='polygon' radius='45' numSides='5' toolText='popup2' link='n-http://www.google.com' color='FE9191' />

<set id='3' x='20' y='20' name='popup3' shape='circle' radius='35' toolText='popup3' link='n-http://www.google.com' color='62D0FE' />

<set id='4' x='20' y='50' name='popup4' shape='polygon' radius='40' numSides='4' toolText='popup4' link='n-http://www.google.com' color='62D332' />

</dataset>

<connectors stdThickness='4'>

<connector from='1' to='2' label='1,2' strength='1.2' arrowAtStart='0' arrowAtEnd='1' color='BBBB00' link='n-http://www.google.com'/>

<connector from='1' to='3' label='1,3' strength='0.6' arrowAtStart='1' arrowAtEnd='1' color='BBBB00' link='n-http://www.google.com'/>

<connector from='2' to='3' label='2,3' strength='0.2' arrowAtStart='0' arrowAtEnd='1' color='BBBB00' link='n-http://www.google.com'/>

<connector from='1' to='4' label='1,4' strength='0.8' arrowAtStart='0' arrowAtEnd='1' color='BBBB00' link='n-http://www.google.com'/>

</connectors>

</chart>

 

Here is my DataHandler.jsp file..

 

<%

String strXML = (String)request.getParameter("strXML");

String xmlFilePath = request.getRealPath("/") + "Data.xml";

try {

BufferedWriter bw = new BufferedWriter(new FileWriter(xmlFilePath));

bw.write(strXML);

bw.close();

}

catch (IOException e)

{

System.out.println("Exception ");

}

response.sendRedirect("DragNode.jsp");

%>

 

After click on submit,I get the updated xml & write it into the old xml file..

Then the node link is not available in the updated xml file..so that the link is not working..

But,how the connector is having the link????

 

---

bharathi

Edited by bharathi.rajendran

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi Bharathi,

 

This issue has now been fixed.

 

Please upgrade to the latest version files.

 

You may download the trial version from the link below,

www.fusioncharts.com/download/trials

 

Hope this helps!

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