CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: Graph Control

  1. #1
    Join Date
    Jun 2012
    Posts
    3

    Question Graph Control

    hi friends
    i have a question.
    i have two Relational tables,

    first name is Person_name. it have two columns ID, Name,
    other Table name is Person_visit. it have 3 column, Name, visted_place, vist_time,
    i have one list box and one graph control box on form

    all data of Person_name's column "Name" will shown in listBox control.
    just think that 1 person smith have visited many places.
    like that Smith have visited 5 time British Market, 3 time Gold Market, 5 time Raja Bazaar and etc

    i want that all visited_place data related to specific person shown in graph control. when i change the selection in listbox the Graph control show selected person's number of meeting places
    like this



    thanx man for such learning platform.

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Graph Control

    If you BIND the Listbox to your DB, then you can BIND the Graph to the Listbox to automatically update the graph. You'll provide EVENT HANDLERS in each step.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Apr 2012
    Posts
    43

    Re: Graph Control

    Is your problem getting the data or using the graph ? Which is it ?

  4. #4
    Join Date
    Jun 2012
    Posts
    3

    Re: Graph Control

    sorry dglienna i could not get,
    my problme is using the graph as a
    as i told that
    i want that all visited_place data related to specific person shown in graph control
    kindly i little bit more help.
    thanx in advance

  5. #5
    Join Date
    Jun 2012
    Posts
    3

    Re: Graph Control

    can any one help plz??????????????????????????

Tags for this Thread

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