how excel calculates the major units on an axis when MajorUnitIsAuto property set to true

M

mathewrg

I need to know, how excel calculates the major units on an axis when
MajorUnitIsAuto property set to true.
We are porting an existing excel chart application to .net with help
of a third party tool for charting.
If MajorUnitIsAuto property set to true, excel automatically
calculates the major unit.Need to know what algorithm excel uses to
calculate the Major Units.

Thanks in advance,
Mathew
 
J

Jon Peltier

Microsoft has posted an article which tells how the minimum and maximum
scale values are determined, in terms of this mysterious major unit, but I
have seen nothing about how this major unit is calculated. The article only
says:

"The major unit used by the y-axis is automatically determined by Microsoft
Excel, based on all of the data included in the chart. The following
scenarios use this default major unit."

The article is at http://support.microsoft.com/kb/214075

- Jon
 
Joined
Apr 2, 2020
Messages
2
Reaction score
0
Hi , Mathew
Recently, our project also needs to study the algorithm excel uses to calculate the Major Units and I found you have asked this question
, so do you have any research results in the end?
Can you share the algorithm with me?
Thanks!
kiki
 
Joined
Apr 2, 2020
Messages
2
Reaction score
0
Hi , Mathew
Recently, our project also needs to study the algorithm excel uses to calculate the Major Units and I found you have asked this question
, so do you have any research results in the end?
Can you share the algorithm with me?
Thanks!
kiki
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top