Zooming X Axis Stock Chart

3 posts, 0 answers
  1. Rick
    Rick avatar
    23 posts
    Member since:
    Jul 2013

    Posted 24 Aug Link to this post

    I have an odd problem on the zooming on Stock Chart, the X Axis becomes corrupt.

    When I zoom it sorts itself out.

    If just plot the points with a default Layout it is OK unzoomed.

    I am doing this for both types:

    var xAxis = chart.PlotArea.XAxis;

    xAxis.Step = Convert.ToDecimal(xAxis.Items.Count * 0.10);
    xAxis.BaseUnitStep = Convert.ToInt32(xAxis.Step);
    xAxis.BaseUnit = DateTimeBaseUnit.Minutes;
    xAxis.EnableBaseUnitStepAuto = false;

    Please see attached images.

  2. Rick
    Rick avatar
    23 posts
    Member since:
    Jul 2013

    Posted 24 Aug Link to this post

    Images
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rick
    Rick avatar
    23 posts
    Member since:
    Jul 2013
Back to Top