Guest Madhumita

how Drag-node Chart Updated positions of node can be sent back to server for processing when you add a node

Recommended Posts

hi:please tell me how can i Updated positions of node can be sent back to server for processing when my add a node or drag a node to a new position.another say when i submit the data can or not get out.

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

Welcome to FusionCharts Forum. :)

Since the drag node chart is a visual data widget, you might need to submit the modified data to your scripts for further processing. The drag-node chart offers you two methods to do the same:

  1. You can submit the updated data from chart to your server side script (as form elements) in XML format.
  2. Or, you can submit this data as XML/array to client side JavaScript functions. These functions can now handle the data in the way they want to.

Please refer to the links below:

http://www.fusioncharts.com/pcdocs/Contents/DragNodeForm.html

http://www.fusioncharts.com/pcdocs/Contents/DragNodeJSRead.html

 

Hope this helps. :)

Share this post


Link to post
Share on other sites

Hi:

 

We are testing the software can also achieve the JSP, as you said in the asp example?

 

So now, want to know how to realize in the JSP . When I drive a node, it I can read, and save position to database, when my next refresh, node location is in the new position.

 

Your company can give me a JSP examples.Then I can do a survey will buy your product feasibility.

 

waiting for you apply!:)

Share this post


Link to post
Share on other sites

...

Greetings,

As you might have already understood that as because saving the node position of a DragNode chart is possible in ASP, it is easily possible in JSP as well.

Developing a sample application with database connectivity might not be feasable, but what we can do is implement something similar where data is read from and written to an XML file. You can refer to it and replace the section where data is saved in XML file, to your own code that saves in database.

Edited by Guest

Share this post


Link to post
Share on other sites
:)

 thank you patience!

Because my English level. You may say, I want to know the obscure how I was realized in the JSP page in the asp as you like. You give examples when I changed after the node location by a submit button does data changed, but I don't know how the data transfer between the, so I want to consult you!

Could you say? Really sorry!

Share this post


Link to post
Share on other sites

The jsp that I gave you, saves the changed xml to the FILE from which it was read.

If you want to store the changed xml in session, please modify the jsp to write the data to session instead of file.

Please try it out.

Please contact me in case of any  further issues.

Srividya

Share this post


Link to post
Share on other sites
Guest Angie

Dear User,

 

We are delighted to announce that PowerCharts is now ready for your iPads and iPhones too. We have just released PowerCharts v3.2. Starting v3.2, PowerCharts has HighCharts embedded within it, and offers both Flash and JavaScript (HTML5) charting . The Flash charts are displayed on a majority of devices and the JavaScript charts on devices that do not support Flash, all of it without writing a line of code.

 

Automatic rendering of JavaScript charts on devices (like iPad and iPhone) where Flash player is not supported.

 

5 new chart types:

 

Heat Map Chart

 

Box and Whisker Chart

 

Step Line Chart

 

Error Line Chart

 

Error Scatter Chart

 

 

* Support for JSON data format.

 

* Support for LinkedCharts, where a single data source controls multiple charts.

 

* Interactive legends in charts allow selective showing/hiding of data series.

 

* Legends now support icons for each data series.

 

* Better management of labels on charts.

 

* Labels now have an auto rendering mode to prevent them from overlapping, the chart selects the best display mode depending on the length of the labels and the width of the chart.

 

* Long labels are truncated, with ellipses appended to the truncated end of each label, and a tooltip bearing the completed label text is displayed when the user hovers over a truncated label.

 

* Support for line breaks and wrapping in all text elements including: caption, sub caption, X-axis title, Y-axis title, Labels and tooltips.

 

* In Line charts, data values can now be positioned either above or below the dataplots. Automatic positioning of data values is also supported.

 

* In Step-line charts dataplots can be joined using vertical lines.

 

* Custom alignment of caption and sub caption using STYLES.

 

* Advanced print management using JavaScript.

 

* Additional options for efficient event handling using JavaScript.

 

* Support for dynamic update of chart properties using JavaScript(barring select scatter and drag charts).

 

* Charts now support % based sizes along with dynamic resizing (barring select scatter and drag charts).

 

 

Learn more about everything new in PowerCharts v3.2 at : http:/ www.fusioncharts.com/PowerCharts/

 

We would love to hear from you at: http://www.fusioncharts.com/contact/

Share this post


Link to post
Share on other sites

Hi

 

first of all,sorry about my english..

I need your help. how Drag-node updated positions of node can sent back to server for processing when add a node or change node position in flash charts, with PHP...would you give me example PHP file?

If you willing to help me, please send me PHP file to my [email protected], Thanks before.

 

 

Edited by mcarkkey

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