tags:

views:

10

answers:

0

Hi All,

I draw a histogram chart using NSView.To display the values of x and y axis i used NSTextStorage.

When i tried to display the values it is used display the values inside the rect that is in the histogram chart but i need to display it out side.

I tried to change the position of x and yaxis from (0,0) to (15,15) then it was able to display as i want but the problem here is the bars which are displayed are not accurate.

So, Please tell me the solution such that i can display the values of x and y axis outside the rect or please let me know if i can able to display it on window using NSTextStorage.