Stimulsoft Reports.Net
www.stimulsoft.com

Welcome Guest Search | Active Topics | Members | Log In | Register

Months with zeroed values do not appear in the line chart... Options
jairrc
Posted: Thursday, March 11, 2010 7:46:45 PM
Rank: Member
Groups: Member

Joined: 6/10/2009
Posts: 24
Location: Joinville, Brazil
Hello...

I have a line chart that displays values from month to month. For example, from May to December. However, some months have no values, then the graph is omitting those months. As a result, are missing from the graph the columns of months that have values zero. The dataset returns every month, including those who have values zero.
How to solve this problem?

Regards,

Jair RC
Joinville / SC / Brazil

Edward
Posted: Friday, March 12, 2010 1:01:37 AM
Rank: Advanced Member
Groups: Administration, Stimulsoft Team

Joined: 6/9/2006
Posts: 2,617
Hi Jair,

Please make sure that for each month there is a row with '0' value in the DataSource, otherwise there is no to render line chart correctly.

Thank you.
jairrc
Posted: Thursday, March 18, 2010 4:25:36 PM
Rank: Member
Groups: Member

Joined: 6/10/2009
Posts: 24
Location: Joinville, Brazil
Hello, Edward

So when I run the stored procedure directly in the database, all the columns show the value zero (see code below). But when I generate the report, the columns which have zeros, do not appear.

In the example below, the months Aug, Sep and Dec will not appear on the chart, because the two lines are zero.

Code:
CLASSE                        Jun   Jul   Ago  Set   Out   Nov  Dez
OCORRÊNCIAS DE EQUIPAMENTO      1     0     0    0     0     3    0
CORRÊNCIAS OPERACIONAIS         2     3     0    0     1     1    0


I've tried everything but could not solve this problem.

Regards
Jair RC
Joinville/SC/Brazil


Andrew
Posted: Friday, March 19, 2010 1:47:14 PM
Rank: Advanced Member
Groups: Stimulsoft Team

Joined: 6/9/2006
Posts: 1,133
Hello,

Unfortunately, our charts does not support the mode you described and are always rendered in sequence. You may filter data previously and remove months with zero from sequence.

Thank you.
Users browsing this topic
Guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum Rss Feed : RSS

Powered by Yet Another Forum.net version 1.0.1 - 2/27/2006
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.029 seconds.