Lines Matching refs:scale
199 w->strip_chart.scale = w->strip_chart.min_scale;
264 * point is off the graph, change the scale to make it fit.
270 w->strip_chart.max_value > w->strip_chart.scale) {
279 - (int)(w->core.height * value) / w->strip_chart.scale);
291 w->strip_chart.points, w->strip_chart.scale - 1,
303 * (scale - 1 lines for graph). If next is less than the current window width,
317 int scale = w->strip_chart.scale;
320 /* Compute the minimum scale required to graph the data, but don't go
322 if (w->strip_chart.interval != 0 || scale <= (int)w->strip_chart.max_value)
323 scale = ((int) (w->strip_chart.max_value)) + 1;
324 if (scale < w->strip_chart.min_scale)
325 scale = w->strip_chart.min_scale;
327 if (scale != w->strip_chart.scale) {
328 w->strip_chart.scale = scale;
353 w->strip_chart.scale);
361 for (i = 1; i < w->strip_chart.scale; i++) {
362 j = i * ((int)w->core.height / w->strip_chart.scale);
432 for (i = 1; i < w->strip_chart.scale; i++) {
433 j = i * ((int)w->core.height / w->strip_chart.scale);
498 if (w->strip_chart.scale <= 1) { /* no scale lines. */
504 size = sizeof(XPoint) * (w->strip_chart.scale - 1);
511 for (i = 1; i < w->strip_chart.scale; i++) {
513 points[i - 1].y = HEIGHT / w->strip_chart.scale;