Open Flash Chart on Zend MVC Error

Posted by davykiash on Stack Overflow See other posts from Stack Overflow or by davykiash
Published on 2010-03-19T07:14:39Z Indexed on 2010/03/19 7:21 UTC
Read the original article Hit count: 444

Filed under:
|

I recently downloaded the Open Flash Chart source code and I have intergrated it into my Zend MVC.Since I use the autoloader I have renamed my files and commented the "require_once" source lines.

However when I try to load my chart

<script type="text/javascript">
    swfobject.embedSWF(
        "<?php echo $this->baseUrl() ?>/swf/open-flash-chart.swf", 
        "my_chart", "550", "200",
        "9.0.0", 
        "<?php echo $this->baseUrl() ?>/swf/expressInstall.swf",
        {"data-file":"<?php echo $this->baseUrl()?>/reportexpense/piechart/"}
    );
    </script>

it loads the "/data-files/y-axis-auto-steps.txt" instead and I cant figure out why.

My controller returns the JSON string which I expect to be rendered. What am I missing?

© Stack Overflow or respective owner

Related posts about open-flash-chart

Related posts about mvc