Hi,
If I select on Chart in my TChartGalleryPanel, and then scroll(up) the y-axis will change and my serie will start to move up as well. Does anyone which property I should set to disable this function?
Best Regards,
Johan Ingemansson
Disable "Scroll"-function in TChartGalleryPanel
-
- Newbie
- Posts: 59
- Joined: Fri May 28, 2004 4:00 am
- Location: Sweden
Hi Johan,
you can use the following code to disable this :
you can use the following code to disable this :
Code: Select all
for i := 0 to ChartGalleryPanel.Charts.Count - 1 do
begin
ChartGalleryPanel.Charts.Items[i].AllowZoom := False;
ChartGalleryPanel.Charts.Items[i].AllowPanning := pmNone;
end;
TeeUseMouseWheel:= False;
Pep Jorge
http://support.steema.com
http://support.steema.com