GRAPH DOESN'T APPEAR IN THE PAGE
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


««12

GRAPH DOESN'T APPEAR IN THE PAGE Expand / Collapse
Author
Message
Posted 6/6/2008 7:39:49 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/7/2008 4:35:49 PM
Posts: 6, Visits: 12
Hi. I also get just 'Chart.' showing.

I have included the FusionCharts.js in the header and FusionCharts.php above the header.

attached is the section of code in the page source created by visiting the URL.

(had to attach it as this forum executes the code and outputs - guess what... - "Chart.")

As you can see my data is being created, but the chart just will not render.

Any help appreciated.


  Post Attachments 
code.txt (4 views, 1.87 KB)
Post #6666
Posted 6/6/2008 8:52:08 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/7/2008 4:35:49 PM
Posts: 6, Visits: 12
Also, here is my code for data and rendering
I have also attached my header file where i have placed the includes (note that the header file is called from the man script)

Been all day and night on this one! still cant get the charts to render in this script (i can using a simple page structure, but that is no good to me because i want to inclde the charts in my wordpress blog)



  Post Attachments 
fullcode.txt (6 views, 4.00 KB)
header.txt (5 views, 5.43 KB)
Post #6667
Posted 6/7/2008 12:38:26 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 8:31:36 AM
Posts: 763, Visits: 1,214
Hi,

Coudl you please make sure that you are using proper PATH to FusionCharts.js and other SWF files?

Regards,

Sudipto Choudhury
FusionCharts Team

Post #6670
Posted 6/7/2008 3:00:13 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/7/2008 4:35:49 PM
Posts: 6, Visits: 12
i believe i am - as i mentioned i can get teh chart to work ok if i do not use a wordpress page.

What i have done is created a template page that i can assign in wordpress. On this template page i want to include the fusion charts charts. If i try to create the charts in the template they do not work. If I just use a standard page structure it works fine.

How can i get this to work in my template? It should not really make a difference but after 12 hours straight at trying to fix it i gave up.
Post #6676
Posted 6/7/2008 3:07:48 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 8:31:36 AM
Posts: 763, Visits: 1,214
Hi,

Could you please attache here a screenshot of the screen that's being shown?

In any case if you let us the live wordpress URL where you are implementing this we would try debugging this live.

If you are getting a blank space in the place of the chart (while using renderChartHTML)_could you please try right clicking on that sapce to find if its showing "Movie Not Loaded"? If so its surely that the movie could not be loaded due to some path issue ro security issue in WordPress.

Regards,

Sudipto Choudhury
FusionCharts Team

Post #6677
Posted 6/7/2008 3:32:22 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/7/2008 4:35:49 PM
Posts: 6, Visits: 12
Hi thanks for quick reply.

Indeed, i did get to teh point where by right clicking i could see "Movie not loaded in greyed" out text with another link to Flash 9

I suspect it is not a path issue, becuase i can get this to work on a standard page using teh same paths... agree?

If so, must be the wordpress security issue you mention... any ides on what thismight be??

Thanks
Post #6678
Posted 6/7/2008 3:36:43 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/7/2008 4:35:49 PM
Posts: 6, Visits: 12
Here is a link to the page

http://www.theneuralinvestor.com/system/
Post #6679
Posted 6/7/2008 2:54:34 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/7/2008 4:35:49 PM
Posts: 6, Visits: 12
the address should have been

http://www.theneuralinvestor.com/system.php

I have found a way to do this in wordpress. I have used the wordpress get_header, get_footer, get_sidebar functions to keep the same theme, but accessed them on a page not creadted in wordpress by adding the following php code


require('wp-blog-header.php');


instead of making a template.

The code now runs to create the chart, so it had something to do with WP templates.

Now that this is working (as you can see from the link), it is an amazing product!

Post #6682