In progress...
This commit is contained in:
parent
b623e216dc
commit
b685e371dd
|
@ -269,7 +269,6 @@ namespace CairoChart {
|
||||||
d.x /= -plarea.width; d.y /= -plarea.height;
|
d.x /= -plarea.width; d.y /= -plarea.height;
|
||||||
|
|
||||||
var z0 = zoom;
|
var z0 = zoom;
|
||||||
//var x0 = zoom.x, x1 = zoom.x + zoom.width, y0 = zoom.y, y1 = zoom.y + zoom.height;
|
|
||||||
|
|
||||||
zoom_out();
|
zoom_out();
|
||||||
|
|
||||||
|
@ -293,8 +292,8 @@ namespace CairoChart {
|
||||||
zoom_in(Cairo.Rectangle() {
|
zoom_in(Cairo.Rectangle() {
|
||||||
x = xmin + d.x,
|
x = xmin + d.x,
|
||||||
y = ymin + d.y,
|
y = ymin + d.y,
|
||||||
width = xmax - xmin,
|
width = plarea.width * z0.width,
|
||||||
height = ymax - ymin
|
height = plarea.height * z0.height
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue