Sign in to follow this  
Pallav

Dragable Charts Submitting data to php

Recommended Posts

Has anyone had experience in using the dragable chart functionality and return the data to a php processing script?

Share this post


Link to post
Share on other sites

I am trying to return the data updated from a Drag-able chart :

 

 

 

where the chart is ouput via :

 

echo "var chart1 = new FusionCharts("Charts/DragColumn2D.swf

 

 

 

and the chart element is :

 

 

 

 

from the online documentation it looked as if the processing script could simply capture the updated xml by something like :

 

 

 

<?php

 

/* $Id update_sta.php */

 

$data = $_GET["strXML"];

 

 

 

but this doesn't work for me.

 

 

 

There is an example for ASP capturing the response. I was wondering what a PHP equivalent would be.

Share this post


Link to post
Share on other sites

I guess the PHP part should be similar to ASP. Can you make sure (from the server log) that the chart is calling the PHP page with the right FORM submission type (defined in XML)?

Share this post


Link to post
Share on other sites

Hi,

I have a similar question with regards to drag-and-drop:

We would like to be able to rearrange the bars in a chart by dragging them around: for vertical bars, for example, it means dragging a bar from left to right.

 

It doesn't matter what the server-side technology is (java in our case, or php in other cases) as long as there is a javascript callback we can hook to and cause the form to send the server a notification of the new order.

Edited by Guest

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

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