Drawing on a zoomed tColorGridSeries
Posted: Wed May 16, 2012 12:57 pm
I am drawing on a tColorGridSeries using PolyLine routine. I as per your direction, I insert the data using the left and bottom axis and populate/show the top and right axis on the plot (see earlier post from me). The image and axis look fine when I zoom, pan or draw.
I call axis.CalcXPosValue and CalcYPosValue to determine location to draw and that works great when I have no zoom or pan. However, if I zoom in and make these calls, X and Y locations are in the same place instead of the zoomed location. When zoomed or panned, the axis is correct, but still draws in the un-zoomed location. Can you help?
Thanks in advance.
I call axis.CalcXPosValue and CalcYPosValue to determine location to draw and that works great when I have no zoom or pan. However, if I zoom in and make these calls, X and Y locations are in the same place instead of the zoomed location. When zoomed or panned, the axis is correct, but still draws in the un-zoomed location. Can you help?
Thanks in advance.