i found my problem
i hv to include the javascript and the following code
echo $javascript->link('prototype');
echo $javascript->link('swfobject');
echo $flashChart->begin(array('prototype'=>true));
Regards,
Kit
On 6月27日, 下午10時56分, Kit <yingkity...@gmail.com> wrote:
> hi all,
>
> i got the same problem too.
> my cake core is 1.2.1.8004
>
> i have followed the version-3 instructionshttp://bakery.cakephp.org/articles/view/flashcharthelper-version-3
> and add the following files from FlashChartHelper_3.3.91.zip
> * /app/views/helpers/flash_chart.php
> * /app/views/helpers/flash.php
> * /app/vendors/flashchart/open-flash-chart.php
> * /app/vendors/flashchart/*37 other files at the time of this
> writing*
> * /app/webroot/open-flash-chart.swf
> * /app/webroot/js/swfobject.js
> * /app/webroot/js/json/json2.js
>
> then i try to display a simple bar chart as stated inhttp://bakery.cakephp.org/leafs/view/70
> but it just showed a blank white square with any content?
>
> any ideas on this issue? thanks very much for your help.
>
> Regards,
> Kit
>
> On 6月12日, 下午11時34分, Brendon Kozlowski <Brendon...@hotmail.com> wrote:
>
> > OH! The helper was updated for version 2, I was still using version
> > 1. My mistake! I guess it's time to upgrade! :D
>
> > On Jun 11, 1:32 am, Wayne <smittysand...@gmail.com> wrote:
>
> > > These are the codes
>
> > >http://bin.cakephp.org/saved/47129(controller)
>
> > >http://bin.cakephp.org/view/1136206468(view)
>
> > >http://bin.cakephp.org/view/614424760(arraydump)
>
> > > There was no error message, the graph just doesn't show up. You can
> > > say that the chart was not rendered at all.
>
> > > Regards,
> > > Wayne
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment