Hi,
I try to use dril down chart in array but i can't. This is my code ;
//print_r($grafik); die();
//print_r($baslik[0]['ADI']); die();
for($i=0; $i<sizeof($grafik); $i++){
$arrData[$i][0] = $grafik[$i]['YIL']."-".$grafik[$i]['AY'];
$arrData[$i][1] = $grafik[$i]['ROUND(SUM(NVL(DEGER,0)))']; //SUM(NVL(DEGER,0))
}
// print_r($arrData); die();
# Create FusionCharts PHP Class object for multiseies column3d chart
$FC = new FusionCharts("Column3D","100%","100%");
# Set Relative Path of swf file.
$FC->setSWFPath("http://localhost/ProjeYatirim/js/FusionCharts/");
# Define chart attributes
$FC->setInitParam("scalemode","exactfit");
//echo "<pre>";
//print_r($arrData); die;
$strParam="caption=".$baslik[0]['ADI'].";formatNumberScale=0;rotateValues=1;decimals=0;canvasBgColor=FFFFFF,FF5904;canvasBgAlpha=100,40;canvasBgRatio=0,100; canvasBgAngle=180;labelDisplay=Rotate;showValues=0;".
for($i=0; $i<sizeof($grafik); $i++){
echo"clickURL=http://localhost/ProjeYatirim/index.php?/proje/zamanAltGrafik/".$arrData[$i][0];
}."";
//paletteColors=FF5904,0372AB,FF0000
# Set chart attributes
$FC->setChartParams($strParam);
# Pass the 2 arrays storing data and category names to
# FusionCharts PHP Class function addChartDataFromArray
$FC->addChartDataFromArray($arrData);
# Render the Chart
$FC->renderChart();
?>
PC : i use PHPCLass structure to get chart data from array therefore "link" properties does not work. (link properties work only data from xml). What can i do to solve this?
Thanks