Results 1 to 3 of 3

Thread: How to use MS chart to plot graph?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2006
    Posts
    120

    How to use MS chart to plot graph?

    i need to get data from file "data.txt" and then plot two graph.one graph using the first column and value after 174=XXX, another graph using second column and value 174=XXX. Since my data is very big, so i hv two text box to let user select what data needed to plot in graph.

    For example: if value textbox1=3.8566300, textbox2=100.81888000
    i need to get data from (3.8566300 -0.0001) to (3.8566300+0.0001)
    From (100.81888-0.0001) to (100.81888+0.0001)
    and then plot the graph.

    can somobody show me the code? how to use the MS chart plot the line graph?
    Attached Files Attached Files

  2. #2
    PowerPoster Code Doc's Avatar
    Join Date
    Mar 2007
    Location
    Omaha, Nebraska
    Posts
    2,354

    Re: How to use MS chart to plot graph?

    Perhaps I'm the devil's advocate, but I found that playing around with chart controls to show graphs was more time consuming than making my own charts with frames, lines, and shape controls.

    For example, draw bar charts using the shape control with a shaded back color, and set its height and top inside a box based on the box dimensions coupled with the value of your variables being plotted.

    Then add horizontal lines inside the box for increments and labels outside the box for incremental values. It takes a little math, but I learned all that in high school.
    Doctor Ed

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2006
    Posts
    120

    Re: How to use MS chart to plot graph?

    Quote Originally Posted by Edwin Hackleman
    Perhaps I'm the devil's advocate, but I found that playing around with chart controls to show graphs was more time consuming than making my own charts with frames, lines, and shape controls.

    For example, draw bar charts using the shape control with a shaded back color, and set its height and top inside a box based on the box dimensions coupled with the value of your variables being plotted.

    Then add horizontal lines inside the box for increments and labels outside the box for incremental values. It takes a little math, but I learned all that in high school.
    can u show me the vb code on how to plot graph without MSChart.Thanks.

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