help for chart

Stimulsoft Reports.NET discussion
Post Reply
mgorgin
Posts: 27
Joined: Wed Jun 18, 2008 2:06 am

help for chart

Post by mgorgin »

Hello,
I want design a chart report that show count of records that have a custem condition as value .
but the chart wizard allow select field from data source only and don't allow count its or doing any function on fields.
please help me.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

help for chart

Post by Jan »

Hello,

You can prepare data for chart with help of "Data based on other Data Source".

Thank you.
mgorgin
Posts: 27
Joined: Wed Jun 18, 2008 2:06 am

help for chart

Post by mgorgin »

Very thank , resolve my problem .
I request another help. to round digit of number columns in chart , for example we have a values(1000,2000,3000) in chart that want instead those , show (1,2,3).

Thank you
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

help for chart

Post by Jan »

Hello,

In this case you need set DataSource property of chart. After specify required expression in Value property of series. For example:

Code: Select all

{DataSource.Column / 1000}
Thank you.
mgorgin
Posts: 27
Joined: Wed Jun 18, 2008 2:06 am

help for chart

Post by mgorgin »

Hello,

I try your guidance but receive the (object reference not set to an instance of an object) error.

Thank you.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

help for chart

Post by Ivan »

Hello,

Please set DataSource property of chart. After specify required expression in Value property of series.

Code: Select all

{DataSource.Column / 1000}
For example, please check "SimpleChart" report in attach.

Thank you.
Attachments
174.SimpleChart.zip
(2.33 KiB) Downloaded 169 times
Post Reply