Results 1 to 2 of 2

Thread: MS Chart Control

  1. #1

    Thread Starter
    Hyperactive Member nickwrs's Avatar
    Join Date
    Jan 2000
    Location
    Atlanta, Ga
    Posts
    398

    Red face

    Does any one know how to get rid of the grid lines on mschart control?

    I have so many data points that it just makes it look like a black background.

    I tried adjusting the ticks, but that only did that.

    :-(

    Thanks for your help.


    Nick.

  2. #2
    Hyperactive Member DKCK's Avatar
    Join Date
    Dec 2000
    Location
    United States
    Posts
    329
    This should work:

    MSChart.Plot.Axis(VtChAxisIdX).AxisGrid.MajorPen.Style = VtPenStyleNull
    MSCHart.Plot.Axis(VtChAxisIdY).AxisGrid.MajorPen.Style = VtPenStyleNull
    MSChart.Plot.Axis(VtChAxisIdY2).AxisGrid.MajorPen.Style = VtPenStyleNull
    MSChart.Plot.Wall.Pen.Style = VtPenStyleNull

    DKCK

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width