From a3f83df5807cdc2240ce8d73c8050f8cd0cf77fb Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Sun, 21 Jan 2018 19:52:48 +0300 Subject: [PATCH] Fixes #151: Chart.title.font.size = 400 -> empty space in the bootom of the chart. --- src/Chart.vala | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Chart.vala b/src/Chart.vala index b77931a..b82ffa3 100644 --- a/src/Chart.vala +++ b/src/Chart.vala @@ -340,7 +340,6 @@ namespace CairoChart { protected virtual void draw_title () { var title_height = title.height + title.vspacing * 2; evarea.y0 += title_height; - evarea.height -= title_height; color = title.color; ctx.move_to (area.width/2 - title.width/2, title.height + title.vspacing); title.show();