deven

Members
  • Content count

    4
  • Joined

  • Last visited

About deven

  • Rank
    Forum Newbie
  1. X Aixs Labels Are Not Visible

    thanks shashibhushan and swarnam for your tips i changed $FC->addChartData($arr_sql[tot_stud],$arr_sql[year]); to $FC->addChartData($arr_sql[tot_stud],"Name=".$arr_sql[year]); and it is working fine thanks cheers
  2. X Aixs Labels Are Not Visible

    thanks swarnam for your valuable reply , i changed the code as you have mentioned but i am still not getting right output here is the code thanks in advace include('class/FusionCharts_Gen.php'); <script language='javascript' src='FusionCharts/FusionCharts.js'></script> # Create Column3D chart Object $FC = new FusionCharts("Column3D","800","500"); # set the relative path of the SWF file $FC->setSWFPath("FusionCharts/"); # Set chart attributes $strParam="caption=Total Student Variations;xAxisName=Year;yAxisName=Number Of Students"; $FC->setChartParams($strParam); $FC->setChartParams("showNames","1"); # add chart values and category names // fetching no of students per year $year_sql = "select distinct(year),tot_stud from summary_result where class='.$_POST[course].' and year>='".$_POST[from]."' and year<='".$_POST[to]."' order by year"; $rs_sql = mysql_query($year_sql); while($arr_sql = mysql_fetch_array($rs_sql)) { $FC->addChartData($arr_sql[tot_stud],$arr_sql[year]); } $FC->renderChart();
  3. X Aixs Labels Are Not Visible

    HI thanks for your reply but it is not working here is the code # Create Column3D chart Object $FC = new FusionCharts("Column3D","800","500"); # set the relative path of the SWF file $FC->setSWFPath("FusionCharts/"); # Set chart attributes $strParam="caption=Total Student Variations;xAxisName=Year;yAxisName=Number Of Students;ShowNames=1"; $FC->setChartParams($strParam); # add chart values and category names // fetching no of students per year $year_sql = "select distinct(year),tot_stud from summary_result where class='.$_POST[course].' and year>='".$_POST[from]."' and year<='".$_POST[to]."' order by year"; //echo $year_sql; $rs_sql = mysql_query($year_sql); while($arr_sql = mysql_fetch_array($rs_sql)) { // $FC->addCategory($arr_sql[year]); $FC->addChartData($arr_sql[tot_stud]); } $FC->renderChart(); I also tried doing this $strParam="caption=Total Student Variations;xAxisName=Year;yAxisName=Number Of Students"; $FC->setChartParams("showNames","1"); please guide me if i am making any mistake
  4. hi I am trying to implement fusion chart free version into my application . So I started learning from Fusion Chart documentation In the FusionCharts PHP Class section i tried Creating first chart I followed the instructions and run the example, but in my output x axis labels are not visible. I implemented it into my application, there also it is not visible .I am attaching the screenshot of that . Please help me to figure out this thanks