How show value zero in chart?
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



How show value zero in chart? Expand / Collapse
Author
Message
Posted 5/20/2008 5:40:43 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/24/2008 1:23:28 PM
Posts: 2, Visits: 7
Hi!

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......

Post #6360
Posted 5/23/2008 1:37:44 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 4:19:22 AM
Posts: 885, Visits: 1,422
Hi,

Could you please use showValues='0' ?

Regards,

Sudipto Choudhury
FusionCharts Team

Post #6382
Posted 5/24/2008 8:13:24 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/24/2008 1:23:28 PM
Posts: 2, Visits: 7
Hi,

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>';

<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>



  Post Attachments 
grafico_forum.jpg (0 views, 36.58 KB)
Post #6427
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 3:30pm


Execution: 0.047.