baradji Report post Posted November 23, 2009 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 Report post Posted November 23, 2009 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
baradji Report post Posted November 24, 2009 (edited) :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 November 24, 2009 by Guest Share this post Link to post Share on other sites
Guest Rajroop Report post Posted November 25, 2009 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
baradji Report post Posted November 25, 2009 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 Report post Posted November 26, 2009 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
baradji Report post Posted December 11, 2009 (edited) 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 December 11, 2009 by Guest Share this post Link to post Share on other sites
Guest Rajroop Report post Posted December 11, 2009 Glad that you have come to the solution. Happy FusionCharting! Share this post Link to post Share on other sites