Results 1 to 2 of 2

Thread: Complicated Chart

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2002
    Posts
    135

    Complicated Chart

    I'm trying to create a complicated graph in code and display it. The graph has 2 series of points, two least square curves, and vertical/horozontal lines.

    I've gotten excel to plot the points (XY scatter) and the curve (trendline, polynomial, 2 degree), but I cant get it to draw my lines (2 horz., 2 vert.)

    I've gotten my code (.NET/interop) to add the right trendline, but cant get it to plot the points right, or draw the lines I need.

    any help in either space would be greatly appreciated!

    -----
    VS(VB) 2003

    referance:
    Microsoft Graph 10.0 Object Library
    Hello? Underpaid code monkey speaking...

  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: Complicated Chart

    try to record a macro, then grab the code from there
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

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