How can I know when the chart is being zoomed by dragging the mouse? The
"OnZoom" chart event doesn't seem to do it.
The help doc says that UndoZoom restores any runtime scrolling. However, in
my bar chart scrolling actions are not affected when
UndoZoom is issued. If UndoZoom does not apply in this case, what does
please? It seems to work if I reset the axes to "automatic". Is this the way?
Zooming and Scrolling
Hi,
having scrolled and zoomed the Chart.
(using TeeChart Pro v7.04). How can I reprouduce the problem ?
The OnZoom event is fired once you release the button of the mouse. In case you want to do something when the mouse button has been pushed and drag you will have to use the OnMouseDown and OnMouseMove events.How can I know when the chart is being zoomed by dragging the mouse? The "OnZoom" chart event doesn't seem to do it.
Strange, it works fine here simply using :The help doc says that UndoZoom restores any runtime scrolling. However, in my bar chart scrolling actions are not affected when
UndoZoom is issued. If UndoZoom does not apply in this case, what does
please? It seems to work if I reset the axes to "automatic". Is this the way?
Code: Select all
procedure TForm1.BitBtn1Click(Sender: TObject);
begin
Chart1.UndoZoom;
end;
(using TeeChart Pro v7.04). How can I reprouduce the problem ?
Pep Jorge
http://support.steema.com
http://support.steema.com
Zooming and Scrolling
I have an example. How can I send it to you?
By the way, 2 things that may or may not matter:
1) I do the scrolling with the Axis SetMinMax method
2) I have a custom axis.
By the way, 2 things that may or may not matter:
1) I do the scrolling with the Axis SetMinMax method
2) I have a custom axis.
Hi,
If you still having problems you can send me a sample app. directly to pep@steema.com
In this case, have you take a look on our FAQ : here ?By the way, 2 things that may or may not matter:
1) I do the scrolling with the Axis SetMinMax method
2) I have a custom axis.
If you still having problems you can send me a sample app. directly to pep@steema.com
Pep Jorge
http://support.steema.com
http://support.steema.com
Zooming and Scrolling
Please forgive me for being dense, but it seemed to me that chart.zoom/unzoom was working fine with custom axes ( I have Pro v 7.04 ). Am I seeing things?
My problem was with scrolling which, thanks to an old post I found in the newsgroup, I was able to "undo" by setting the axes to "automatic".
The example you directed me to in FAQ suggests that chart.zoom/unzoom don't work with custom axes. Also, the example adjusts the vertical axis only. Would one normally also adjust the horizontal axis?
My problem was with scrolling which, thanks to an old post I found in the newsgroup, I was able to "undo" by setting the axes to "automatic".
The example you directed me to in FAQ suggests that chart.zoom/unzoom don't work with custom axes. Also, the example adjusts the vertical axis only. Would one normally also adjust the horizontal axis?
Zooming and Scrolling
The example in FAQ, uses chart.izoom.x1, etc. Where is this izoom property defined?
Thank you
Thank you