Was hoping to get some help using Open Flash Charts. I am current using Charts v6.x-1.x-dev, open_flash_chart_api 6.x-2.11, Open Flash Charts v1.9.6 package, and swfobject v1.5. Looks like Open Flash Charts v1.9.7 package comes with swfobject v2.0 which I've read is not compatible. When I try to generate a simple chart such as the following:

$chart = array(
  '#plugin'   => 'openflashchart', // Open Flash Charts API will be used
  '#type'     => 'line2D', // To show a simple 2D line chart
  '#height'   => 100, // in pixels
  '#width'    => 200, // in pixels

  array(10, 20, 25, 35), // A simple list of values that will form the line on chart
);
return charts_chart($chart);

I am getting the following error:

Open Flash Chart
IO ERROR
Loading test data
Error #2032

Evidently this is "the infamous 2032 error" per the Open Flash Charts web boards. The responses on these say to make sure the reference is to open-flash-chart.swf and not open_flash_chart.swf. I've checked this and it appears correct.

Any help as to why the chart would not render or what version of the above mentioned chart module, open_flash_chart_api, open flash chart package, or swfobject I should be using would be greatly appreciated. Maybe I am the only one having difficulty figuring out the right versions of all of the above to use - but I can't find clear guidance on this. I am not sure if there is a bigger issue I am completely missing or if this is due to incompatible versions.

Comments

Starvin15’s picture

Nevermind, I decided to use Open Flash Charts directly as a module.

1hello2’s picture

I have the same problem.

qasimzee’s picture

+1
Same problem

quicksketch’s picture

Status: Active » Closed (won't fix)

The D6 version of the module is no longer being updated. If this problem exists in the 7.x-2.x branch of the module please reopen.