Line charts to not render lines with Zero value.

Stimulsoft Ultimate discussion
Post Reply
iamyong
Posts: 23
Joined: Tue Dec 16, 2014 7:43 am

Line charts to not render lines with Zero value.

Post by iamyong »

Hello,

Is there a way to not render lines in line graphs where the values is Zero (red boxed below)? Been having difficulty finding a property for it.

http://postimg.org/image/ve3rjrz8h/

I'm using SS versions: 2011.1.919 and 2014.3.0'

Thanks
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Line charts to not render lines with Zero value.

Post by HighAley »

Hello.

Please, try to set the Filter for the Chart.
Also set the Show Nulls property of the Series to False.

Thank you.
iamyong
Posts: 23
Joined: Tue Dec 16, 2014 7:43 am

Re: Line charts to not render lines with Zero value.

Post by iamyong »

Hi,

If I add a filter where value <= 0 then the data point disappears. I would like for the data point to still be there, just be printed/rendered as invisible/transparent. Is there an option to do this?

Thanks
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Line charts to not render lines with Zero value.

Post by Alex K. »

Hello,

Please try to set the ShowNulls property to false.

Thank you.
Attachments
Capture.PNG
Capture.PNG (81.86 KiB) Viewed 3372 times
iamyong
Posts: 23
Joined: Tue Dec 16, 2014 7:43 am

Re: Line charts to not render lines with Zero value.

Post by iamyong »

Hi,

This worked! Although I had to specifically set the 0 values from the query to null.

Thanks!
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Re: Line charts to not render lines with Zero value.

Post by Andrew »

Hello,

Great! Thank you for letting us know about this.

Have a nice day!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Line charts to not render lines with Zero value.

Post by Alex K. »

Hello,

We are always glad to help you!
Let us know if you need any additional help.

Thank you.
Post Reply