how to add zero ( or how to show zero) in bar chart when there is no data present
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



how to add zero ( or how to show zero) in bar... Expand / Collapse
Author
Message
Posted 4/26/2008 3:42:22 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 4/29/2008 4:06:17 AM
Posts: 44, Visits: 93
Below I have given picture of bar chart. I want to display zero for bar which don't have data.Means consider following case where Febuary month contains one category while others don't have data. I want zero (0) there. Also If there is not any data present in database for particular month, in that case I want to display zero there. In following case

march, april ,may etc. where there is not any data. I want to display there labels along with

zero (0) on top .

Post #5959
Posted 4/28/2008 2:28:15 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 4:56:35 AM
Posts: 706, Visits: 1,143
Hi,

Could you please refer to the modified PHP function that we posted in the threads having your query and just change the line with "<set/>" to <set value='0'/> ?

Regards,

Sudipto Choudhury
FusionCharts Team

Post #5965
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 11:17am


Execution: 0.047.