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


ADVERTISEMENT

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

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

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

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

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

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

Create Chart With Names In Vertical Axis And Values In Horizontal Axis?

Mar 1, 2014

I have a spreadsheet with golfers handicaps, golfers names down the left in column A in rows 3-35. Row 2 has the event numbers titles 1 to 18 (18 events in a year). i need a graph that has the person as the vert axis and the horizontal axis needs to be the event numbers, so i can read down for the person and across to see how there handicaps change from each different event. i have attached the data below.

View 1 Replies View Related

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 View Related

Bar Graph With Values On Left Vertical Axis And Percentages On Right Vertical Axis

Jan 19, 2012

how do you create a graph with a field such as vendors on the X-axis, but with dollar values spent on the left side of the y-axis and percentage of total dollars spent on the right side vertical axis?

View 3 Replies View Related

Summing Matrix Values Based On X & Y Axis Values

Feb 24, 2009

The simplified example below is intended to calculate the sums from the data values in the upper data set and place them in the appropriate cells in the lower summary table. Example......

I would like to find a single-cell formula that will handle the multiple instances of either the X or Y headings (ex: there are two 'Yes' Rows) and still reach the appropriate summations. I would like to accomplish this without resorting to Macros or manual cell references if possible. I've acheived some limited success with array formulae so far, but find that the multiple instances of 'Yes' cause only one row to be summed before the formula finishes.

View 2 Replies View Related

Right Axis Derived From Values?

Feb 28, 2014

The goal of this chart is to show how sales are adding up relative to bonus levels for the month. The problem for me is in getting the right axis tick marks, labels and chart lines to match the values in Columns C and D. This need may be further complicated because the target amounts increase by a fixed percentage (11% in this sample, but it can vary).

View 4 Replies View Related

How To Plot X Axis Values From 00:00

Mar 15, 2012

I have data that starts from say, 17:50 hours. However, I would like the chart to start from 00:00 to 00:00 so it is a full 24-hour period. So up to 00:00 to 17:50 hours, it would be blank then the data will be plotted from 17:50. How do I do this? If I select the existing data from 17:50 and ask Excel to create a chart, the x axis starts from 17:50 (not 00:00).

View 4 Replies View Related

Two Sets Of Values And Only One Y Axis?

Jul 6, 2012

I have to sets of values that I have graphed....number and dollar amount.

The dollar amount is in the hundreds of thousandths and the number is in the hundreds. I want to have two verticle axis. one on the left hand side for the dollar and one on the right side for the number.

View 1 Replies View Related

Lookup Values Along An X And Y Axis

Oct 27, 2006

I am not sure of the best way to ask how to do this. I am trying to efficiently lookup the X value in sheet A from the Y value in sheet B programatically as X=Y. The Values along the X and Y axis of sheet A change.

Sheet A...............................................

View 4 Replies View Related

Macro For Deciding X-axis Values?

Apr 3, 2014

[Code]......

Whenever I make graph with this code it takes column A values and makes a line of it on graph...What i want is that it should be always on X-axis as reference and not a line on the graph.

View 1 Replies View Related

Dynamic X Axis Based On Values

Dec 3, 2011

I am trying to make a chart based on the following values (for example) The X axis values are week numbers, the chart X axis must stop at Week 4, the data range still contains all these cells, but the chart will only show cells with values, If i'll put a value in Week 5, the chart will auto-expand itself to include week 5 too.

Code:
Week # | Value
Week 1 | 1
Week 2 | 2
Week 3 | 3
Week 4 | 4
Week 5 |
Week 6 |

View 3 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

Setting Y-Axis Min & Max According To Worksheet Values

Jan 30, 2009

i want to set the minimum to be 20 less than the minimum value in the data, and the max to 20 more than the max value of the data.

View 9 Replies View Related

Excel 2007 :: Primary Category Axis Title Rotates With Rotated Value Axis Titles

May 13, 2014

I've put together code to construct a chart

It all works fine but I've noticed an odd quirk which I can't explain nor can I seem to fix. Here's the (reduced) code :

Code:
Dim appExcel As Object ' Excel Application
Dim chtPareto As Object ' Chart
Set appExcel = CreateObject("Excel.Application")
Set chtPareto = appExcel.Charts.Add
With chtPareto
' Primary category axis

[code]....

The category (x) axis title should be horizontal, whereas the value (y) axis title should be rotated. Stepping through the code, when I .SetElement for the category axis title, it appears horizontal as planned. However, as soon as I .SetElement for the rotated value axis title, the category axis title also rotates.

View 3 Replies View Related

Suppress Zero Values On Charts

Feb 6, 2007

I have created a dynamic chart using defined names, and the cells in the range are updated on a monthly basis. However these cells are copied from another sheet using a formula i.e =sheetname!$cell_no. and until that data is entered they have 0 values - my question is, is there a way to suppress the 0 values which are being 'plotted' on the dynamic chart until they have appropriate values?

View 4 Replies View Related

Expand X Axis Based On Cell Values

May 15, 2014

I want to create a bar chart so that the X axis scale is based the value in the reference cells. For example, a table created for running profile as follow:

The data table # of minutes2221 pace (MPH)4.06.08.04.0

The chart I need to produce. The data has 4 records, but the chat needs to show bars of total number of minutes. Picture1.png How do I do it?

View 2 Replies View Related

XY-plot Diagram (text Values On X-axis)

Dec 4, 2012

I am having a problem when making a XY-plot diagram because I want text values on the x-axis instead of numbers - but that doesn't seem to be possible to get with this type of diagram?

View 2 Replies View Related

How To Make Y Axis Values In Chart Jump From 0 To 40

Jul 17, 2013

I have a chart with percentages and most of them are >40% so I would like te values to start at 40 in the y axis but I would also want to have the 0% show (as it stands there is nothing there) It is a double y axis chart where the % is shown with just a dot and the other Y axis is the actual column. Im not sure if I'm making sense but I would just like to have the 1st value in the secondary y axis be 0 and the 2nd value be 40, and from that point forward scale in intervals of 5%.

So the values in the y axis are: 0%, 40%, 45%, 50%......

View 1 Replies View Related

Hide Minus Values On Y-axis On A Chart

Jun 25, 2007

column chart displaying various pieces of data.

At the top of my worksheet I have a combo box which allows you to select a local authority name; and all relevant information in the worksheet is highlighted (using conditional formatting, extra series in charts to make relevant points highlight in red, etc).

I've added a series to the chart and changed it's type to line - then with the data labels positioned beneath the points on the line I can get conditional formatted x category labels - all outlined here: [url]

Because my x category labels are fairly long I've had to give them an orientation of -90 and make the minimum y-axis value equal to -200 to give enough room beneath the chart to fit the text in.

As I said above, the values below 0 are just there to provide space at the bottom of the chart, so my question is: is there a way to hide these negative values? I'm sure I've done it before, but can't remember how - I thought maybe a custom number format of #;[White]# would work, but it just inverted my text (white text on black background).

View 11 Replies View Related

Chart - Mark Y-Axis With Values From Table

Dec 18, 2008

is does anyone know if there is a way of marking the y-axis in a chart with data from a table, so rather than having a fixed segmentation width have the distances between the data points marked on the Vertical to conform to a range in a spreadsheet? I know you can do that for the x-axis. Is there any way to do that for the y-axis as well?

View 9 Replies View Related

Maximum & Minimum Axis Values From Chart

Nov 20, 2009

how I get the maximum and minimum values of the axis from and excel chart? What I mean is I want to specify a chart, and output in the same excel worksheet the values for the maximum and minimum of the two axis.

I have tried various searches, but cannot come up with the answer, although I have a sneaky suspicion it in here somewhere.

View 9 Replies View Related







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