Force XAxis to bottom on LineSeries Chart

3 posts, 0 answers
  1. Zachary
    Zachary avatar
    2 posts
    Member since:
    May 2015

    Posted 28 May 2015 Link to this post

    Is it possible to show the XAxis on the bottom edge of the chart, regardless of the values on the YAxis? It defaults to being drawn at zero, and I've not found a way to change that yet. I've included screenshots to help visualize what I want. The first is how the chart currently renders, the second is how I'd like it to render.
  2. Zachary
    Zachary avatar
    2 posts
    Member since:
    May 2015

    Posted 28 May 2015 Link to this post

    So, about 5 minutes after posting this, a solution popped into my head. I just found the min y value and max y value in my dataset, and set the MinValue and MaxValue of my RadHtmlChart's YAxis member to those, and also set the AxisCrossingPoint to the min y value. That makes the x axis render on the bottom edge of the chart.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1490 posts

    Posted 29 May 2015 Link to this post

    Hello Zachary,

    Such a feature request has already been logged here - http://feedback.telerik.com/Project/108/Feedback/Details/54923. For the time being you can use one of the two workarounds provided in the item.

    Regards,
    Danail Vasilev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top