Candlestick zoom and gann lines

Hi, I have to develop a candlestick chart that uses the gann lines .
At the moment I read the database with the information and I create the chart .
The first question is this : how do I make scrolling and zooming on the Y axis ?
And the second: how can I add a line that has a certain angle ?
Thank you