pcjeffmac

Members
  • Content count

    6
  • Joined

  • Last visited

About pcjeffmac

  • Rank
    Forum Newbie
  1. I am trying to create a graph similar to the goal.png graph, This gives me the current.png graph, $strParam="caption=Active Projects;rotateValues=1;xAxisName=Project;PYAxisName=Revenue;SYAXisName=name;numberSuffix=%;sNumberSuffix=%25;SYAxisMinValue=0;SYAxisMaxValue=100;showValues=0;useroundedges=1;showSum=1;use3DLighting=1"; $FC->setChartParams($strParam); do { $pname = $row_projectList['project_name']; $urlpname = urlencode($row_projectList['project_name']); $pc = $row_projectList['percentage_complete']*100; $tdate = $row_projectList['ifs_target_date']; switch ($pc) { case ($pc < 10): $color = "color=FF0000"; break; case ($pc > 60): $color = "color=00FF33"; break; default: $color = "color=FFFF00"; } # Add Multi-series Dataset $FC->createMSStDataset(); # Add Multi-series dataset with in dataset $FC->addCategory("".$pname.""); $FC->addMSStSubDataset("".$urlpname."", ""); # Add set data for plotting the chart $FC->addChartData("".$pc."", "".$color.""); } while ($row_projectList = mysql_fetch_assoc($projectList)); What I really need is for the tdate to be the yaxis while still showing the percentage.
  2. virticle trend line with MSLine?

    Will this be added in a future release or do I need to build the graph in a different way?
  3. Can I add a virticle trend line with the MSLine graph? I am using $FC->addDatasetsFromDatabase($dataset, "timestamp", $values, $s); and I want to add a virticle trend line at this date. $FC->addVTrendLine("startValue=03-1-2009;endValue=03-1-2009;alpha=5;color=00FF00");