create circle

Stimulsoft Reports.NET discussion
Post Reply
majidsoft
Posts: 66
Joined: Fri May 07, 2010 6:54 am

create circle

Post by majidsoft »

hi i have one field that contain data i want to draw circle around the field if my filed data is greater than (for example 2) i want color of that circle been red
thanks
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

create circle

Post by Alex K. »

Hello,

Please see the sample report in attachment.

Thank you.
Attachments
662.SampleReport.mrt
(19.76 KiB) Downloaded 369 times
majidsoft
Posts: 66
Joined: Fri May 07, 2010 6:54 am

create circle

Post by majidsoft »

thanks
i use your code
i want to use this code for example data between 14 to 19
this code is work but when my data is null i dont want to this code work but circle is drawind around null data too
thanks
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

create circle

Post by Alex K. »

Hello,

You can add in you Conditions following expression:

Code: Select all

DataSource["Column"] == DBNull.Value
Thank you.
majidsoft
Posts: 66
Joined: Fri May 07, 2010 6:54 am

create circle

Post by majidsoft »

hi
i use this code but i faced with this error
'system.DBNull' does not contain definition for 'value'
thanks
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

create circle

Post by Alex K. »

Hello,

Please check, that you use the correct expression in Conditions ("Value" but not "value").

Thank you.
majidsoft
Posts: 66
Joined: Fri May 07, 2010 6:54 am

create circle

Post by majidsoft »

thanks
my problem solved
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

create circle

Post by Andrew »

Perfect!

Have a nice day!
Thank you.
Post Reply