View unanswered posts | View active topics It is currently Sun Apr 28, 2024 10:26 pm



Reply to topic  [ 2 posts ] 
Hide zero value 
Author Message
New pChart user
New pChart user

Joined: Wed May 30, 2012 6:53 am
Posts: 1
Post Hide zero value
Hi,

I have a question:

I have a 2 series data:
Serie 1: Bar graph
Serie 2: line graph

I need to hide the point in Serie 2 with value = = 0.
It is possible??
See attach file.
Thank you


Attachments:
monthly_chart.png
monthly_chart.png [ 65.28 KiB | Viewed 5067 times ]
Wed May 30, 2012 7:00 am
Profile
Experienced pChart user
Experienced pChart user

Joined: Tue Aug 02, 2011 11:49 pm
Posts: 34
Post Re: Hide zero value
you have to sustitute the zero values with the VOID constant in your series
then the output is supressed
make sure that the pData.class is included before walking the arrays to substitute zero by VOID

see also
viewtopic.php?p=3587#p3587
viewtopic.php?p=3590#p3590

and documentation http://wiki.pchart.net/doc.missing.points.html


Wed May 30, 2012 12:31 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 35 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron