Solved

MSChart and log scale.

Posted on 2004-03-25
6
1,325 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
  • 4
6 Comments
 
LVL 3

Assisted Solution

by:pg_india
pg_india earned 200 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 300 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now