Sign in to follow this  
OMMPAVAN

Drag Node Charts

Recommended Posts

Hai Can you provide sample swf files of power charts .And can you Provide Code for how to add node at run time in Dag node chart and how to send it to server .

 

Ref 104856

Edited by OMMPAVAN

Share this post


Link to post
Share on other sites
Guest Sumedh

Hai Can you provide sample swf files of power charts .And can you Provide Code for how to add node at run time in Dag node chart and how to send it to server .

 

Ref 104856

 

Hi,

 

You can add, edit a node at run- time. To avail this feature you would need to render chart in edit mode.

 

You can also edit an existing node or delete a node if required.

 

When in edit mode, you can add a node by right clicking on a position over the chart where the node is to be placed and then selecting "Add a node" option from the context menu.

 

You would need to set viewMode attribute to "0" under the chart element.

 

Ref. Code:

<chart ... viewMode="0">

 

You can retrieve the positions of updated nodes using getXMLData() function.

 

Once the chart is rendered, you can get chart's updated data as XML, by calling the getXMLData() function on the chart.

 

Ref. Code:

 

var ourChart = FusionCharts("NodeChart");

var xmlRtn = ourChart.getXMLData();

alert(xmlRtn);

 

Thus you can retrieve the chart's then you can send it to any of the server-side scripting language.

 

For more information, refer the following URLs:

http://docs.fusionch...dEditNodes.html

 

http://docs.fusionch...ode/JSRead.html

 

Also, if you require licensed .SWF file of the charts you would need to drop a request at [email protected]

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
Sign in to follow this