Solved

MSChart and log scale.

Posted on 2004-03-25
6
1,333 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
ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

832 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