How can we use the Shinobi chart on iPhone 4 horizontally without scrolling?


#1

Hi,

Can one tell me, How can we use the Shinobi chart on iPhone 4 horizontally without scrolling?

Regards,

Bankim.


#2

Hi Bankim,

A ShinobiChart is a subclass of UIView, so you can lay it out however you’d like. So to fill the screen horizontally on an iPhone 4 you could use AutoLayout, or set the frame yourself.

Scrolling is controlled on a per-axis basis. To disable scrolling, set the enableGesturePanning to NO on each of the axes.

Hope that helps

sam