This is a migrated thread and some comments may be shown as answers.

Force XAxis to bottom on LineSeries Chart

2 Answers 132 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Zachary
Top achievements
Rank 1
Zachary asked on 28 May 2015, 03:25 PM
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 Answers, 1 is accepted

Sort by
0
Zachary
Top achievements
Rank 1
answered on 28 May 2015, 04:08 PM
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.
0
Danail Vasilev
Telerik team
answered on 29 May 2015, 06:39 AM
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
Tags
Chart (HTML5)
Asked by
Zachary
Top achievements
Rank 1
Answers by
Zachary
Top achievements
Rank 1
Danail Vasilev
Telerik team
Share this question
or