#1   Report Post  
David
 
Posts: n/a
Default Y axis weak?

Greetings everyone,
I have a nice line chart & chart data table. The Y axis minimum is manually
set to zero, i do not want to show negative values since it is not possible
for the data to get below zero. The problem is, when I get some zero values,
the data markers impinge on the Xaxis labels. I would like to retain the data
markers and put some space between the zero data points and the X axis labels
without having any extra tick marks and labels below zero on the Y axis.
TIA for your advice
  #2   Report Post  
Jon Peltier
 
Posts: n/a
Default Y axis weak?

David -

Double click on the Y axis. Set the minimum to one major unit below zero
(so you have to uncheck auto for the major tick spacing too), and ensure
that the X axis crosses at zero. Then on the number format tab, define a
custom format that shows nothing for a negative number. A number format
has four parts, separated by semicolons, where the parts refer to
display of positive, negative, zero, and text values. Leave nothing for
the format of negative numbers, and you'll get no negative labels. For
example:

0.00;;0.00;@
0;;0;@
General;;General;@

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______


David wrote:

Greetings everyone,
I have a nice line chart & chart data table. The Y axis minimum is manually
set to zero, i do not want to show negative values since it is not possible
for the data to get below zero. The problem is, when I get some zero values,
the data markers impinge on the Xaxis labels. I would like to retain the data
markers and put some space between the zero data points and the X axis labels
without having any extra tick marks and labels below zero on the Y axis.
TIA for your advice

  #3   Report Post  
David
 
Posts: n/a
Default Y axis weak?

Thanks Jon,
much appreciated
--
David
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Secondary Axis Match Primary Axis Gridlines [email protected] Charts and Charting in Excel 1 July 31st 05 09:23 PM
Pivot Table, Line Chart with Secondary Y axis, Page Field selection destroys Y2 axis [email protected] Charts and Charting in Excel 0 July 13th 05 09:30 PM
can't change how data on 2nd axis is being displayed Rebekah Charts and Charting in Excel 1 May 4th 05 02:51 PM
space between y axis and data points.. Dave R. Charts and Charting in Excel 3 January 8th 05 04:56 AM
Labels on Chart with Negative Value Axis David F. Schrader Charts and Charting in Excel 6 December 17th 04 06:25 PM


All times are GMT +1. The time now is 06:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"