Closed (fixed)
Project:
Charts
Version:
6.x-1.0-alpha6
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2009 at 11:49 UTC
Updated:
5 Dec 2010 at 11:40 UTC
I have installed Charts 6.x-1.0-alpha6 and Open Flash Chart API (along with all required third party files) and I am able to generate charts. So the modules work as far as I know.
I am trying to create a Page, with text and a chart in the middle of it. So I have something like one paragraph, then a chart, then another paragraph. When I edit the node, the body looks like this:
----------
This is a paragraph.
$example = array(
array(5, 10, 25, 60), //Some basic data to test our chart
);
return charts_chart($example);
This is another paragraph.
----------
If I use Filtered HTML as the filter, I don't see any chart (obviously). If I use Full PHP, then I do not see the paragarph after the chart.
What am I doing wrong here?
Comments
Comment #1
yan commentedI think you should use
print, notreturn: