Clustered column question.

Stimulsoft Reports.NET discussion
Post Reply
Nateksi
Posts: 10
Joined: Mon Sep 08, 2008 6:16 am
Location: Denmark

Clustered column question.

Post by Nateksi »

Hi,

I want to make a clustered column chart where a column doesn't show or make a space if its value is zero. Right now it make a space where the column would have been if there had been any data...

How do I get this done?

Thank you
/Anette
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Clustered column question.

Post by Edward »

Hello, Anette.

If you need a chart for example for 12 months, but a datasource has only 11 records in it, then you need to extend your data up to 12 records in order to receive 12 bars instead of 11 in chart. There is no other options.

Thank you.
Nateksi
Posts: 10
Joined: Mon Sep 08, 2008 6:16 am
Location: Denmark

Clustered column question.

Post by Nateksi »

okay, but thats not my problem. I would like to make a chart with like 4 columns, but if one of the values is zero in the datasource then I want the column to disappear and not make a space.

/Anette
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Clustered column question.

Post by Edward »

Yes, it is possible. Please set Filter property of the Chart:

Value Numeric ColumnName not equals 0

Thank you.
Nateksi
Posts: 10
Joined: Mon Sep 08, 2008 6:16 am
Location: Denmark

Clustered column question.

Post by Nateksi »

Hi again,

I've tried the filter like you said, but there's still a space where the column would have been if the value had been greater than 0. I don't want that space...

/Anette
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Clustered column question.

Post by Edward »

Hello, Anette.

Please send the report template to support[at]stimulsoft.com for analysis.

Thank you.
Post Reply