I need use PHP/SWF in my application, I read this tutorial:
http://www.littlehart.net/atthekeyboard/2006/09/26/tutorial-integrating-phpswf-charts-with-cakephp/

but I no Understand where put this code?:


      <?php
      vendor('charts');
      $chart['chart_data'] = array($header, $member_data,
$visitor_data);
      $chart['chart_type'] = 'stacked area';
      $chart['axis_category'] = array('size' => 9);
      $chart['chart_grid_h'] = array('thickness' => 1);
      $chart['chart_grid_v'] = array('thickness' => 1);
      SendChartData($chart);
      ?>

in the view? or where?, the problem is that don't look the graph, in
the view I look data of array

Sorry for my bad English, thanks.


--------------------------------------------------------------------------------------------------------------------
El problema es que no me muestra la grafica, si no los datos que yo
envio en el arreglo a la funcion SendChartData, pero no entiendo en
donde debo colocar el codigo que puse arriba, ya que me confunde el
hecho de que mas abajo se vuelve a llamar la funcion vendor lo que me
indica que no va en la misma vista, gracias de antemano por su ayuda

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to