I havea a problem with swf
Open Flash Chart
IO ERROR
Loading test data
Error #2032
This is the URL that I tried to open:../../data-files/candle.txt
My controller
function Welcome()
{
parent::Controller();
$this->load->library('graph');
$this->load->helper('open_flash_chart');
}
function index()
{
$this->load->view('welcome_message');
}
function tarta(){
$cantidad = array('50′,'3′,'8′,'5′);
$bp_label = array('uno','dos','tres','cuatro');
$this->graph->pie(80,'#505050′,'{font-size: 12px; color: #404040}');
$this->graph->pie_values($cantidad,$bp_label);
$this->graph->pie_slice_colours( array('#d9db35′,'#487daf','#d00000′,'#4ae331′) );
$this->graph->title('Mi título','{font-size:14px; color: #7F7772}' );
echo $this->graph->render();
}
my view
<html><head></head><body>
<?=open_flash_chart_object(500,250,site_url('welcome/tarta'),false,base_url())?>
</body></html>
thanks.
