using simple zoom with isxvalueindexed=false in chartcontrol
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: using simple zoom with isxvalueindexed=false in chartcontrol

  1. #1
    Join Date
    Mar 2004
    Posts
    41

    using simple zoom with isxvalueindexed=false in chartcontrol

    Hi Guys,

    I'm using VB.NET 2010
    I have a application which downloads a machine speed and timestamp from a MYSQL database and graphs it. To save on space I don't log data when the machine isn't running this means that I need to use:
    Code:
    Chart1.ChartAreas(0).IsXvalueindexed=false
    to display the data on the graph with spaces where there is not data.

    My problem is that with IsXvalueindexed= False I cant zoom the X axis, is there a way around this that I have missed or is it limitation in the chartcontrol class and i'm going to be doomed to not zoom in on graphs for the life cycle of my software

    Cheers,

    Robbo

  2. #2
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    14,998

    Re: using simple zoom with isxvalueindexed=false in chartcontrol

    If there is nothing there to zoom, it can't zoom anything. Make sense?
    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!

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center