Line Series Horizontal Zoom direction correctly zooms the X axis. The Y axis however only shows the top range.
Vertical Zoom direction : Y axis zooms correct. X axis seems to zoom to its 0 to about 20 % range. An up-left mouse drag to unzoom a chart freshly drawn using FillSampleValues results in the chart actualy being zoomed when nothing should happen. Repeated zuch unzoom mouse drags each result in successive unzoom operations.
This is for Ver 7.0, 7.01, 7.02
Zoom Direction problems
Hi Steve,
yes, you're correct, there's a known bug with the Zoom. In meantime the solution is to reset the axis scale in the OnZoom event :
if zoom.direction = horiz then
tchart1.axis.left.automatic = false
end if
yes, you're correct, there's a known bug with the Zoom. In meantime the solution is to reset the axis scale in the OnZoom event :
if zoom.direction = horiz then
tchart1.axis.left.automatic = false
end if
Pep Jorge
http://support.steema.com
http://support.steema.com
I think you meant
if chart1.zoom.direction = tzdHorizontal then
chart1.Axes.left.automatic := true;
for vertical :
if chart1.zoom.direction = tzdVertical then
chart1.Axes.bottom.automatic := true;
What about the problem with Up Left mouse dragging always performing a zoom (instead of UnZoom as should be the default behavior) when chart1.zoom.direction = tzdVertical ? I've tried setting chart1.zoom.UpLeftZooms := false; in code and it still always does a Zoom.
if chart1.zoom.direction = tzdHorizontal then
chart1.Axes.left.automatic := true;
for vertical :
if chart1.zoom.direction = tzdVertical then
chart1.Axes.bottom.automatic := true;
What about the problem with Up Left mouse dragging always performing a zoom (instead of UnZoom as should be the default behavior) when chart1.zoom.direction = tzdVertical ? I've tried setting chart1.zoom.UpLeftZooms := false; in code and it still always does a Zoom.