Cognos Analytics

 View Only

 Getting a chart to start at 0

Marc Reed's profile image
Marc Reed IBM Champion posted Mon October 27, 2025 12:16 PM

Hi all,

I think I must be missing something. I am trying to get a CA chart to start the y axis at 0. The data I am plotting is always positive integers, so I always waht the y axis to start at 0.

If my data to plot looks like :

The chart looks like.



However, if my data only contains zeroes, such as 

The chart looks like

Even if the y axis is specifically set to start at 0.

I think a work around is to plot a measure of value 1 and hide this plot. But I wondered if I was missing something.

Marc Reed's profile image
Marc Reed IBM Champion

I have stumbled across a work around and thought I would post here in case anyone else has this issue.

Simply set the maximum axis range. In this case I have set it to 1.

This forces the chart to start at 0.

If the maximum is more than one, then the chart automatically changes the range.