Sign in to follow this  
Guest Rajroop

How to use fusioncharts with codeigniter

Recommended Posts

Hello guys,

I have many problems to use fusionchats in codeigniter. In some forums, they told to put fusioncharts in the directory system/plugins and others people said to use the directory system/application/libraries. Can you help me to resolve this problem quickly?

thx

bares

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello,

 

 

 

Welcome to the FusionCharts Forum. :)

 

 

 

Could you please define what problems you are facing regarding this a bit more explicitly please?

 

 

 

Till then, could you please check the following link and see if it helps?

 

Ref.- http://www.ikawka.com/2008/12/fusion-chart/

 

 

 

Looking forward to your reply.

Share this post


Link to post
Share on other sites

:sick:

It is not work.

this is whats I make

1) I copie FusionChats in my repository libraries of my root application of codeigniter

2) in my controller,you are

class DevicesStat extends Controller{

function DevicesStat (){

   // load controller parent

   parent::Controller();

// Charger un model de devicestat

$this->load->model('mod_stat/DevicesByTypeMod');

function byTypeGraphe(){

// charger le plugin de fudion chart

$this->load->library('fusioncharts');

// store data for being displayed on view file

$data['devices']=$this->DevicesByTypeMod->getDevices(); //pour afficher le topten des equipements par type

$data['nbDevices']=$this->DevicesByTypeMod->getNbDevices();

$data['title']='equipements par type';

$data['header']='Liste des

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Rajroop

Hi :cool:,

 

 

 

Could you please confirm whether you are using Linux for this? If so, could you please check for uppercase and lowercase characters errors for Linux is case-sensitive in this respect?

 

 

 

Could you please check once whether you have included the correct path for the FusionCharts.js/FusionCharts.php in the

tag of your HTML?

 

 

 

Also could you please try using the following code to render the chart once and see if it is working or not?

 

 

 

Return InfoSoftGlobal.FusionCharts.RenderChartHTML(strChart, "", xmlData.ToString, "FactorySum", "650", "300", False, False)

 

 

 

I hope this helps. :)

Share this post


Link to post
Share on other sites

Hello, think to your help but it is not work when I put your soulution.

I work with microsoft windows 2000,

Can you tell me step by step the procedure to use fusioncharts in codeigniter.

Thx

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello,

 

 

 

I apologize for my typo.

 

 

 

Also could you please try using the following code to render the chart once and see if it is working or not? This is the corrected line of code in PHP from my previous post.

 

 

 

echo RenderChartHTML(strChart, "", xmlData, "FactorySum", 650, 300, false, false)

 

 

 

Looking forward to your feedback on this. :)

Share this post


Link to post
Share on other sites

I resolved the problem with form url

 

 

 

 

 

 

before I had

 

 

that's why I saw nothings in my graph.

 

 

 

Now,it's run very well

 

 

 

think

Edited by Guest

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this