Zooming X Axis Stock Chart

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

    Posted 24 Aug 2016 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. Danail Vasilev
    Danail Vasilev avatar
    1502 posts

    Posted 29 Aug 2016 Link to this post

    Hello Rick,

    How do you zoom the stock chart? Note that the explicit zoom functionality (i.e., shown here HtmlChart - Pan and Zoom) doesn't work with the stock chart.

    Danail Vasilev
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. James
    James avatar
    1 posts
    Member since:
    Oct 2014

    Posted 30 Aug 2016 in reply to Danail Vasilev Link to this post

    Hi Danail

    A support ticket has been raised as the images I have attached to this are not present.


    I am the developer on this but the account has been setup by my manager who is not a developer.



Back to Top