I liking show value zero in my chart, but when make the chart don´t display nothing.
This is my xml ...
<graph caption='Monthly Unit Sales' xAxisName='Month' yAxisName='Units' yAxisMinValue='0' showName='1' showValue='0' decimalPrecision='1' formatNumberScale='0'> <set name='Jan' value='223' color='AFD8F8' /> <set name='Feb value='163' color='F6BD0F' /> <set name='Mar' value='215' color='8BBA00' /> <set name='Apr' value='0' color='A66EDD' /></graph>
I want show month april with value zero.
Thanks......
Could you please use showValues='0' ?
I used showValues='0', but dont show value zero..
Here is my code php, xml and my chart
echo "<graph caption='Suporte com Deslocamento' xAxisName='Meses' yAxisName='Ocorrências' yAxisMinValue='0' yAxisMaxValue='300' showName='1' showValues='0' decimalPrecision='1' formatNumberScale='0'>";while($dados = mysql_fetch_assoc($result)){print ("\t<set name='".$dados['mes']."' value='".$dados['numero']."' color='".getFCColor()."' />");}mysql_free_result($result);mysql_close($conn);echo '</graph>';
while($dados = mysql_fetch_assoc($result)){print ("\t<set name='".$dados['mes']."' value='".$dados['numero']."' color='".getFCColor()."' />");}mysql_free_result($result);mysql_close($conn);
echo '</graph>';
<graph caption='Suporte com Deslocamento' xAxisName='Meses' yAxisName='Ocorrências' yAxisMinValue='0' yAxisMaxValue='300' showName='1' showLimits='0' decimalPrecision='1' formatNumberScale='0'> <set name='Jan' value='223' color='AFD8F8' /> <set name='Fev' value='163' color='F6BD0F' /> <set name='Mar' value='215' color='8BBA00' /> <set name='Abr' value='161' color='A66EDD' /> <set name='Mai' value='0' color='F984A1' /></graph>