When has no data - chart goes mental :/
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



When has no data - chart goes mental :/ Expand / Collapse
Author
Message
Posted 3/16/2008 2:02:50 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/16/2008 3:06:56 AM
Posts: 2, Visits: 4
Hi,

First of all, what a great product!

I've been using it for about a few weeks now, and I'm just in the process of making a script to generate an XML file, based on the number of user signups I have (updated daily via cronjob)

However, I've come across a problem if ALL of the values are false - i.e:

(had to upload as .txt, cos it wouldn't let me post )

As you can see, there is no entries with 1 in (this is going to be the case sometimes, when the site goes through a rough time, so I'm trying to accommodate for it now =))

I guess what I'm trying to ask - is can it be edited so that it just shows:

0 0 0 0 0 0 0 00 ... etc

..for all of the data, and doesn't go all weird with the chart?

TIA!


Andy

  Post Attachments 
example.jpg (6 views, 99.03 KB)
example.txt (4 views, 486 bytes)
Post #5098
Posted 3/17/2008 1:25:22 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Yesterday @ 4:15:20 AM
Posts: 772, Visits: 1,228
Hi,

Could you please use "" (null value) instead of "0" ?

Regards,

Sudipto Choudhury
FusionCharts Team

Post #5103
Posted 3/24/2008 8:41:44 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/16/2008 3:06:56 AM
Posts: 2, Visits: 4
Hi,

Thanks for the reply - didn't get an email for some reason :/

Anyway, I managed to sort it - I just added some code into my script, which did something like:

if total number of records > 0
show grapth
else
sorry, not records were found
endif

Thanks again for the reply though - great bit of software this!

Cheers

Andy


Andy
Post #5249
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 2:15am


Execution: 0.094.