How To Avoid Data Labels Overlapping X Axis In Charts

Jul 7, 2014

I have a dynamic column chart that may contain positive or negative (or both) values. The columns contain Data Labels positioned 'Outside End'.

I want to avoid the Data Labels (for the negative values) overlapping the x axis. Is there a way to do this via VBA?

I know how to update the chart axis via vba linked to cell values, but I can't figure out a formula I can use to calculate the minimum which takes into account the distance needed to avoid the overlapping problem.

View 1 Replies


ADVERTISEMENT

Automatically Update Charts As X And Y Axis Data Changes

Jul 28, 2009

Produce a chart (not a problem) that can be updated should the length of the X and Y data change?

This may not even need to be a macro, if it is possible to have a chart whose X and Y axis updates depending on the contents of a column?

If you search through the history of even this forum you will see quite a lot of people are looking for this solution.

View 9 Replies View Related

Charts Data Point Appears Cut-off Along Y-Axis

Oct 23, 2007

The first data point of my chart appears cutoff along the y axis

I formatted the x-axis by clearing the check box "Value (Y) axis crosses at maximum category"

If I add the tick mark back in then my first data point does not begin at the origin.

Screen Shot attached of both cases

View 5 Replies View Related

How To Create Multiple X-axis Labels

Nov 29, 2013

Right now I have this:

Screen Shot 2013-11-29 at 1.02.47 PM.jpg

How can I put another label under each bar (NOT outside end or inside end or any additional label. This is an actual label? For example, under the first blue bar labeled 56.7%, I also want to put N = 50 below the X-axis, above "Optimal." I also want to put N = 25 for the red bar immediately next to it labeled at 75.7%.

This is not a label, as it is below the X-axis.

An example of this can be found here (scroll down for second chart)

[URL]

View 1 Replies View Related

Stacked Chart - 2 Labels On X-axis

Jan 10, 2012

Using the table, draw a stacked chart that has both the project name (A, B etc) and Month on the x-axis (below all the projects). the stacked chart should contain the count for cat1, cat2, cat3 and cat 4 for each project (in different but consistent numbers for each month).

I need this for a presentation today,

OctoberNovemberDecemberProject Cat. 1 Cat. 2Cat. 3Cat. 4Cat. 1 Cat. 2Cat. 3Cat. 4Cat. 1 Cat. 2Cat. 3Cat. 4A
00236111110001B
C
D
E
F
0012230182600425G
H
I
02114001602210J
K
L

View 2 Replies View Related

Set Values To Be Shown On X Axis Instead Of Just Labels?

Mar 18, 2013

I'm trying to plot a function with specific values marked on the X axis (or at least distributed according to the said values). Namely, I have something like this:

And while it does plot the Y's as I want them to be plotted, X'es are just used as labels, which causes 0 and 100 to be equally apart as 933,9 and 944. How can I plot it, then, so that I simply select my desired Y values, their corresponding X values and get the plotted function?

View 2 Replies View Related

Bar Graph With Two Seperate X Axis Labels

Jan 31, 2010

Hey guys, been searching around for a while now, yet to find an answer to this.

I have 3 columns of data ......

View 9 Replies View Related

Grouped Labels On Chart X-axis

Feb 20, 2008

I want to create grouped labels on a chart x-axis of the type created automatically when creating a pivot chart. For example: I have projects, samples and sample yields. There are multiple samples in a project so I have a sheet that looks something like this below:-

Project,Sample,Yield
2006ANG01,CTY001,1%
2006ANG01,CTY002,1.5%
2006ANG01,CTY003,1.2%
2007ANG03,CTY456,2%
2007ANG03,CTY457,1.9%

I would like to create a chart that has Project and Sample as the x-axis where the samples are all grouped into their project. Pivot charts do this nicely, but how to do it without a pivot chart? As you will see from the attached file I can get both Project and Sample on the x-axis, but the Projects are overlapping.

View 2 Replies View Related

Not Show #N/A On Chart X-Axis Labels

Mar 3, 2008

I have a chart that feeds from dynamic ranges which contain whole rows of null enteries displayed as #N/A. The charts do not plot these enteries (as it shouldn't) however it does display the category label even if it too is #N/A. Is it possible to remove the category label if all data for that row is null. ie the label is also removed from the chart.

View 2 Replies View Related

Change X-axis Labels On Pivot Chart?

May 15, 2014

I have a data set where a number of pieces of technology are listed in rows. For each piece of technology it can relate to a "Network" or a "Terminal" and the columns are yes/no as follows:

Tech Network? Terminal?

Tech 1 Yes No
Tech 2 Yes Yes
Tech 3 No No
Tech 4 No Yes

When I plot this on a pivot chart, I get the attached chart, where the x-axis relate to the hierarchies, i.e. Yes/Yes, Yes/No, No/Yes or No/No. As you can imagine, this is not very useful for the viewer as it's not clear what the yeses and nos refer to. It would be much better if I could rename the axis labels: "both"; "network only"; "terminal only"; or "neither".

Is this possible? And is there a solution that doesn't require me to change the source data? I'm happy to use a power pivot if that would make things easier.

View 1 Replies View Related

Conditionally Format Axis Labels On Graphs

Apr 2, 2013

I am putting together a graph and my manager wants the companies with a zero value in the bar chart to stand out (0 = really good). The only thing I could think of was making the individual x-axis label's font turn green if value was zero. Is there any way to accomplish this? (Additional: This chart will be updated every month with new data so I do not want to change by hand every month).

View 4 Replies View Related

Offsetting Category Labels Along A Chart Axis

Jun 9, 2006

Has anyone ever succeeded in offsetting category labels in a chart by surpressing the first category label. I am plotting monthly financial data over several years and want to show category labels for the month ends which coincide with quarterly month ends (i.e Mar-06, Jun-06, Sep-06, Dec-06). If I select 2 tick marks between categories I get Jan-06, Apr-06, Jul-06, Oct-6) because my first month and category label is Jan-06. Is there a way to offset displaying the first category label by two tick marks and start with Mar-06 and then go every two tick marks between category labels?

View 3 Replies View Related

Category X Axis Labels On Scatter Graph

Apr 4, 2007

I have a set of data which I need to plot both unordered and ranked.

For the unordered (as is) data, a line graph is fine, as it gives the category labels along the x axis.

For the ordered data, i have a row with the ranking in, and then plot an xy scatter graph, so the values increase.

This obviously has the rank numbers along the x axis, not the corresponding category labels.

Is there anyway to force this? I know there are chart labelling add-ins on here, but our IT dept blocks the download.

The attched file is a very small example.

View 7 Replies View Related

Conditionally Hide Chart Axis Labels

Sep 4, 2007

Is it possible to hide some of the number labels on an axis; e.g. in on the chart below to hide the X-axis label 96? Or only start numbering from 97 while the chart displays from 96. Auto Merged Post;Well I have a solution to hiding the first value on the excel X axis values labels just using a custom number format;

[Black][>96]General;

but is there anyway of formating more than a couple of the number labels individually?

View 2 Replies View Related

Excel 2010 :: Axis And Legend Labels Missing When Viewing?

Feb 5, 2014

I produced several charts in Excel 2007. They display just fine when using Excel 2007, but when we try to open it in our office computers (which uses Excel 2010), the Axis and Legend Labels simply vanish.I know there's these fixes for Excel 2007, deleting a buggy MS hotfix or installing the KB2597962 fix. But the problem is, I need it to display in our Excel 2010 computers.

View 6 Replies View Related

Charts - Horizontal Axis

Jan 26, 2009

I recently started keeping a new chart to track several different stocking measures. After running the data this morning, I noticed my horizontal axis had blank position holders for data over the weekend. How would I set the chart so that if there is no data in my data range, it doesn't put a place holder in the axis? Sample attached.

View 4 Replies View Related

Gas Consumption Charts - X Axis

Jan 24, 2008

I am trying to create a spreadsheet with a chart to show gas consumption in our house.
I have sufficient data to produce the standard "S" curve for a 12 month period and would like to be able to have one chart with the standard "S" curve on it plus a curve of progress in the year to date of gas used so that an instant comparison between planned and actual usage can be made.
The problem is that the 2 curves require a different X axis. The standard "S" curve has an X axis that is 12 months long whereas the current one is as long as it is from the start of the year being measured. Both curves will have data inputs on different dates in the year.

View 9 Replies View Related

Limiting Values Of Y-Axis In Charts?

Apr 1, 2009

Is there a way to limit the range of values on the Y-Axis on the lower end? Like I don't wish the Y-axis to begin from 0 but say 500. Is that possible?

I have a set of data values ranging from 650 - 850, but the Excel graph however looks too fine because the Y-axis begins from 0.

View 6 Replies View Related

Assign X Axis Charts Values

Sep 28, 2011

I would like to know how can I plot my x axis of a chart with the maximum and minimum value that I have in this variable. Note that my variable is no going from the lower value to the highes one, it is random. So what I did is to use the autoscale of the chart, but it is not working as I would like. Any solution?

The code that I use is:

Code:

' TO GET THE INITIAL and FINAL VALUE and the STEP
Worksheets(wsheet(27)).Activate
ActiveSheet.ChartObjects(chartName(11)).Activate
ActiveChart.Axes(xlCategory).MinimumScaleIsAuto = True
ActiveChart.Axes(xlCategory).MaximumScaleIsAuto = True
ActiveChart.Axes(xlCategory).MajorUnitIsAuto = True
xScaleMin = ActiveChart.Axes(xlCategory).MinimumScale
xScaleMax = ActiveChart.Axes(xlCategory).MaximumScale
xScaleStep = ActiveChart.Axes(xlCategory).MajorUnit

'After I use them (xScaleMin,xScaleMax,xScaleStep) for several charts, in this way:

ActiveSheet.ChartObjects(chartName(11)).Activate
ActiveChart.Axes(xlCategory, xlPrimary).AxisTitle.Text =VarName
ActiveChart.Axes(xlCategory, xlPrimary).AxisTitle.Select
ActiveChart.Axes(xlCategory, xlPrimary).AxisTitle.Font.Size = 11
ActiveChart.Axes(xlCategory).MinimumScale = xScaleMin
ActiveChart.Axes(xlCategory).MaximumScale = xScaleMax
ActiveChart.Axes(xlCategory).MajorUnit =xScaleStep

' but if my data was between 50 and 250 it is plotting between 0 and 300

View 2 Replies View Related

Charts - Make Second Axis Series Always Appear Above

Sep 10, 2012

I have a combination column and line chart with the line series on the secondary axis. Is there a way that I can tell excel to scale the secondary axis so as the line always appears above the columns? As it is it appears above in most instances but sometimes appears below the columns.

View 2 Replies View Related

Excel 2010 :: Horizontal Axis Labels Not Updating Range - Have To Update It Twice To Stick

Jan 28, 2013

I recently switched to Excel 2010 and have a rather peculiar problem.Every week I update a bunch of charts in different workbooks. By update, I pretty much mean just shifting the range over one column or down one row to incorporate newly added data.

So I right click the chart, select "Select Data", update all the Data series ranges and then I click on the Horizontal (Category) Axis Labels button "Edit" to update the Axis label range.

I do all that then press OK. The data series have updated, but the axis labels haven't. So then I do the procedure again for the Axis Labels, hit OK again and voila: It worked.

But I ALWAYS have to do this procedure twice. It will NEVER update the axis labels the first time around. Even though the little preview window below the edit button show the labels correctly.

View 1 Replies View Related

Overlay Two Bar Charts Together / Large Dataset For X Axis

Feb 19, 2013

I have the following two bar charts. (see links below). I would like to overlay both these bar charts together and obtain the chart shown in link 3.

For example, at 4.4 GHz and 1.8m antenna, two values (downtime/year) are possible 15 min or 557min. This is represented in the third figure Since the first chart contains small values and the second chart contains large values for the x-axis, will I able to change this to log scale for ease of analysis?

[URL]

View 1 Replies View Related

Charts - Dynamic Change Of Where X And Y Axis Cross

Oct 4, 2013

There is POLICY statement that determine an what ACTION should be applied to a paticular building given a score for "LIFE" & "RISK" which results in varing policies A-D. (The Policy intervention points differs slightly for varing types of building. This excel sheet works just fine, and provides the correct guidance for our engineers by suggesting Policy A-D on input of tbuilding type and LIfe/Risk score. However the Policy is a guide, and they do need to apply a level of judgement with the data close to intervention points.

My Question,

I would like to provide further graphical representation to aid decision making. I have a graph plots the X Axis ( LIFE) 0-100, and y Axis (risk) 0-5 and show the , but what i need to be able to do is dynamically adjust the position where the x&y axis cross, so showing visually the intervention point when different building types are selected.

View 1 Replies View Related

Excel 2010 :: Vertical Grid Lines For Multi-level Category Axis Labels

Feb 16, 2012

I am having a problem formatting a chart in Excel 2010. My chart has multi-level category axis labels, and I would like to have a vertical grid line separating each major group of categories. In Excel 2003, I could right-click on one of the gridlines and then specify the spacing I wanted between gridlines. In Excel 2010, as soon as I indicate that I want multi-level category axis labels, I get a vertical gridline between each category and I am unable to alter the spacing. If I deselect the multi-level axis label option, I can adjust the spacing between the vertical gridlines, but the axis multi-level label functionality is lost. Is there a way to fix this problem without having to resort to using the drawing tools or text boxes to achieve the desired results.

View 3 Replies View Related

Hide Columns & Hide X-axis Labels

Nov 22, 2006

I am filtering the data displayed in a chart by hiding columns. I would also like to filter the X-Axis labels by hiding columns. If I do this manually I have no problems but when I run the following macro the chart gives a reference error for the X-axis labels.

Sub ShowA2()
Application. ScreenUpdating = False
num = Sheets.Count
Sheets("X-Axis").Activate
Range(Columns(1), Columns(256)).Select
Selection.EntireColumn.Hidden = False
For a = 1 To 5
Sheets(num - a).Activate
If ActiveSheet.Name = "A2 Data" Then
Columns("A:Q").Select
Range("A10").Activate
Selection.EntireColumn.Hidden = False
Sheets("X-Axis").Activate
Columns("A:E").Select......................

View 3 Replies View Related

Data Not Overlapping Next Cell

Oct 17, 2006

This is probably a simple fix, but I cannot figure out why some of my data will overlap over the next cell if it is bigger than the cell width and then some will not, I just get ###### error. There is nothing in the next cell. I don't want to increase the cell size because that would mess up the rest of my page format. I've also tried to merge two cells together, but then it causes an error in my macro, even though the cell name is the same.

View 2 Replies View Related

Showing Overlapping Series (seasonal Data) On A Chart

Aug 30, 2006

Attached please find two charts based on data from 2003 until year-end 2006 (estimated). I want to show that the data is "seasonal" and sales depends on the month it falls on... i have several issues with the chart, is the second chart "too" overlapping and is there too much data to read? 2) how can i get the text boxes to go in the same direction as the chart..i know in powrerpoint you can move the direction of the textbox but how in excel? in sum, i can only choose one chart but still want to make each chart look much better.

View 3 Replies View Related

Changing Values Of X-axis, And Descending Order Axis(x-axis)

Feb 8, 2009

Two questions:

1) How do make values on x-axis as words? E.g. apples, oranges, etc.

2) Is it possible to have the numbers on x-axis in descending order? If I can figure out 1), I can do this as well, but it would be nice to know if it is possible to have the numbers on x-axis in descending order.

View 8 Replies View Related

Plotting Data With Two X Axis And 1 Y Axis

Dec 19, 2013

I have a data set that is a spectrum of (y)intensity vs (x)energy I was wanting to add an additional X axis at the top of the graph showing the wavelength conversion for the energy value, is that possible in excel? and if so how?

View 1 Replies View Related

Change Chart / Pivot Table Numeric Labels To Associated Text Labels?

Feb 7, 2014

I have an export from a database that I'm bringing into Excel 2010 of about 30K records. Data points are recorded numerically and I have their associated text "value label" (what it would be called in STATA, for example, not sure what it's called in Excel). I want to create various charts/pivot tables with the data and want the labels to be the text label, not the number.

For example, variable ASSIGNMENT has the following possibilities:

1
2
3
4

Here's what each of those "mean" (I have this in another table):

1 - Sick
2 - Overtime
3 - Court
4 - Present

How do I create a chart or pivot table where the labels are "sick", "overtime", etc., and not "1", "2", "3", "4"?

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved