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

Y-Axis placement issue on small chart

2 Answers 48 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sal
Top achievements
Rank 1
Sal asked on 25 Aug 2015, 09:14 PM

So for one part of the app we are going to display a chart inside of a TableViewCell (the cells height is currently set to 200), but when I try to load up a Area type of chart the y-axis is shifted and the labels don't line up correctly (see screenshots). I'm not sure if it's due to the size of the (the graph itself is set to 150, the bottom part contains a page control for cycling through a few different types of charts). Right now I'm just using generic data (from the examples) since I want to make sure it's rendered correctly. Here's what I'm doing right now to update the y-axis

 

           let yAxis = TKChartNumericAxis()
        chart.yAxis = yAxis
        chart.yAxis.style.labelStyle.textColor = UIColor.blueColor()
        chart.yAxis.position = TKChartAxisPosition.Left
        chart.yAxis.style.labelStyle.fitMode = TKChartAxisLabelFitMode.Multiline
        //reload the chart data
        chart.update()

2 Answers, 1 is accepted

Sort by
0
Accepted
Adrian
Telerik team
answered on 27 Aug 2015, 01:46 PM
Hello Sal,

Thank you for contacting us.

Could you, please, confirm that the described issue appears with the latest version of TelerikUI for iOS that is 2015.2.819 ?

I am looking forward to your reply.

Regards,
Adrian
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
0
Sal
Top achievements
Rank 1
answered on 27 Aug 2015, 05:45 PM
Just checked and I was using 2015.2.624, didn't realize a new one was released recently so I just installed it and looks like that solved the issue. Thanks. 
Tags
Chart
Asked by
Sal
Top achievements
Rank 1
Answers by
Adrian
Telerik team
Sal
Top achievements
Rank 1
Share this question
or