Skip to Content
author's profile photo Former Member
Former Member

Data axis range issues in Chart control - Crystal Reports .NET

<p>Hi,</p><p>I have been trying to get information on this from the web, but to no avail.</p><p>I have written several Crystal Reports in C# .Net, some of which have Bar Charts.</p><p>Problem I have is with the data ranges on the Y-axis, i.e; If I have a range of 1 - 3 for the values in the data, the Y-axis will show a range of 0 - 3.2 when there isn&#39;t even a 3.2 value in the data, and won&#39;t even show the 3. It creates decimalised increments for the Y-axis, which I don&#39;t want! Just 1, 2 and 3 would do!</p><p>Is there a known bug with the Chart object, or is there a workaround?</p><p>Thanks</p><p>Martin</p><p>&#160;</p><p>&#160;</p>

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 01, 2007 at 04:17 PM

    <p>Maybe try formatting the axis numbers to NUMERIC with ZERO decimal places? The scale would still really be 0-3.2, but it might draw as 0-3.</p>

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.