Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » How to display zero value (How to display zero value in the bar chart value series.)
How to display zero value [message #870854] Wed, 09 May 2012 23:53 Go to next message
A R is currently offline A R
Messages: 104
Registered: April 2012
Senior Member
How to display zero value in the bar chart value series.

Attached the sample file and report design.

Thanks in advance

AR
Re: How to display zero value [message #871056 is a reply to message #870854] Thu, 10 May 2012 16:56 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Select the y-axis scale on the third tab of the chart wizard. Enter 0
as a minimum value and check the show values outside axis range check
box. See attached screenshot.

Jason

On 5/9/2012 7:53 PM, Amar Reddy wrote:
> How to display zero value in the bar chart value series.
>
> Attached the sample file and report design.
>
> Thanks in advance
>
> AR
Re: How to display zero value [message #871057 is a reply to message #870854] Thu, 10 May 2012 16:56 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Select the y-axis scale on the third tab of the chart wizard. Enter 0
as a minimum value and check the show values outside axis range check
box. See attached screenshot.

Jason

On 5/9/2012 7:53 PM, Amar Reddy wrote:
> How to display zero value in the bar chart value series.
>
> Attached the sample file and report design.
>
> Thanks in advance
>
> AR
Re: How to display zero value [message #871058 is a reply to message #870854] Thu, 10 May 2012 16:56 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Select the y-axis scale on the third tab of the chart wizard. Enter 0
as a minimum value and check the show values outside axis range check
box. See attached screenshot.

Jason

On 5/9/2012 7:53 PM, Amar Reddy wrote:
> How to display zero value in the bar chart value series.
>
> Attached the sample file and report design.
>
> Thanks in advance
>
> AR
Re: How to display zero value [message #871060 is a reply to message #870854] Thu, 10 May 2012 16:56 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Select the y-axis scale on the third tab of the chart wizard. Enter 0
as a minimum value and check the show values outside axis range check
box. See attached screenshot.

Jason

On 5/9/2012 7:53 PM, Amar Reddy wrote:
> How to display zero value in the bar chart value series.
>
> Attached the sample file and report design.
>
> Thanks in advance
>
> AR
Re: How to display zero value [message #871062 is a reply to message #870854] Thu, 10 May 2012 16:56 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Select the y-axis scale on the third tab of the chart wizard. Enter 0
as a minimum value and check the show values outside axis range check
box. See attached screenshot.

Jason

On 5/9/2012 7:53 PM, Amar Reddy wrote:
> How to display zero value in the bar chart value series.
>
> Attached the sample file and report design.
>
> Thanks in advance
>
> AR
Re: How to display zero value [message #871063 is a reply to message #870854] Thu, 10 May 2012 16:56 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Select the y-axis scale on the third tab of the chart wizard. Enter 0
as a minimum value and check the show values outside axis range check
box. See attached screenshot.

Jason

On 5/9/2012 7:53 PM, Amar Reddy wrote:
> How to display zero value in the bar chart value series.
>
> Attached the sample file and report design.
>
> Thanks in advance
>
> AR
Re: How to display zero value [message #871066 is a reply to message #870854] Thu, 10 May 2012 16:56 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Select the y-axis scale on the third tab of the chart wizard. Enter 0
as a minimum value and check the show values outside axis range check
box. See attached screenshot.

Jason

On 5/9/2012 7:53 PM, Amar Reddy wrote:
> How to display zero value in the bar chart value series.
>
> Attached the sample file and report design.
>
> Thanks in advance
>
> AR
Re: How to display zero value [message #871068 is a reply to message #870854] Thu, 10 May 2012 16:56 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Select the y-axis scale on the third tab of the chart wizard. Enter 0
as a minimum value and check the show values outside axis range check
box. See attached screenshot.

Jason

On 5/9/2012 7:53 PM, Amar Reddy wrote:
> How to display zero value in the bar chart value series.
>
> Attached the sample file and report design.
>
> Thanks in advance
>
> AR
Re: How to display zero value [message #871069 is a reply to message #870854] Thu, 10 May 2012 16:56 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Select the y-axis scale on the third tab of the chart wizard. Enter 0
as a minimum value and check the show values outside axis range check
box. See attached screenshot.

Jason

On 5/9/2012 7:53 PM, Amar Reddy wrote:
> How to display zero value in the bar chart value series.
>
> Attached the sample file and report design.
>
> Thanks in advance
>
> AR
Re: How to display zero value [message #871071 is a reply to message #870854] Thu, 10 May 2012 16:56 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Select the y-axis scale on the third tab of the chart wizard. Enter 0
as a minimum value and check the show values outside axis range check
box. See attached screenshot.

Jason

On 5/9/2012 7:53 PM, Amar Reddy wrote:
> How to display zero value in the bar chart value series.
>
> Attached the sample file and report design.
>
> Thanks in advance
>
> AR
Re: How to display zero value [message #871107 is a reply to message #871062] Thu, 10 May 2012 21:12 Go to previous messageGo to next message
A R is currently offline A R
Messages: 104
Registered: April 2012
Senior Member
Hi Jason,

Thanks for the response. It worked for me. Here I am facing one problem in case of few reports, that is : " The fisrt bar is missing from the chart".

Please suggest. For ur ref here I am attaching screen capture.

Thanks in advance

AR
Re: How to display zero value [message #871251 is a reply to message #871107] Fri, 11 May 2012 16:08 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Is the value for Planning and Analyze a null? If so add this script to
the chart:
function afterDataSetFilled(series, dataSet, icsc)
{
var list = dataSet.getValues();

for ( i=0; i<list.length; i=i+1)
{
if ( list[i] == null )
{
list[i]= 0;
}
}
}

Jason

On 5/10/2012 5:12 PM, Amar Reddy wrote:
> Hi Jason,
>
> Thanks for the response. It worked for me. Here I am facing one problem in case of few reports, that is : " The fisrt bar is missing from the chart".
>
> Please suggest. For ur ref here I am attaching screen capture.
>
> Thanks in advance
>
> AR
Re: How to display zero value [message #871305 is a reply to message #871251] Fri, 11 May 2012 20:35 Go to previous message
A R is currently offline A R
Messages: 104
Registered: April 2012
Senior Member
Thanks Jason Smile

It really works without issue.

Happy Weekend My dear friend

Amarnath
Previous Topic:Dynamic coloring a result
Next Topic:Unable to run Chart Report with CrossTabs using BIRT 2.6.2
Goto Forum:
  


Current Time: Sun Sep 21 04:04:27 GMT 2014

Powered by FUDForum. Page generated in 0.06015 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software