Add axis ticks on iOS 7 Theme


#1

How does add axis tcks on iOS 7 theme like follow photo.

                                                                                  fg1. default theme, no ticks

                                                                                  fg2. how does add axis ticks

Thanks for help.


#2

Hi Elmo,

You can make your tickMarks appear by adding the following line of code to your project:

chart.xAxis.style.majorTickStyle.lineColor = [UIColor blackColor];

Let me know if you have any issues.

Kind Regards,
Andrew Polkinghorn


#3

Hi MrAPolk,

it works, very appreciate.