Problems with XML string renderChartFromExtXML()
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Problems with XML string... Expand / Collapse
Author
Message
Posted 7/17/2008 4:11:12 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/18/2008 6:51:55 AM
Posts: 4, Visits: 9
hi, im new here and im testing the FC Free with PHP 5.2.5

i have a form with textarea and i need pass XML form textarea a FC via POST

i send the form but the result is: No data to display

thanks


  Post Attachments 
renderChartFromExtXML.rar (3 views, 2.16 KB)
Post #7359
Posted 7/17/2008 5:22:42 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 2:34:46 AM
Posts: 192, Visits: 729
Hi!,

Could you please check your xml data? Because you are using XML for single series charts in your index2.php.htm file but insted of using single series chart you are using "FCF_MSColumn2D.swf" that is a multiseries chart (in both file) .

In second file index2.php, when you load index2.php directly chart is rendered. But when you post your XML data from index2.php.htm file then this single series XML data is posted to index2.php, which in result shows "No data to display."


Regards,
Rahul
FusionCharts Team.

Post #7362
Posted 7/17/2008 6:43:32 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/18/2008 6:51:55 AM
Posts: 4, Visits: 9
thanks for reply..

then it depend of XML data, i tested this XML and worked changing to:

$FC = new FusionCharts("Column2D","500","400");

well, how to know what XML type is it?? for show it


PD: is not posible show XML here

thanks again!!


  Post Attachments 
Column2D.xml (3 views, 680 bytes)
Post #7368
Posted 7/17/2008 7:34:20 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 2:34:46 AM
Posts: 192, Visits: 729
Hi! Tony,

1. Could you please browse to "http://www.fusioncharts.com/free/docs -> Chart XML Reference" for detailed information about the different XML schemas for different chart types.

2. You can use [code][/code] tag for inserting XML or codes.

Regards,
Rahul
FusionCharts Team.

Post #7370
Posted 7/18/2008 5:46:11 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/18/2008 6:51:55 AM
Posts: 4, Visits: 9
hi Rahul thanks for reply...

im reading the tutorial that is very complete, but i have question:

is it possible change the font size of Caption and subCaption??

i try this but dont work

$FC->setChartParam("caption","Testing Charts", "fontSize=20");
$FC->setChartParam("subCaption","Test One", "fontSize=20");

greetings..
Post #7392
Posted 7/18/2008 6:04:41 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 2:34:46 AM
Posts: 192, Visits: 729
Hi!

Could you please use the following code:

$FC->setChartParam("outCnvBaseFontSize","20");
It will change out canvas elements like caption, subCaption, xAxis, yAxis names etc. font size to 20.


Regards,
Rahul
FusionCharts Team.
Post #7393
Posted 7/18/2008 6:55:49 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/18/2008 6:51:55 AM
Posts: 4, Visits: 9
hi again

thanks for your help

it works!!!
Post #7394
« Prev Topic | Next Topic »


Permissions Expand / Collapse