how to put a suffix number on a graph in fushionChart in a specific column?

0

I'm doing a graph with two columns but I need one of them to show the suffix and the other one can not do it if I put the param param numberSuffix = '%' shows in the two columns otherwise it does not show in any. >

follows the xml code:

$ strXML="";

        $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='S' >";
        $strXML .= "<set value='".$row['divisao1']."' displayValue='".$row['divisao1']." %' color='".$color[0]."' link='?linha=1&op=rty4'/>";
        $strXML .= "<set value='".$row['divisao2']."' displayValue='".$row['divisao2']." %' color='".$color[1]."' link='?linha=2&op=rty4' />";
        $strXML .= "<set value='".$row['divisao3']."' displayValue='".$row['divisao3']." %' color='".$color[2]."' link='?linha=3&op=rty4'/>";
        $strXML .= "<set value='".$row['divisao4']."' displayValue='".$row['divisao4']." %' color='".$color[3]."' link='?linha=4&op=rty4'/>";
        $strXML .= "<set value='".$row['divisao5']."' displayValue='".$row['divisao5']." %' color='".$color[4]."' link='?linha=5&op=rty4'/>";
        $strXML .= "<set value='".$row['divisao6']."' displayValue='".$row['divisao6']." %' color='".$color[5]."' link='?linha=6&op=rty4'/>";
        $strXML .= "<set value='".$row['divisao7']."' displayValue='".$row['divisao7']." %' color='".$color[6]."' link='?linha=7&op=rty4'/>";
        $strXML .= "<set value='".$row['divisao8']."' displayValue='".$row['divisao8']." %' color='".$color[7]."' link='?linha=8&op=rty4'/>";
        $strXML .= "<set value='".$row['divisaoD']."' displayValue='".$row['divisaoD']." %' color='".$color[8]."' link='?linha=D&op=rty4'/>";
        $strXML .= "<set value='".$row['divisaoE']."' displayValue='".$row['divisaoE']." %' color='".$color[9]."' link='?linha=E&op=rty4'/>";
        $strXML .= "<set value='".$row['divisaoA']."' displayValue='".$row['divisaoA']." %' color='".$color[10]."' link='?linha=A&op=rty4'/>";
        $strXML .= '</dataset>';
        $strXML .= "<dataset parentXAxis='P' >";
        $strXML .= "<set label='' value='".$row['prod1']."'  color='0000FF'/>";
        $strXML .= "<set label='' value='".$row['prod2']."'  color='0000FF'/>";
        $strXML .= "<set label='' value='".$row['prod3']."'  color='0000FF'/>";
        $strXML .= "<set label='' value='".$row['prod4']."'  color='0000FF'/>";
        $strXML .= "<set label='' value='".$row['prod5']."'  color='0000FF'/>";
        $strXML .= "<set label='' value='".$row['prod6']."'  color='0000FF'/>";
        $strXML .= "<set label='' value='".$row['prod7']."'  color='0000FF'/>";
        $strXML .= "<set label='' value='".$row['prod8']."'  color='0000FF'/>";
        $strXML .= "<set label='' value='".$row['prodD']."'  color='0000FF'/>";
        $strXML .= "<set label='' value='".$row['prodE']."'  color='0000FF'/>";
        $strXML .= "<set label='' value='".$row['prodA']."'  color='0000FF'/>";
        $strXML .= '</dataset>';
        $strXML .= '<trendlines>';
        $strXML .= '<line startvalue="98" color="#FFFF00"  thickness="7" valueonright="0" tooltext="98% of the target" displayvalue="Target Reprove - 98%" />';
        $strXML .= '</trendlines>';
        $strXML .=  "</chart>";
        echo"<center><tr>"
        . "     <td>".renderChart("../Charts/MSColumn3D.swf", "", $strXML, "chart1", "100%", "80%")."</td>"
        . " </tr></center>";
    
asked by anonymous 28.08.2018 / 19:19

0 answers