BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

suppressing zero TDBChart values in line graph

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting
View previous topic :: View next topic  
Author Message
Mark Grover
Guest





PostPosted: Mon Oct 11, 2004 12:52 pm    Post subject: suppressing zero TDBChart values in line graph Reply with quote



Is there a way to suppress zero values from charting on a line graph in
tdbchart?
I'm graphing month by month values, current year as one series and previous
year as another series on the chart. Since this year is incomplete, it
charts zeroes, and my chart gets all scrunched up.


Back to top
Yannis
Guest





PostPosted: Mon Oct 11, 2004 1:09 pm    Post subject: Re: suppressing zero TDBChart values in line graph Reply with quote



"Mark Grover" <mgrover (AT) lgamerica (DOT) com> wrote in
news:416a821c$1 (AT) newsgroups (DOT) borland.com:

Quote:
Is there a way to suppress zero values from charting on a line graph
in tdbchart?
I'm graphing month by month values, current year as one series and
previous year as another series on the chart. Since this year is
incomplete, it charts zeroes, and my chart gets all scrunched up.




Use the dataset filter property to supperss any value you want.

Regards
--
Yannis Kozikopoulos
Software Engineer
Market Data & Analysis
------------------------------------------------------
PROFILE S. A.
Sigrou Av 199, 171 21 Athens
Phone: +30 210 9301200, Fax: +30 210 9301222
e-mail: **********************
www.profile.gr

Back to top
Mark Grover
Guest





PostPosted: Mon Oct 11, 2004 1:33 pm    Post subject: Re: suppressing zero TDBChart values in line graph Reply with quote



I'm not so sure I can make that work. Here is the layout of my dataset:
(with sample data.)

Month PriorYear CurrentYear
------ ---------- -------------
Jan 500 230
Feb 430 123
Mar 300 174
Apr 350 345
May 120 139
Jun 400 409
Jul 200 240
Aug 313 320
Sep 179 185
Oct 285 0
Nov 305 0
Dec 120 0

If I suppress the records with the filter property, I won't get the values
for prior year.

"Yannis" <None (AT) Noware (DOT) non> wrote

Quote:
"Mark Grover" <mgrover (AT) lgamerica (DOT) com> wrote in
news:416a821c$1 (AT) newsgroups (DOT) borland.com:

Is there a way to suppress zero values from charting on a line graph
in tdbchart?
I'm graphing month by month values, current year as one series and
previous year as another series on the chart. Since this year is
incomplete, it charts zeroes, and my chart gets all scrunched up.




Use the dataset filter property to supperss any value you want.

Regards
--
Yannis Kozikopoulos
Software Engineer
Market Data & Analysis
------------------------------------------------------
PROFILE S. A.
Sigrou Av 199, 171 21 Athens
Phone: +30 210 9301200, Fax: +30 210 9301222
e-mail: **********************
www.profile.gr



Back to top
Mark Grover
Guest





PostPosted: Mon Oct 11, 2004 2:51 pm    Post subject: Re: suppressing zero TDBChart values in line graph Reply with quote

I figured it out. If I set the value to null instead of zero, it won't
chart.


"Mark Grover" <mgrover (AT) lgamerica (DOT) com> wrote

Quote:
I'm not so sure I can make that work. Here is the layout of my dataset:
(with sample data.)

Month PriorYear CurrentYear
------ ---------- -------------
Jan 500 230
Feb 430 123
Mar 300 174
Apr 350 345
May 120 139
Jun 400 409
Jul 200 240
Aug 313 320
Sep 179 185
Oct 285 0
Nov 305 0
Dec 120 0

If I suppress the records with the filter property, I won't get the values
for prior year.

"Yannis" <None (AT) Noware (DOT) non> wrote in message
news:Xns957FA4E5A588NoneNowarenon (AT) 207 (DOT) 105.83.66...
"Mark Grover" <mgrover (AT) lgamerica (DOT) com> wrote in
news:416a821c$1 (AT) newsgroups (DOT) borland.com:

Is there a way to suppress zero values from charting on a line graph
in tdbchart?
I'm graphing month by month values, current year as one series and
previous year as another series on the chart. Since this year is
incomplete, it charts zeroes, and my chart gets all scrunched up.




Use the dataset filter property to supperss any value you want.

Regards
--
Yannis Kozikopoulos
Software Engineer
Market Data & Analysis
------------------------------------------------------
PROFILE S. A.
Sigrou Av 199, 171 21 Athens
Phone: +30 210 9301200, Fax: +30 210 9301222
e-mail: **********************
www.profile.gr





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Reporting-Charting All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.