gtk / cairo-chart

SSH Git

To clone this repository:

git clone git@git.backbone.ws:gtk/cairo-chart.git

To push to this repository:

# Add a new remote
git remote add origin git@git.backbone.ws:gtk/cairo-chart.git

# Push the master branch to the newly added origin, and configure
# this remote and branch as the default:
git push -u origin master

# From now on you can push master to the "origin" remote with:
git push

Commit: #c0ca87a

Parent: #76fb9d8

In progress...

avatar Kolan Sh 7 days ago

Summary

177 177 delta_y /= plot_y_max - plot_y_min; delta_y *= - 1.0;
178 178 var rzxmin = rz_x_min, rzxmax = rz_x_max, rzymin = rz_y_min, rzymax = rz_y_max;
179 179 zoom_out();
180 //draw(); // TODO: optimize here
181 180 delta_x *= plot_x_max - plot_x_min;
182 181 delta_y *= plot_y_max - plot_y_min;
183 182 var xmin = plot_x_min + (plot_x_max - plot_x_min) * rzxmin;
192 192 if (ymax + delta_y > plot_y_max) delta_y = plot_y_max - ymax;
193 193
194 194 zoom_in (xmin + delta_x, ymin + delta_y, xmax + delta_x, ymax + delta_y);
195 //draw(); // TODO: optimize here
196 195 }
197 196
198 197 public double title_width { get; protected set; default = 0.0; }

Comments