how to change the scale of the axis of the graph in fusion chart

0
 $strXML = "<chart decimals='3' caption='COMPARATIVO DE WORKMASHIP - Data: ".$dt_atual[0]."' valueonright='0'  
        labeldisplay='wrap' canvasbgcolor='#aeaeae' bgcolor='#aeaeae' showToolTip='0' baseFontColor='#FFFFFF' placevaluesInside='1'
        baseFont='verdana'  baseFontSize='18' showYAxisValues='0'  showvalues='1' numberSuffix='%' divlinealpha='100' 
        numvdivlines='10' vdivlinealpha='4' showalternatevgridcolor='2' alternatevgridalpha='5' canvaspadding='0' showborder='2'>";

        $strXML .= '<categories>';
        $strXML .= '<category label="L01" labeltooltext="" />';
        $strXML .= '<category label="L02" labeltooltext=""/>';
        $strXML .= '<category label="L03" labeltooltext=""/>';
        $strXML .= '<category label="L04" labeltooltext=""/>';
        $strXML .= '<category label="L05" labeltooltext=""/>';
        $strXML .= '<category label="L06" labeltooltext=""/>';
        $strXML .= '<category label="L07" labeltooltext=""/>';
        $strXML .= '<category label="L08" labeltooltext=""/>';
        $strXML .= '<category label="CelD" labeltooltext=""/>';
        $strXML .= '<category label="CelE" labeltooltext=""/>';
        $strXML .= '<category label="SRV" labeltooltext=""/>';
        $strXML .= '</categories>';

       $strXML .= '<dataset parentYAxis="P">';
        $strXML .= '<set value="'.$row['divisao1'].'" color="'.$color[0].'" link="?linha=1&op=rty5"/>';
        $strXML .= '<set value="'.$row['divisao2'].'" color="'.$color[1].'" link="?linha=2&op=rty5" />';
        $strXML .= '<set value="'.$row['divisao3'].'" color="'.$color[2].'" link="?linha=3&op=rty5"/>';
        $strXML .= '<set value="'.$row['divisao4'].'" color="'.$color[3].'" link="?linha=4&op=rty5"/>';
        $strXML .= '<set value="'.$row['divisao5'].'" color="'.$color[4].'" link="?linha=5&op=rty5"/>';
        $strXML .= '<set value="'.$row['divisao6'].'" color="'.$color[5].'" link="?linha=6&op=rty5"/>';
        $strXML .= '<set value="'.$row['divisao7'].'" color="'.$color[6].'" link="?linha=7&op=rty5"/>';
        $strXML .= '<set value="'.$row['divisao8'].'" color="'.$color[7].'" link="?linha=8&op=rty5"/>';
        $strXML .= '<set value="'.$row['divisaoD'].'" color="'.$color[8].'" link="?linha=D&op=rty5"/>';
        $strXML .= '<set value="'.$row['divisaoE'].'" color="'.$color[9].'" link="?linha=E&op=rty5"/>';
        $strXML .= '<set value="'.$row['divisaoA'].'" color="'.$color[10].'" link="?linha=A&op=rty5"/>';
        $strXML .= '</dataset>';

        $strXML .= "<dataset seriesname='' parentYAxis='S'>";
        $strXML .= "<set label='' value='".$row['prod1']."'  displayValue='".$row['prod1']."' />";
        $strXML .= "<set label='' value='".$row['prod2']."'  displayValue='".$row['prod2']."' />";
        $strXML .= "<set label='' value='".$row['prod3']."'  displayValue='".$row['prod3']."' />";
        $strXML .= "<set label='' value='".$row['prod4']."'  displayValue='".$row['prod4']."' />";
        $strXML .= "<set label='' value='".$row['prod5']."'  displayValue='".$row['prod5']."' />";
        $strXML .= "<set label='' value='".$row['prod6']."'  displayValue='".$row['prod6']."' />";
        $strXML .= "<set label='' value='".$row['prod7']."'  displayValue='".$row['prod7']."' />";
        $strXML .= "<set label='' value='".$row['prod8']."'  displayValue='".$row['prod8']."' />";
        $strXML .= "<set label='' value='".$row['prodD']."'  displayValue='".$row['prodD']."' />";
        $strXML .= "<set label='' value='".$row['prodE']."'  displayValue='".$row['prodE']."' />";
        $strXML .= "<set label='' value='".$row['prodA']."'  displayValue='".$row['prodA']."' />";
        $strXML .= '</dataset>';

        $strXML .= '<trendlines>';
        $strXML .= '<line startvalue="98"  thickness="4" color="#FFFF00"  valueonright="2" tooltext="99.25% of the target" displayvalue="Target Reprove - 99.25%" />';
        $strXML .= '</trendlines>';
        $strXML .=  "</chart>";

        echo"<center><tr>"
        . "     <td>".renderChart("../Charts/MSColumn3DLineDY.swf", "", $strXML, "chart1", "100%", "80%")."</td>"
        . " </tr></center>";
    
asked by anonymous 29.08.2018 / 12:46

0 answers