Can we detach axis from the chart?


#1

LIMITATION:

Inability to detach axis from charts. You can move an axis around a bit, but it is never really independent of the chart it is attached to, so you can’t take it and add it to a view somewhere else. We had to use a bit of a workaround to get ours looking like it had independent axis’, but I’d rather it just be a UIView backed object that I could add to different views


#2

Please reply over this:-)


#3

Hi Naveen,

As you and server density mention, this is a limitation of that chart and it isn’t currently possible to detatch the axis and move it independantly of the chart. You might be able to gain a similar effect but it will probably take a little bit of improvisation on your behalf. For example, you could try shifting the tick mark positions, hiding the axis line, and drawing your own axis line. Or rendering a second chart that is synchronised via the scrolling delegate methods, and hiding the original chart’s axes.

We’ve already got a task in our backlog to implement detatchable axes, but unfortunately it isn’t a very popular feature so isn’t very high on our development list at the moment. If you have any trouble finding an appropriate solution we’ll try to give you advice where we can.  :grin:

Best regards,
Jan Akerman