I think you'll have to experiment a little with all the modes to fully understand how they work.
The old mode 0 (zero) is the one that will allow you to do simple pixel-based calculations for your offsets but to works correctly it requires a refresh each time you change the scale. See this example:
Note that the function GfxSetCoordsMode can be called to switch back and forth from pixel -> bar/price mode and vice versa a number of times allowing to mix different modes in the same chart.
When co-ordinate mode 1 is selected (bar/price), co-ordinates can be fractional. For example if x is 2.5 it means half way between bar 2 and 3.
sorry forgot to include GfxSetCoordsMode( 1 ); i think the simplest one
using bar/price, i though it would have anchored to the price level + offset
but it did not . will experiment thanks