473,396 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Chart scales displaying same intervals on second/first Y axis

374 256MB



As you can see from the above I have created a pareto analysis graph. The problem is the left hand axis is showing the same intervals as the right hand. This of course is producing double values to be shown.

How do I get the left hand side axis to auto scale instead of following that of the same intervals as the right?

I have already messed around with the axis code but I cant seem to get this part right.

Current code I am using:

Expand|Select|Wrap|Line Numbers
  1. Me.grpPareto1.SetFocus
  2. Me.grpPareto1.Object.Application.Chart.Axes(xlValue, xlPrimary).TickLabels.NumberFormat = "0"
  3. Me.grpPareto1.Object.Application.Chart.Axes(xlValue, xlPrimary).MinorUnitIsAuto = True
  4. Me.grpPareto1.Object.Application.Chart.Axes(xlValue, xlPrimary).MajorUnitIsAuto = True
Thanks for any help.

Chris
Jul 22 '10 #1

✓ answered by munkee

Sigh... Number format 0.0 ... ftw it was displaying wrong because they are infact 0.5 1 1.5 2 2.5 etc.. and I forced it to only show 0 1 1 2 2. I need to sleep :D

4 2707
munkee
374 256MB
Sigh... Number format 0.0 ... ftw it was displaying wrong because they are infact 0.5 1 1.5 2 2.5 etc.. and I forced it to only show 0 1 1 2 2. I need to sleep :D
Jul 22 '10 #2
NeoPa
32,556 Expert Mod 16PB
You're not talking about left and right at all are you? You're talking about the values showing on the left side doubling up and appearing to be the same at two different levels.

You need to sleep :D

(On the plus side you answered another one of your own questions.)
Jul 22 '10 #3
munkee
374 256MB
Haha yea, tiredness is definitely kicking in but I have a deadline to meet =]. What makes this all worse is I sit there for a hour trying to work it out, as soon as I come on to ask for help I see the answer 10 minutes later.

Case Closed
Jul 22 '10 #4
NeoPa
32,556 Expert Mod 16PB
It's often the way. The discipline of formulating the question clearly enough is generally enough to get you thinking along the right lines.

That's another reason why asking the question clearly is so important. It often triggers the answer in the head of the questionner. Well done anyway - AND GET SOME SLEEP!
Jul 22 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: TG | last post by:
Dear PHP Group, I have two forms that are used to collect user information. The first one takes user inputted values such as fullname, city, address etc. I want these values to display in the...
1
by: Rui Pacheco | last post by:
Hi everyone I'm trying to create a chart with 2 Y axis and 1 X axis, but I can't seem to find the right tool for the job. I tried JFreeChart, JChart and JOpenChart but none seem to be able to...
2
by: Burt Lewis | last post by:
Hi, I'm using an ASP script and an xsl file to display the feed from Boston.com on a web page. http://www.boston.com/tools/rss/ It works nicely but I am having trouble limiting the number...
2
by: borekfm | last post by:
Hitting two problems when running a new report I've created, that contains a chart/graph. The chart shows three series, two are shown as lines and one as an area. The data come from three different...
22
by: PeteCresswell | last post by:
I've been to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mschrt/html/vbobjtitleobject.asp, but still don't have a clue. For example, I've got a chart object namde...
1
by: diesel | last post by:
I have an OWC chart that works great Our client has requested that we add a vertical line at a specific point on the chart For example the horizontal axis contains 2,4,6,8 The vertical line...
0
by: Scott Emick | last post by:
I have a main entry screen for a contact manager that has some buttons which can launch various other forms and these launch without any problems. I check if the form already exists and set focus...
0
by: Rick | last post by:
Access2003 Using the data below I want to create a chart with dates along the x axis. The chart is drawn but adds Dates not in my data table. How can I get the chart to use only the supplied...
1
by: Andy | last post by:
Hi there, I have an asp.net 2 application, and created a local report using MS ReportViewer. The report consists of a line chart, with date intervals on the x axis, and amounts of money in the y...
1
by: CoreyReynolds | last post by:
Hello, I am creating a chart dynamically in VBA in Access and opening it in an excel spreadsheet, which is working - except it is displaying all of the dates in between the events that I am...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.