#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    8
    Rep Power
    0

    Question regarding MSChart


    Could someone please tell me how to change the location of the x-axis scale on an XY plot generated using MSChart?
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    8
    Rep Power
    0
    I've solved the problem using this piece of code. It basically tells the plot it can't put the scale in the plot itself.

    With MSChart1.Plot.Axis(VtChAxisIdX).Intersection
    .Auto = False
    .LabelsInsidePlot = False
    End With

    I've encountered another problem I'd appreciate help with. The function I'm trying to plot has a range of -1 to +1. Every time it goes from positive to negative or negative to positive, the plot becomes skewed. The problem goes away if I shift the plot to an entirely positive or negative range, but what I want to do is have it plot over the range -1 to +1 without the data looking skewed.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    8
    Rep Power
    0
    I just solved the previously mentioned problem by taking all my data to be plotted and passing it through the Rnd function. Rounding it made it work somehow. I thank anyone who took the time to read my questions.

IMN logo majestic logo threadwatch logo seochat tools logo