From bd232baeb8cf25c22eca7027639b7c00263d7c0a Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Mon, 15 Jan 2018 18:54:07 +0300 Subject: [PATCH] In progress... --- src/Chart.vala | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Chart.vala b/src/Chart.vala index 5258b55..3ae4f3c 100644 --- a/src/Chart.vala +++ b/src/Chart.vala @@ -318,7 +318,7 @@ namespace CairoChart { public CairoChart.Math math = new Math(); - protected virtual void draw_records_h (Series s, Float128 step, double max_rec_height, Float128 x_min) { + protected virtual void draw_horizontal_records (Series s, Float128 step, double max_rec_height, Float128 x_min) { // 5. Draw records, update cur_{x,y}_{min,max}. for (Float128 x = x_min, x_max = s.axis_x.zoom_max; math.point_belong (x, x_min, x_max); x += step) { if (joint_x) set_source_rgba(joint_axis_color); @@ -396,10 +396,6 @@ namespace CairoChart { } } - protected virtual void draw_horizontal_axis (int si, ref int nskip) { - - } - protected virtual void draw_horizontal_axes () { for (var si = series.length - 1, nskip = 0; si >=0; --si) { var s = series[si]; @@ -454,7 +450,7 @@ namespace CairoChart { s.axis_x.title.show(context); } - draw_records_h (s, step, max_rec_height, x_min); + draw_horizontal_records (s, step, max_rec_height, x_min); context.stroke ();