Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

MSChart and log scale.

Posted on 2004-03-25
6
Medium Priority
?
1,382 Views
Last Modified: 2013-11-22
Is there a way to manually scale a log scale?  I tried to change the major and minor divisions as well as the beginning and end points, but the chart seems to ignore this when plotting data.

Thanks,

Bill
0
Comment
Question by:billko
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 3

Assisted Solution

by:pg_india
pg_india earned 400 total points
ID: 10686249
if you are doing this from Excel then just unclick the box and it will work ..

tried with these settings:
minimum = 1
maximum = 100000
major axis = 1000
minor axis = 10

and uncheck the boxes next to it..

it works

tell me if you have any problem with that
0
 
LVL 2

Author Comment

by:billko
ID: 10690386
Sorry, pg - I am generating this chart from within VB6 and am using MSCHart to display it.

Bill
0
 
LVL 4

Accepted Solution

by:
sokolovsky earned 600 total points
ID: 10712454
Hmm...
Look at this property:
MSChart1.Plot.Axis(VtChAxisIdY).AxisScale.LogBase = 1

(Returns/sets the logarithm base used to plot chart values on a logarithmic axis)
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 2

Author Comment

by:billko
ID: 10720518
Comment from sokolovsky
Date: 03/30/2004 03:03AM PST
 Comment  


Hmm...
Look at this property:
MSChart1.Plot.Axis(VtChAxisIdY).AxisScale.LogBase = 1

(Returns/sets the logarithm base used to plot chart values on a logarithmic axis)
 
Sokolovsky:

I think you misunderstood the question.  I already know how to display the log scale.  What I'm having trouble with is turning autoscaling off on that axis.  For some reason it autoscales despite the fact that I turn autoscaling off and specify major and minor divisions and stuff.

Thanks for stopping by and trying to help me out!  I really appreciate the fact that people here go out of their way to try to help.

Bill
0
 
LVL 2

Author Comment

by:billko
ID: 10874558
I haven't forgotten this question; I was just waiting for someone else's input.  There was no satisfactory answer, but the two of you did try; therefore, points will be split evenly for trying.

Bill
0
 
LVL 2

Author Comment

by:billko
ID: 10874568
I gave slightly more points to sokolovsky because he/she was at least in the same ballpark as I was.  The grade given was "C" because there were no followups by anyone; no active discussion.

Bill
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question