Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You've run into an arbitrary constant that's been designed into Excel.
According to "How Chart Axis Limits Are Determined" (http://support.microsoft.com/kb/214075): "If the difference between yMax and yMin is greater than 16.667 percent of the value of yMax, the automatic maximum for the y-axis is zero." This means yMin / yMax should be greater than 5/6 (0.833333333) or Excel will use 0 for yMin 6:30:00 pm / 10:12:00 pm = 0.770833333333 / 0.925000000000 = 0.833333333333 Phew, barely makes it. 6:30:00 pm / 10:12:05 pm = 0.770833333333 / 0.925057870370 = 0.833281201126 Oops, his doesn't make it. - Jon ------- Jon Peltier, Microsoft Excel MVP Peltier Technical Services, Inc. http://PeltierTech.com/WordPress/ _______ "SPH1967" wrote in message ... I have a problem when trying to display a graph of time vs. value. If the number of data elements is less than or equal to 2665, the graph displays correctly. The data is centered on the x-axis. However, if I try to display more than 2665 elements, the x-axis on the graph forces itself to display a full 24 hours (12AM to 12AM) even though my data is from around 630PM to 1012PM. The chart then looks strange and is difficult to read. To duplicate this, simply create two columns of data: 6:30:00 PM 1 6:30:05 PM 2 6:30:10 PM 3 6:30:15 PM 4 6:30:20 PM 5 6:30:25 PM 6 ... 10:11:50 PM 2663 10:11:55 PM 2664 10:12:00 PM 2665 Extend this all the way down to row 2665. Create an XY scatter graph of all data from row 1 to row 3000. The chart displays the x-axis correctly (from 6pm to 1048pm) and centers the data nicely. Add one more row of data (on row 2666) and the chart then gets screwed up. Any ideas what might be causing this? Thanks in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cell displays #'s incorrectly | Excel Discussion (Misc queries) | |||
XY Scatter Chart with X-axis displays the Category Name | Charts and Charting in Excel | |||
Calendar Control 9.0 displays incorrectly on other machines | Excel Discussion (Misc queries) | |||
TO CREATE A LINE CHART WITH RATE IN Y AXIS & REAL TIME IN X AXIS | Charts and Charting in Excel | |||
date in Excel displays incorrectly when merged in letter | Excel Discussion (Misc queries) |