Hello,

I just installed this module, with SWF object 2 lib.
I created a view that return :
y: 2 x: 1 y: 3 x: 2 y: 8 x: 4 (plugin grid)

So this view is OK !

But when I change for the chart style plugin I don't see anything :/
I set this for style display :

Fields to be used in Chart Series: content : y(field_y)
Fields to be used as X axis labels: content : x(field_x)
Charting Engine: open flash chart 2
Window Mode (for flash charts only): window

Can you help me please ?

Comments

negative_zero’s picture

In Chrome, I see a white box that's the size and shape of the chart. In Firefox I get an error message about a Flash object not being initialized...

rsevero’s picture

Assigned: grÖs » rsevero
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Please try it with the Bluff charting library so you can be sure when your chart is working. After that change to the desired charting engine.

Please include extra info if the problem remains.

ronline’s picture

The same problem here.

I've created view that shows correctly under styles “Grid” or “Html list”.

As soon as I try to use the Chart Style I'm get following errror :
“You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.”

I thought that problem is coming from the swf tools and tried to fix the issue as following:

Home › Administer › Site configuration › SWF Tools > File handling :
Uploading all players to their corresponding directories and getting rid of warnings.

Home › Administer › Site configuration › SWF Tools > File location :
1. Leaving the default flash player path blank with FlowPlayerClassic.swf located in sites/default/modules/swftools/shared.

Home › Administer › Site configuration › SWF Tools > Embedding methods:
1.Selecting jQuery Flash plugin – JavaScript, SWFObject 2 - JavaScript => Get rid of error message but none of them shows up the report.
2.Selecting SWFObject 1.5 – JavaScript => I see a white box that's the size and shape of the report but not chart.

So far no fix....

rsevero’s picture

Have you tried the suggestion at #2? What result have you got?

ronline’s picture

Hi negative_zero and thx for being here.
http://drupal.org/node/681668 is saying to place the bluff files under sites/all/modules/charts_graphs/apis/charts_bluff/bluff/ but my chart_graphs are in sites/default/modules so I've placed the bluff files in sites/default/modules/charts_graphs/apis/charts_bluff/bluff/.

In admin/build/modules I've checked all options under Charts and Graphs included the Bluff, amCharts and OpenFlash. When I'm going to admin/settings/charts/ the Chart plugin drop down shows only GD Image Chart and  Google Charts option. Both of them shows a nice preview on configuration page but no output in the report.

rsevero’s picture

Version: 6.x-1.0-rc1 » 6.x-1.0-rc3

You are mixing different charting solutions. The "Charts and Graphs" module doesn't provide a "admin/settings/charts" configuration path. This path is probably from the "Chart" module or the "Charts API" module, two different charting solutions that have nothing to do with "Charts and Graphs".

If you want to use "Views Charts" you must use "Charts and Graphs". Otherwise you can choose the charting solution you prefer.

Please leave only on of the following installed: "Charts and Graphs", "Chart" and "Charts API". If you choose to use "Views Charts" + "Charts and Graphs", please test you View with the Bluff charting library first.

Please let me know if you still encounter problems in this case.

ronline’s picture

Thx for advice reverso.
Yeah "Views Charts" + "Charts and Graphs" that's what I'd like to get to work.

Here we go.
I've unchecked all under q=admin/build/modules/charts and kept only Charts, Charts and Graphs and the bluff implementation.

I have to keep at least one chart implementation under admin/build/modules/charts another way I get following error:
Fatal error: Call to a member function set_data() on a non-object in sites/default/modules/views_charts/views_plugin_style_chart.inc on line 155 .

After all I went to Home › Administer › Site configuration › SWF Tools and tested my view under methods :
jQuery Flash plugin
SWFObject 1.5 
SWFObject 2
Direct embedding 
The view doesn't show anything.

Two points:
* admin/reports/status is yelling that No Charts provider installed
** I don't see anything named “Charts API” google led me to http://drupal.org/project/chart which is already installed.
*** My view is providing just a basic output “Book Depth” which shows under grid style as
“Depth:number” of all my books. Do I need some other specific values?

rsevero’s picture

There are 3 similar projects:

If you want to use Charts and Graphs + Views Charts you should disable (and even remove to reduce confusion) the other two from the list above.

BTW, which Charts and Graphs version are you using? The 6.x-2.0 version has clearer names for Charts and Graphs submodules. It will be easier to identify if you have any unwanted module. I recommend you to update to the lastest beta version. It will probably became a release candidate this week and even at it's current state I trust it more than the current stable version as I bet not all bugs found have been backported to 6.x-1.0.

With version 6.x-2.0 you can even test Charts and Graphs by itself with the examples found on the Advanced Help pages devoted to Charts and Graphs.

ronline’s picture

I've removed http://drupal.org/project/charts , installed http://drupal.org/project/charts_graphs beta, activated Charts and Graphs, Charts and Graphs: Bluff and Views Charts. There's no http://drupal.org/project/chart on my server.

I've unziped http://bluff.jcoglan.com/assets/Bluff.0-3-6.zip in sites/default/modules/charts_graphs/apis/charts_graphs_bluff/bluff .
View shows up with a Fatal error: Call to a member function set_data() on a non-object in sites/default/modules/views_charts/views_plugin_style_chart.inc on line 155

Error disappear as soon as I activate Charts and Graphs: amCharts, but still no output in view.

ronline’s picture

Problem is with Charting Engine which shows a white page with amCharts. I've switched to Bluff and things go fine. Strange thing is that if I don't activate check amCharts in admin/build/modules I got the above mentioned error.
Anyway things works. Thx for the help guys I really appreciate.

rsevero’s picture

Have you followed the update instructions available in the README.txt file for upgrading from 6.x-.10 to 6.x-2.0?

Have you checked the status page of your Drupal installation? Is there any error related to Charts and Graphs?

ukrdrupal’s picture

Version: 6.x-1.0-rc3 » 6.x-1.0

I am experiencing the same problems, as described in this thread. I really want to get the Open Flash Charts working. I did install the Bluff charts and they are working. I was getting the message like everyone else ("You are missing some Flash content that should appear here") prior to switching to the Bluff charts. ...How do I get the Open Flash Charts working? It doesn't work out of the box?

rsevero’s picture

Project: Views Charts » Charts and Graphs
Version: 6.x-1.0 » 6.x-2.5

Changing module as this seems as a Charts and Graphs issue.

With the Advanced Help module installed there are example graphs for each library at the end of each library reference page:

Please test each library you actually installed and report back.

ukrdrupal’s picture

I will test, but it will be quite some time before I can get back into it. If others can test and can resolve this in the meantime, that would be great.

MickC’s picture

I get output on Open Flash and Bluff, but nothing on google

rsevero’s picture

For MickC at #15:

You probably are facing Google Charts limitation of chart size. At http://code.google.com/apis/chart/docs/chart_params.html#gcharts_chs you can read "Maximum chart size for all charts except maps is 300,000 pixels total, and maximum width or length is 1,000 pixels. Maximum size for maps is 440x220."

rsevero’s picture

Status: Postponed (maintainer needs more info) » Fixed

The original issue has been dealt with a long time ago.

Closing it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.