This is a migrated thread and some comments may be shown as answers.

Numerical Scale CrossAxisPositions set to Auto doesn't always calculate the correct number

2 Answers 154 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brent Hetland
Top achievements
Rank 1
Brent Hetland asked on 22 Sep 2015, 11:19 AM

Hi,

I am using Q2 2014 SP1 of your Reporting controls.

I have a Graph that contains a bar series and a line series (I don't know if the line series has anything to do with the problem).

I have one item in my Y-Axis Scale CrossAxisPositions and it's Position is Auto with a Value of 0.

The problem is that with certain ranges of numbers, the X Axis crosses the Y Axis at the MINIMUM value in the data set and because of that, no bar is graphed.

I've attached two pictures to show the problem.  In this case the numbers on the graph chart are all between 1 and 3.  You see that the Auto setting has chosen to make the axis cross at 1.  And you can then see that none of the months with a 1, show a value.  It should cross at 0.  Note that this is NOT the only example I have where it is doing this to me.  I have attached a chart with values between 2 and 12 and the graph chose to cross the axis at 2.  I have attached a picture of that as well.  All the areas where you don't see a bar, are actually a 2 but the user doesn't know that.

Of course I can force this setting to use a Position of "Specific" with a Value of 0, but the Auto setting is nice when numbers are very large (yet all close to each other).

Is there anything I can do to make this work correctly?

Thanks,

Brent

2 Answers, 1 is accepted

Sort by
0
Accepted
Stef
Telerik team
answered on 24 Sep 2015, 03:00 PM
Hello Brent,

Please test using the axis's Scale - CrossAxisPositions to adjust the scale.

In the latest Telerik Reporting Q2 2015 version the Scale properties can be controlled through the Graph - CoordinateSystems - Bindings collection (How to: Use Bindings to Control the Coordinate System Properties).


I hope this information is helpful.

Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Brent Hetland
Top achievements
Rank 1
answered on 25 Sep 2015, 11:03 AM

Thank you Stef.  I'll consider upgrading to the latest version.

Regards,

Brent

Tags
General Discussions
Asked by
Brent Hetland
Top achievements
Rank 1
Answers by
Stef
Telerik team
Brent Hetland
Top achievements
Rank 1
Share this question
or