CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2012
    Posts
    2

    Interactive Plot

    Hello,

    I am looking at doing an interactive plot where the X axis is the the month/day and the Y-axis is percentage from 0 - 100.

    I want to be able to plot various data for various years. If the user clicks on a start date and end date, I want the code to know the dates so some type of action can be performed.

    Does anyone know an API that can do this? Also, if it can be done on the web...that would be great too...

    -Manesh

  2. #2
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Interactive Plot

    Does anyone know an API that can do this?
    Yes, the function is probably called:

    PlotXMonthDayYPercentageOnClickDateDoAction()

    Seriously did you think that a single Windows API call does all of this work? You have to break down the problem into pieces. First, draw the axes, process mouse messages, etc. That "API" is called the Windows API, which is wrapped by MFC or ATL.

    Regards,

    Paul McKenzie
    Last edited by Paul McKenzie; November 12th, 2012 at 07:42 PM.

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

Featured