pts/3

Rendercharthtml Works, Renderchart Doesn't

Recommended Posts

Hi,

 

When I use the renderChart method with this code,

<?  echo renderChart("../Line.swf","Data-Jan.xml","","myChart2",540,454,1); ?> 

I get this output in the debugger and the chart doesn't graph anything.

INFO: XML Data provided using dataXML method.
XML Data: undefined

 

If I use

<? 	echo renderChartHTML("../Line.swf", "Data-Jan.xml","", "myChart2", 540, 454, 1); ?>

it renders perfectly. The debugger says

INFO: XML Data provided using dataURL method.
dataURL provided: Data-Jan.xml

 

Do the functions not take their arguments in the same order?

And, are there any usability concerns with using the embedded HTML instead of javascript? Which method is preferred and why? Thanks.

 

My version is * @version 3.2.2

* @since 16 August 2011

Edited by pts/3

Share this post


Link to post
Share on other sites

I have the same issue and I'm working with ASP.NET/C#.

 

That's interesting. Perhaps this topic should be moved from the PHP forum to the Bugs forum...

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