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. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1494 posts

    Posted 29 Aug 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.

    Regards,
    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. UI for ASP.NET Ajax is Ready for VS 2017
  4. James
    James avatar
    1 posts
    Member since:
    Oct 2014

    Posted 30 Aug 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.

    https://www.telerik.com/account/support-tickets/view-ticket?threadid=1059547

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

     

    Rick

Back to Top